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

Using variable for file path in document()-function

Subject: Using variable for file path in document()-function
From: blackrock@xxxxxxx
Date: Mon, 22 Jan 2001 12:23:53 +0100 (MET)
path in document
Hi!

I've got a problem and could not solve it for my own. Does somebody got an
idea how to use a predefined path as a variable in the document()-function.

i.e:
Path to use: /afs/home/meyer/abc.xml

I normally use this: document("file:/afs/home/meyer/abc.xml")/nodes/nodes/*


But I want to be able to use something like this:
document($path)/nodes/nodes/*

by defining a variable with name "path". 


I tried several combinations, also using the select attribute of xsl:
variable. But always failed. What did I wrong??

Any suggestions greatly aoppreciated..
Thanks............

Yunus Karakaya

-- 
Sent through GMX FreeMail - http://www.gmx.net

 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.