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

Re: Name of current XML doc...

Subject: Re: Name of current XML doc...
From: Niclas Hedhman <niclas@xxxxxxxxxxx>
Date: Tue, 25 May 2004 16:29:15 +0800
niclas hedhman
On Tuesday 25 May 2004 16:16, Jarno.Elovirta@xxxxxxxxx wrote:
> Hi,
>
> > Is possible to get hold of the path+name of the XML document
> > that is currently
> > being processed??
>
> By passing the path and the name as a parameter, or by using an extension.
>
> > I am using Ant's <xslt> task so I can't pass in a parameter easily...
>
> I've always though using the param element was fairly easy, what exactly is
> the problem you have with it?

That <xslt> is given a huge fileset in a big directory structure (>500 files) 
and parameters can only be passed 'per call' (AFAIK), which means I would 
need 500 <xslt> invocations.

So you are basically saying I am out of luck... (Extensions are not in 
question).

Then I will see if it is possible to extract the information through some 
other means (there is a generated aggregated navigation.xml for each 
directory, which may contain the info needed, or be modified to contain it).


Cheers
Niclas
-- 
   +------//-------------------+
  / http://www.bali.ac        /
 / http://niclas.hedhman.org / 
+------//-------------------+

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.