This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: How to transform an & ?


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 &amp; ?


I have tried several means of changing an &amp; into &amp;amp; (in order to
have the webserver in the end output &amp; instead of &), but it appears
that both Xalan and Saxon ignores redefintions like 

	<!ENTITY amp '<![CDATA[&amp;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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]