[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: How to transform an & ?

Subject: RE: How to transform an & ?
From: Tom Power <TomP@xxxxxxxxxxxxxxxxxxxx>
Date: Fri, 18 Aug 2000 08:56:01 +1200
transform amp
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 &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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.