[Home] [By Thread] [By Date] [Recent Entries]

Subject: Re: Treat CDATA section content as node
From: David Carlisle <davidc@xxxxxxxxx>
Date: Thu, 25 Feb 2010 17:55:51 +0000
sorry I think I misled you on saxon6, I think saxon:parse got added at saxon 7.

This works in saxon9

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:saxon="http://saxon.sf.net/">


<xsl:template match="/">

<xsl:copy-of select="saxon:parse('&lt;p>aaa&lt;br/>bbb&lt;/p>')"/>

</xsl:template>

</xsl:stylesheet>

________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________


Current Thread
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member