[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: Non-validating XSL processors


Subject: RE: Non-validating XSL processors
From: Matthew Bentley <matthew.bentley@xxxxxxxxxxxxxx>
Date: Mon, 25 Sep 2000 10:58:33 +1000

>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



Current Thread
Keywords
xml