Subject: XT, HTML, and &nsbp; From: Ray Waldin <rwaldin@xxxxxxxxxxx> Date: Thu, 20 May 1999 20:00:48 -0700 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: XSLT wish list, Julian Reschke | Thread | Re: XT, HTML, and &nsbp;, David Carlisle |
Re: XSLT wish list, Paul Prescod | Date | How do I write processing instructi, Rahul Deo |
Month |