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

Can I retrieve node-set from the document using a var

Subject: Can I retrieve node-set from the document using a variable
From: "Janusz Dalecki \(TYCO\)" <jdalecki@xxxxxxxxxxx>
Date: Thu, 26 May 2005 10:42:22 +1000
xml retrieve node
Hi,
I am wondering whether this is possible at all.
I have a variable initialized with a node set retrieved using document
function like below
<xsl:variable name="emps" select="document( './production.xml')"/>
I also have another variable let's call it "ref" that I return from the
template by using call-template function that return to me a path string
like this: "/path1/path2/path3".
I would like to use this string to retrieve a node-set from my variable that
keeps the document, something like this:
	$emps[$ref]
Is there any way to perform this or do this some other way?
Regards,
Janusz

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.