[xsl] Name of files being processed
Subject: [xsl] Name of files being processed|
From: xptm <xptm@xxxxxxx>
Date: Thu, 29 Jul 2004 13:17:13 +0100
I'm making a transformation from Java like this:
BufferedReader br = new BufferedReader(new InputStreamReader(new
PrintWriter out = new PrintWriter(new FileOutputStream("OUTPUT.xml"));
TransformerFactory xformFactory = TransformerFactory.newInstance();
Source xsl = new StreamSource("Testes12.xsl");
Transformer stylesheet = xformFactory.newTransformer(xsl);
Source request = new StreamSource(br);
Result response = new StreamResult(out);
in other words, i'm transforming the file named INPUT into the file
named OUTPUT. This names can, of course, be variable.
How can i, inside my XSLT, know the names of the files been processed? I
want to know this because i want to use document() with a file name
related with the one been processed.
In my Java example maybe i can just use
but that's not a ideal solution for me.