Connecting Tech Pros Worldwide Forums | Help | Site Map

how do I leave """ in the output

LionelAndJen@gmail.com
Guest
 
Posts: n/a
#1: Nov 14 '08
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.

Harlan Messinger
Guest
 
Posts: n/a
#2: Nov 14 '08

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?
RickMerrill
Guest
 
Posts: n/a
#3: Nov 15 '08

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?
RW
Guest
 
Posts: n/a
#4: Nov 15 '08

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
RickMerrill
Guest
 
Posts: n/a
#5: Nov 15 '08

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

Jukka K. Korpela
Guest
 
Posts: n/a
#6: Nov 15 '08

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/

RickMerrill
Guest
 
Posts: n/a
#7: Nov 15 '08

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 (')?
>
'

Jukka K. Korpela
Guest
 
Posts: n/a
#8: Nov 15 '08

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/

RickMerrill
Guest
 
Posts: n/a
#9: Nov 15 '08

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.


RickMerrill
Guest
 
Posts: n/a
#10: Nov 15 '08

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


Jukka K. Korpela wrote:

Idiot.

ploink!
Hendrik Maryns
Guest
 
Posts: n/a
#11: Nov 17 '08

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
RickMerrill
Guest
 
Posts: n/a
#12: Nov 17 '08

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