[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] XT, HTML, and &nsbp;
Hi all, I'm using XT (Version 19990514) with Sun's Project X (Technology Release 1) to output HTML. How can I print a literal " " to the output. I've noticed that XT expands character refences in the SCRIPT element's contents. Given any well-formed source tree: <xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0" xmlns="http://www.w3.org/TR/REC-html40" result-ns=""> <xsl:template match="/"> <HTML> <HEAD> <SCRIPT LANGUAGE="JAVASCRIPT"> x = "this & that"; &nbsp; </SCRIPT> </HEAD> <BODY> this & that &nbsp; </BODY> </HTML> </xsl:template> </xsl:stylesheet> produces: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <SCRIPT LANGUAGE="JAVASCRIPT"> x = "this & that"; </SCRIPT> </HEAD> <BODY> this & that &nbsp; </BODY> </HTML> Is there some way to do the same for the BODY element or other HTML elements? Thanks! -Ray XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|