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

Retaining '&' after transforming XML to HTML via XSL

Subject: Retaining '&' after transforming XML to HTML via XSL
From: Dweed@xxxxxxxxxxxx
Date: Mon, 26 Jun 2000 13:06:59 -0400
transforming xsl ampersand
I would like to retain an ampersand ('&') in an HTML stream after a XSL
transformation is performed on an XML file.  The MSXML dll is used to
transform the XML.  The ampersand is contained in the xsl source file.  When
using the & or & entities, the result is & in the HTML stream,
not the '&'.  The & is unacceptable as the microbrowser interpreting the
resultant HTML will not recognize the entity. Use of an inline DTD to define
an entity doesn't seem to work in the MSXML parser.  The version of the
parser in use also does not support <xsl:text> or <xsl:copy-of>.  

Several months ago someone posted a clever scheme to "escape" the '&'
construct, which did indeed preserve the desired character.  However, I have
unfortunately deleted the message and cannot locate it in the archive.  
Thanks for any assistance.
 


 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.