This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Getting current XML filename with Xalan



How could I do so?  And how could I get this special value from within the
XSLT?  It doesn't look like I may define some sort of xsl:variable from
the command line of the Xalan XSLT processor...

Xavier Defrang
Perceval R&D Team
xavier@perceval.net

-------------------------------------------------
 Perceval Technologies SA/NV  Tel: +32-2-6409194
 Rue Tenbosch, 9              Fax: +32-2-6403154
 B-1000 Brussels         http://www.perceval.net
 BELGIUM                       info@perceval.net
-------------------------------------------------

On Thu, 19 Jul 2001, Crowers, Steve wrote:

> I don't believe so. However, a work-around would be to pass the source doc
> to the stylesheet via a parameter.
> 
> 
> Steve Crowers
> Software Engineer
> 
> 
> Liberate Technologies
> 2 Walnut Grove,
> Suite 200
> Horsham, PA 19044
> Phone: 215-773-9400 x 9514
> Fax: 215-773-9401
> scrowers@liberate.com
> http://www.liberate.com
> 
> 
> 
> -----Original Message-----
> From: Xavier Defrang [mailto:xavier@perceval.net]
> Sent: Thursday, July 19, 2001 10:00 AM
> To: Mulburrytech's XSL Mailing List
> Subject: [xsl] Getting current XML filename with Xalan
> 
> 
> 
> Hello,
> 
> I've read on some FAQ that there was no standard way in an XSLT stylesheet
> to get the name of the XML file being currently processed.  I've read that
> Saxon provides a proprietary system-id() function that returns the URI of
> the actual document... I'm using xalan-j2.0.1, is there any function that
> returns such information?
> 
> Regards,
> 
> Xavier Defrang
> Perceval R&D Team
> xavier@perceval.net
> 
> -------------------------------------------------
>  Perceval Technologies SA/NV  Tel: +32-2-6409194
>  Rue Tenbosch, 9              Fax: +32-2-6403154
>  B-1000 Brussels         http://www.perceval.net
>  BELGIUM                       info@perceval.net
> -------------------------------------------------
> 
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]