Re: [xsl] Printing CDATA from feed as HTML

Subject: Re: [xsl] Printing CDATA from feed as HTML
From: David Carlisle <davidc@xxxxxxxxx>
Date: Fri, 13 Jun 2008 09:36:16 +0100
>  I think a parse() function almost made it into 2.0...

it did.

<xsl:function name="x:parse" as="document-node()">
  <xsl:param name="s" as="xs:string"/>
  <xsl:sequence select="doc(concat('data:text/xml,'$s))"/>
</xsl:function>


________________________________________________________________________
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