Re: [xsl] Parsing a string as an XML nodeset

Subject: Re: [xsl] Parsing a string as an XML nodeset
From: Martin Honnen <Martin.Honnen@xxxxxx>
Date: Tue, 24 Aug 2010 18:21:54 +0200
Fabre Lambeau wrote:

When not using Saxon, is there any way to parse an XML string into an
XML nodeset, in the same way as the saxon:parse() extension function
does?
I'm forced to use AltovaXML, and have to parse some XML that's been
CDATA encoded into another XML file, and would like to find a way of
doing it within an XSLT process.

http://code.google.com/p/web-xslt/source/browse/trunk/htmlparse/htmlparse.xsl is called htmlparse but I think you can use it for parsing XML if you call it with false() as the third parameter.


--

	Martin Honnen
	http://msmvps.com/blogs/martin_honnen/

Current Thread