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: Non-validating XSL processors


>put 

><!ENTITY foo "<Entity name='foo'>">

>in the XML (ie redefine them) and then

><xsl:template match="Entity">
> <xsl:value-of  disable-output-escaping="yes" select="'&amp;"/>
> <xsl:value-of select="@name"/>
> <xsl:value-of  disable-output-escaping="yes" select=";"/>
></xsl:template>

>in your XSL.

>Dirty, isnt it.

Yeah - replacing the '&'s with '$!$' is actually easier -cheers anyway-
Mat
=====================================================================
WARNING -This e-mail, including any attachments, is for the 
personal use of the recipient(s) only.
Republication and re-dissemination, including posting to news 
groups or web pages, is strictly prohibited without the express
prior consent of
Thomson Legal & Regulatory Group Asia Pacific Ltd 
ACN 058 914 668
=====================================================================


 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]