Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: HOWTO: convert & in XML into "&" in HTML via XSL

From: "Jethro" <Jethro_uk@-------.--->
To: NULL
Date: 10/1/2004 8:44:00 AM
Hi Jonathon

this is the second of my queries you have helped with : I'm not worthy !

> Don't worry about that. The transformation will do it for you. Drag and
drop
> your XML into IE. It will show the correct characters for example.

My browser is still showing "&apos;" not ' .... looking at the resultant
HTML I have :

<P>This &amp;apos;Back to Back&amp;apos; Style House is in need of complete
modernisation throughout but does already benefit from part UPVC double
glazing and a lounge over 15&amp;apos; in length. Ideal investment
opportunity.</P>

which was derived from the XML :

<ShortDescription>This &amp;apos;Back to Back&amp;apos; Style House is in
need of complete modernisation throughout but does already benefit from part
UPVC double glazing and a lounge over 15&amp;apos; in length. Ideal
investment opportunity.</ShortDescription>

so, with my thinking cap on, the SQL query I am running is returning the
data already parsed this way. So further questions :

1) Can I stop the SQL doing this (I suspect not, as the whole *point* of XML
is to wrap up data).
2) Can I tell the XSL to change the "&amp;"  to &, which would then turn the
&amp;apos to &apos; which (given your previous comments) would render OK in
the browser.

hmmmmmmmmm





transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent