[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
On 24/08/2010 17:14, Fabre Lambeau wrote:
If your processor has any kind of extension mechanism to any language that has an XML parser, I'd use that. If it doesn't you could use
http://code.google.com/p/web-xslt/source/browse/trunk/htmlparse
which despite its name does attempt to be an namespace aware xml parser written in pure xslt2 with no extensions, although because it also tries to parse html it is far more lenient than the XML spec would allow.
David
This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. ________________________________________________________________________
Re: [xsl] Parsing a string as an XML nodeset
Subject: Re: [xsl] Parsing a string as an XML nodeset From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 24 Aug 2010 17:23:11 +0100 |
On 24/08/2010 17:14, Fabre Lambeau wrote:
Hi,
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.
If your processor has any kind of extension mechanism to any language that has an XML parser, I'd use that. If it doesn't you could use
http://code.google.com/p/web-xslt/source/browse/trunk/htmlparse
which despite its name does attempt to be an namespace aware xml parser written in pure xslt2 with no extensions, although because it also tries to parse html it is far more lenient than the XML spec would allow.
David
________________________________________________________________________ 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Parsing a string as an XM, Martin Honnen | Thread | Re: [xsl] Parsing a string as an XM, Fabre Lambeau |
Re: [xsl] Parsing a string as an XM, Martin Honnen | Date | Re: Fw: [xsl] Question on duplicate, Hermann Stamm-Wilbra |
Month |