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

Re: xsl: parsing through specific child nodes

Subject: Re: xsl: parsing through specific child nodes
From: "Mukul Gandhi" <gandhi.mukul@xxxxxxxxx>
Date: Mon, 8 Sep 2008 19:22:56 +0530
Re:  xsl: parsing through specific child nodes
On Mon, Sep 8, 2008 at 1:16 AM, Mohit Anchlia <mohitanchlia@xxxxxxxxx> wrote:
> 1. So would above template mentioned by Mukul also output node HIJ ?

I think, "outputting the node" is not the correct terminology. We can
copy the node to the result tree, or write something else to the
result tree, derived from the properties of the input nodes.

>       <xsl:when test="local-name()="HIJ" and . = 'YYYYYY'">

This statement will probably not compile, as I can see some misplaced quotes.


> 3. Currently I am using XSLT 1.0 and I am using JAXP which uses Xalan.
> How do I start using XSLT 2.0.

You need to download an XSLT 2.0 processor, like Saxon and using it as
described in the documentation.

> Would it just be matter of upping version in stylesheet node?

No. version="2.0" is just a hint to the processor. You need to supply
the XSLT 2.0 stylesheet to a XSLT 2.0 processor like Saxon.


-- 
Regards,
Mukul Gandhi

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.