This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: How to transform an & ?
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: How to transform an & ?
- From: Tom Power <TomP at AdvantageGroup dot co dot nz>
- Date: Fri, 18 Aug 2000 08:56:01 +1200
- Reply-To: xsl-list at mulberrytech dot com
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@stibo.dk]
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