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

Re: Dynamic Input file path on document method

Subject: Re: Dynamic Input file path on document method
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Thu, 3 Dec 2009 14:45:41 +0000
Re:  Dynamic Input file path on document method
document('comments.xml', /)


2009/12/3 Ramkumar <ramkumar@xxxxxxxxxxxxxxxxxx>:
> How to use as a second argument in my code? Please share your idea.
>
> -----Original Message-----
> From: Andrew Welch [mailto:andrew.j.welch@xxxxxxxxx]
> Sent: Thursday, December 03, 2009 7:57 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  Dynamic Input file path on document method
>
> 2009/12/3 Ramkumar <ramkumar@xxxxxxxxxxxxxxxxxx>:
>> Hi List,
>>
>> When using "document('comments.xml')", xslt looking default path for
>> comments.xml' on xslt path. Actually I have it in input file path.
>>
>> So how to implement the dynamic input path on this code. Please suggest
> your
>> idea.put
>
> You can supply a node from the input as second arg to the document()
> function, and then it will be resolved against that.
>
> http://www.w3.org/TR/xslt20/#function-document
>
>
>
>
> --
> Andrew Welch
> http://andrewjwelch.com
> Kernow: http://kernowforsaxon.sf.net/
>
>



--
Andrew Welch
http://andrewjwelch.com
Kernow: http://kernowforsaxon.sf.net/

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.