By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,122 Members | 2,053 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,122 IT Pros & Developers. It's quick & easy.

how do I leave """ in the output

P: 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.
Nov 14 '08 #1
Share this Question
Share on Google+
11 Replies


P: n/a
Li**********@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?
Nov 14 '08 #2

P: n/a
Harlan Messinger wrote:
Li**********@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?
Why not? This is also an HTML issue: is there any other way to show an
apostrophe?
Nov 15 '08 #3

P: n/a
RW
RickMerrill schreef:
Harlan Messinger wrote:
>Li**********@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?
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
Nov 15 '08 #4

P: n/a
RW wrote:
RickMerrill schreef:
>Harlan Messinger wrote:
>>Li**********@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?
>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

Nov 15 '08 #5

P: n/a
RickMerrill wrote:
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/

Nov 15 '08 #6

P: n/a
Jukka K. Korpela wrote:
RickMerrill wrote:
>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 (')?
'

Nov 15 '08 #7

P: n/a
RickMerrill wrote:
>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/

Nov 15 '08 #8

P: n/a
Jukka K. Korpela wrote:
RickMerrill wrote:
>>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.
Nov 15 '08 #9

P: n/a
Jukka K. Korpela wrote:

Idiot.

ploink!
Nov 15 '08 #10

P: n/a
RickMerrill schreef:
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
Nov 17 '08 #11

P: n/a
Hendrik Maryns wrote:
RickMerrill schreef:
>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.
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.
Nov 17 '08 #12

This discussion thread is closed

Replies have been disabled for this discussion.