xsl-list
[Top] [All Lists]

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

2010-08-24 11:22:10
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/

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>