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

RE: Templates, variables, and tree fragments

Subject: RE: Templates, variables, and tree fragments
From: "Kimberly Hahn" <Kimberly.Hahn@xxxxxxxxxx>
Date: Mon, 26 Aug 2002 10:47:31 -0500
RE:  Templates
Thank you!

Works great now.


>Unfortunately, you can't index into a result tree fragment like you
>can into the *source tree*. To do that, you need to first turn it into
>a node set, and to do that you need to use an extension function. I
>don't know what processor you're using, but if you take a look at its
>documentation it should somewhere tell you how to use its
>"foo:node-set" extension function (where 'foo' is a prefix that's
>associated with a namespace that depends on the processor). Once
>you've declared the namespace for the extension function at the top of
>your stylesheet, you can use the foo:node-set() extension function for
>example to do:
>
>  <xsl:value-of select="foo:node-set($Market)/MD/@AskAvl" />
>
>Cheers,
>
>Jeni


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.