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. 11 1881 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?
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?
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
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
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/
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 (')?
'
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/
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.
Jukka K. Korpela wrote:
Idiot.
ploink!
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
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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: David Furey |
last post by:
Hi
I have an XML documnet and a XSLT document as shown below
THe XSLT document brings back a filtered docmument that has the VendorName
that starts with a particular sub-string
This works as...
|
by: DrTebi |
last post by:
Hello,
I have the following problem:
I used to "encode" my email address within links, in order to avoid (most)
email spiders. So I had a link like this:
<a...
|
by: barney |
last post by:
Hello,
I' m using .NET System.Xml.XmlDOcument.
When I do the following:
XmlDocument xml = new XmlDocument();
xml.Load("blah");
....
xml.Save("blub");
I've got the problem that the following...
|
by: martin |
last post by:
Hi,
I would be extremly grateful for some help on producing an xml fragemt.
The fragment that I wish to produce should look like this
<Addresses>
<Address>&qout;Somebody's Name"...
|
by: DC Gringo |
last post by:
I am having a bear of a time with setting a URL query string as a text value
in a dropdownlist and Server.URLEncode does not seem to do its job.
theFullLink = theLinkPrefix &...
|
by: Kirt |
last post by:
i have walked a directory and have written the foll xml document.
one of the folder had "&" character so i replaced it by "&"
#------------------test1.xml
<Directory>
<dirname>C:\Documents and...
|
by: Ragnar |
last post by:
Hi,
2 issues left with my tidy-work:
1) Tidy transforms a "&" in the source-xml into a "&" in the tidied
version. My XML-Importer cannot handle it
2) in a long <title>-string a wrap is...
|
by: Pappy |
last post by:
SHORT VERSION:
Python File B changes sys.stdout to a file so all 'prints' are written
to the file. Python file A launches python file B with os.popen("./B
2>&^1 >dev/null &"). Python B's output...
|
by: LionelAndJen |
last post by:
I have an XML file that has a free form 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...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
| |