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

RE: multiple input document question

Subject: RE: multiple input document question
From: Tony Nassar <tnassar@xxxxxxxxxxxxxxxx>
Date: Wed, 16 Jul 2008 19:50:01 -0700
RE:  multiple input document question
Ah, I was hoping that $id represents the name of only one element. No, you
can't do this, unless you avail yourself of a Saxon extension that allows you
to evaluate an XPath expression at runtime:
http://www.saxonica.com/documentation/extensions/functions/evaluate.html

-----Original Message-----
From: Greg Fausak [mailto:lgfausak@xxxxxxxxx]
Sent: Wednesday, July 16, 2008 7:23 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re:  multiple input document question

I am trying to allow the first document to supply a path to the second
document.  For example, all @menu elements from the first document have
an attribute @id.  That could be /complete/xpath/here.  So the concatenation
I'm looking for in that example is document('f1.xml')/complete/xpath/here,
which
does work when the xpath is not a variable.

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.