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]

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

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