[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: [xslt v1.0] How to parse the string as node-set?

Subject: Re: [xslt v1.0] How to parse the string as node-set?
From: Mak Praveen <praveenml@xxxxxxxxx>
Date: Fri, 28 Sep 2012 16:32:30 -0400
Re: [xslt v1.0] How to parse the string as node-set?
Hi Liam,

Sadly, I need to use XSLT V1.0 - Our system supports only that version.

> Otherwise, either you have to use a vendor-specific extension, or
> extract the string as a string and then run XSLT or XPath on it
> separately.

How can run an XSLT on a string?

I like that idea, let me know if you have a sample.

-Thanks
Pmak


On Fri, Sep 28, 2012 at 4:26 PM, Liam R E Quin <liam@xxxxxx> wrote:
> On Fri, 2012-09-28 at 16:19 -0400, Mak Praveen wrote:
>
>> I am trying to read an XML present inside an XML tag.
>
> What you have in your example is a string that happens to be a quoted
> XML document.
>
> XSLT 3 and XPath 3 (and XQuery 3) will include a function to help you.
> Otherwise, either you have to use a vendor-specific extension, or
> extract the string as a string and then run XSLT or XPath on it
> separately.
>
> Another possibility is to use an XML parser written in XSLT; I think in
> fact there is at least one of those floating around.
>
> Liam
>
> --
> Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
> Pictures from old books: http://fromoldbooks.org/
> Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
> Co-author, 5th edition of "Beginning XML", Wrox, July 2012

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.