[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

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
ryan daigle
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.