xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] Using variable for file path in document()-function


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

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
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor