ensure you have <output mode="html"/> as first child of root <stylesheet>
node, otherwise, xsl makes a guess about the type of document you are
outputing, and usually guesses xml.
-----Original Message-----
From: Thorbjørn Ravn Andersen [mailto:TRA@xxxxxxxx]
Sent: Friday, 18 August 2000 12:56 a.m.
To: XSL-List (E-mail)
Subject: How to transform an & ?
I have tried several means of changing an & into &amp; (in order to
have the webserver in the end output & instead of &), but it appears
that both Xalan and Saxon ignores redefintions like
<!ENTITY amp '<![CDATA[&amp;]]>'>
in the DTD (which is overkill, but that was just to get started).
What is the correct way to change this?
--
Thorbjørn Ravn Andersen "...and...Tubular Bells!"
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|