how do I leave """ in the output | | |
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. | | | | 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? | | | | 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? | | | | 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 | | | | 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 | | | | 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/ | | | | 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 (')?
>
' | | | | 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/ | | | | 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. | | | | re: how do I leave """ in the output
Jukka K. Korpela wrote:
Idiot.
ploink! | | | | 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 | | | | 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. |  | | | | /bytes/about
We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights.
Get the best answers to your questions from over 226,366 network members.
|