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

RE: Getting current XML filename with Xalan

Subject: RE: Getting current XML filename with Xalan
From: Xavier Defrang <xavier@xxxxxxxxxxxx>
Date: Thu, 19 Jul 2001 17:14:09 +0200 (CEST)
xsl get current xml filename
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@xxxxxxxxxxxx

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

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@xxxxxxxxxxxx
> http://www.liberate.com
> 
> 
> 
> -----Original Message-----
> From: Xavier Defrang [mailto:xavier@xxxxxxxxxxxx]
> Sent: Thursday, July 19, 2001 10:00 AM
> To: Mulburrytech's XSL Mailing List
> Subject:  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@xxxxxxxxxxxx
> 
> -------------------------------------------------
>  Perceval Technologies SA/NV  Tel: +32-2-6409194
>  Rue Tenbosch, 9              Fax: +32-2-6403154
>  B-1000 Brussels         http://www.perceval.net
>  BELGIUM                       info@xxxxxxxxxxxx
> -------------------------------------------------
> 
> 
> 
> 
>  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


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.