Connecting Tech Pros Worldwide Help | Site Map

how do I leave """ in the output

  #1  
Old November 14th, 2008, 10:45 PM
LionelAndJen@gmail.com
Guest
 
Posts: n/a
I have an XML file that has a comment field in which the data
provider, very kindly, already uses """ when writing "doesn't", I
have doesn't .

it's PERFECT, because that xml is then fed to an XSLT sheet that
transforms this text into a sql insert statement. UNFORTUNATELY, XSLT
translates doesn't into doesn't in the output . How do I tell
my XSLT to leave well-enough alone ? I know it has to be easy, but I
just don't get it right now.

Thanks a lot.
  #2  
Old November 14th, 2008, 11:25 PM
Harlan Messinger
Guest
 
Posts: n/a

re: how do I leave """ in the output


LionelAndJen@gmail.com wrote:
Quote:
I have an XML file that has a comment field in which the data
provider, very kindly, already uses """ when writing "doesn't", I
have doesn't .
>
it's PERFECT, because that xml is then fed to an XSLT sheet that
transforms this text into a sql insert statement. UNFORTUNATELY, XSLT
translates doesn't into doesn't in the output . How do I tell
my XSLT to leave well-enough alone ? I know it has to be easy, but I
just don't get it right now.
To ask for help with a detail of XSLT processing of XML data for (though
this is incidental) the purpose of creating SQL statements, do you
really think a newsgroup concerned with authoring HTML for the web is
the place you're most likely to get it?
  #3  
Old November 15th, 2008, 01:15 PM
RickMerrill
Guest
 
Posts: n/a

re: how do I leave """ in the output


Harlan Messinger wrote:
Quote:
LionelAndJen@gmail.com wrote:
Quote:
>I have an XML file that has a comment field in which the data
>provider, very kindly, already uses """ when writing "doesn't", I
>have doesn't .
>>
>it's PERFECT, because that xml is then fed to an XSLT sheet that
>transforms this text into a sql insert statement. UNFORTUNATELY, XSLT
>translates doesn't into doesn't in the output . How do I tell
>my XSLT to leave well-enough alone ? I know it has to be easy, but I
>just don't get it right now.
>
To ask for help with a detail of XSLT processing of XML data for (though
this is incidental) the purpose of creating SQL statements, do you
really think a newsgroup concerned with authoring HTML for the web is
the place you're most likely to get it?
Why not? This is also an HTML issue: is there any other way to show an
apostrophe?
  #4  
Old November 15th, 2008, 02:05 PM
RW
Guest
 
Posts: n/a

re: how do I leave """ in the output


RickMerrill schreef:
Quote:
Harlan Messinger wrote:
Quote:
>LionelAndJen@gmail.com wrote:
Quote:
>>I have an XML file that has a comment field in which the data
>>provider, very kindly, already uses """ when writing "doesn't", I
>>have doesn't .
>>>
>>it's PERFECT, because that xml is then fed to an XSLT sheet that
>>transforms this text into a sql insert statement. UNFORTUNATELY, XSLT
>>translates doesn't into doesn't in the output . How do I tell
>>my XSLT to leave well-enough alone ? I know it has to be easy, but I
>>just don't get it right now.
>>
>To ask for help with a detail of XSLT processing of XML data for
>(though this is incidental) the purpose of creating SQL statements, do
>you really think a newsgroup concerned with authoring HTML for the web
>is the place you're most likely to get it?
>
Quote:
Why not? This is also an HTML issue: is there any other way to show an
apostrophe?
Of course there is,
I could use a ballpen and put one on paper.

You think a question about XSLT processing belongs in a literature
newsgroup?

--
rob
  #5  
Old November 15th, 2008, 02:45 PM
RickMerrill
Guest
 
Posts: n/a

re: how do I leave """ in the output


RW wrote:
Quote:
RickMerrill schreef:
Quote:
>Harlan Messinger wrote:
Quote:
>>LionelAndJen@gmail.com wrote:
>>>I have an XML file that has a comment field in which the data
>>>provider, very kindly, already uses """ when writing "doesn't", I
>>>have doesn't .
>>>>
>>>it's PERFECT, because that xml is then fed to an XSLT sheet that
>>>transforms this text into a sql insert statement. UNFORTUNATELY, XSLT
>>>translates doesn't into doesn't in the output . How do I tell
>>>my XSLT to leave well-enough alone ? I know it has to be easy, but I
>>>just don't get it right now.
>>>
>>To ask for help with a detail of XSLT processing of XML data for
>>(though this is incidental) the purpose of creating SQL statements,
>>do you really think a newsgroup concerned with authoring HTML for the
>>web is the place you're most likely to get it?
>>
>
Quote:
>Why not? This is also an HTML issue: is there any other way to show an
>apostrophe?
>
Of course there is,
I could use a ballpen and put one on paper.
>
You think a question about XSLT processing belongs in a literature
newsgroup?
>
Ah, I imagined this group was more about HTML than about Authoring - if
that is what you mean by "literature."

I have recently been 'bit' by the apostrophe problem, so I was
interested it that issue. The OP's problem is more complex, but then
my problem also involves getting the apostrophe through javascript from
C++ and thence into HTML. www.batco.tv

  #6  
Old November 15th, 2008, 06:05 PM
Jukka K. Korpela
Guest
 
Posts: n/a

re: how do I leave """ in the output


RickMerrill wrote:
Quote:
This is also an HTML issue: is there any other way to show an
apostrophe?
Then why didn't you ask _that_ question? You're supposed to ask you HTML
questions here and other questions elsewhere.

There is a huge number to represent an apostrophe in HTML. I have sent a
detailed description of them to the e-mail address you have announced. It
was so boring that I deleted the copy of the message from my mail box, so if
you didn't get it for some odd reason, too bad.

If you seriously want to know about the ways to write "don't" in HTML, the
first question should be: which character should I use for the apostrophe,
instead of the banal computerized misrepresentation known as ASCII
apostrophe (')?

--
Yucca, http://www.cs.tut.fi/~jkorpela/

  #7  
Old November 15th, 2008, 07:45 PM
RickMerrill
Guest
 
Posts: n/a

re: how do I leave """ in the output


Jukka K. Korpela wrote:
Quote:
RickMerrill wrote:
>
Quote:
>This is also an HTML issue: is there any other way to show an
>apostrophe?
>
Then why didn't you ask _that_ question? You're supposed to ask you HTML
questions here and other questions elsewhere.
>
There is a huge number to represent an apostrophe in HTML. I have sent a
detailed description of them to the e-mail address you have announced.
It was so boring that I deleted the copy of the message from my mail
box, so if you didn't get it for some odd reason, too bad.
>
If you seriously want to know about the ways to write "don't" in HTML,
the first question should be: which character should I use for the
apostrophe, instead of the banal computerized misrepresentation known as
ASCII apostrophe (')?
>
'

  #8  
Old November 15th, 2008, 08:15 PM
Jukka K. Korpela
Guest
 
Posts: n/a

re: how do I leave """ in the output


RickMerrill wrote:
Quote:
Quote:
>If you seriously want to know about the ways to write "don't" in
>HTML, the first question should be: which character should I use for
>the apostrophe, instead of the banal computerized misrepresentation
>known as ASCII apostrophe (')?
>>
>
'
So you apparently did not learn anything from the e-mail I sent to you. Too
bad.

--
Yucca, http://www.cs.tut.fi/~jkorpela/

  #9  
Old November 15th, 2008, 09:25 PM
RickMerrill
Guest
 
Posts: n/a

re: how do I leave """ in the output


Jukka K. Korpela wrote:
Quote:
RickMerrill wrote:
>
Quote:
Quote:
>>If you seriously want to know about the ways to write "don't" in
>>HTML, the first question should be: which character should I use for
>>the apostrophe, instead of the banal computerized misrepresentation
>>known as ASCII apostrophe (')?
>>>
>>
>'
>
So you apparently did not learn anything from the e-mail I sent to you.
Too bad.
>
Sorry I didn't get it. Perhaps you didn't clip out the "nospam."
int he email domain. Pls try again.


  #10  
Old November 15th, 2008, 09:55 PM
RickMerrill
Guest
 
Posts: n/a

re: how do I leave """ in the output


Jukka K. Korpela wrote:

Idiot.

ploink!
  #11  
Old November 17th, 2008, 11:55 AM
Hendrik Maryns
Guest
 
Posts: n/a

re: how do I leave """ in the output


RickMerrill schreef:
Quote:
Jukka K. Korpela wrote:
>
Idiot.
>
ploink!
You’re not doing yourself a favor with this. It takes some nerve to get
used to Jukka’s style, but his comments are valuable.

I’ll spoil his hints by giving you the answer in clear text: do not use
', use a proper quote or apostrophe sign. Have a look at Unicode: ‘, ’,
“, ” are the symbols you want. No trouble with rewrite stuff and
escaping at all.

H.
--
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html
  #12  
Old November 17th, 2008, 03:45 PM
RickMerrill
Guest
 
Posts: n/a

re: how do I leave """ in the output


Hendrik Maryns wrote:
Quote:
RickMerrill schreef:
Quote:
>Jukka K. Korpela wrote:
>>
>Idiot.
>>
>ploink!
>
You’re not doing yourself a favor with this. It takes some nerve to get
used to Jukka’s style, but his comments are valuable.
>
The behavior of responding by email and concealing hints can be
characterized as trollish. But I'll consider your endorsement.
Quote:
I’ll spoil his hints by giving you the answer in clear text: do not use
', use a proper quote or apostrophe sign. Have a look at Unicode: ‘, ’,
“, ” are the symbols you want. No trouble with rewrite stuff and
escaping at all.
>
H.
The choice of proper quote or apostrophe sign is not mine: j-random
users may type any old thing, so I have to be prepared to convert.


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Leave " alone in transformation LionelAndJen@gmail.com answers 3 November 21st, 2008 09:05 AM
Leave " alone in transformation LionelAndJen@gmail.com answers 0 November 14th, 2008 10:55 PM
"error_reporting" setting not being recognized in my php.ini file laredotornado@zipmail.com answers 1 October 3rd, 2006 03:25 PM
Can't make this page work scottyman@comcast.net answers 6 March 9th, 2006 04:25 AM