|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Retaining '&' after transforming XML to HTML via XSL
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








