RE: a special char question

Subject: RE: a special char question
From: "Ryan Daigle" <rwdaigle@xxxxxxxxx>
Date: Fri, 23 Jun 2000 09:49:04 -0400
I had a problem similar to this once when I was using "&lt;" in place of "<"
in some JavaScript in a stylesheet.  No matter what I tried it didn't want
to render it correctly, it would just leave it as "&lt;".  I had another
stylesheet that used the same syntax but made the correct transformation, so
it was very frustrating.  It turns out the only difference between the two
stylesheets was the one that worked referenced the root element of the XML
document as the first template.  The other stylesheet used a lower level
element of the XML document as the first template.  This seemed very strange
to me but I've tested it and that's the only difference that I could
discern.  So make sure that your stylesheet uses the root element of the XML
document as the first template.  This appears to affect how special
characters are treated.  I hope this works for you.

Ryan Daigle

P.S. I was using the Lotus processor


> HTML code (outputed from processor) looks like:
>
> <TR bgcolor="#008000">
> 	<TD><FONT SIZE="2"><b>Fri Jun 23 11:56:46 GMT+02:00
> 2000</b></FONT></TD>
> 	<TD><FONT SIZE="2"><b>&lt;6162</b></FONT></TD>
> </TR>

What XSLT processor are you using? It appears to be buggy.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread