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

RE: Getting Entity File Names

Subject: RE: Getting Entity File Names
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 22 Oct 2003 22:23:29 +0100
grab url parameter xsl
XSLT 2.0 has a base-uri() function which gives you this information;
there is an extension function in Saxon 6.5.x that gives it if you're on
1.0.

Michael Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Betty Harvey
> Sent: 22 October 2003 18:39
> To: 'xsl-list@xxxxxxxxxxxxxxxxxxxxxx'
> Subject:  Getting Entity File Names
> 
> 
> 
> I want to grab the filenames of where certain elements are 
> found. Is there anyway to do this with XSLT?  For example, 
> below is a sample document:
> 
> <!DOCTYPE foo [
> <!ENTITY foo1 SYSTEM "foo1.xml">
> <!ENTITY foo2 SYSTEM "foo2.xml">
>    ...
> <!ENTITY foo900 SYSTEM "foo2.xml">
> ]>
> <foo>
> &foo1;
> &foo2;
>  ...
> $foo900;
> </foo>
> 
> I would the output to say something like:
> 
> <p>Found "myfoo" in file foo43</p>
> 
> Betty
> 
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
> Betty Harvey, XML Professional       | Phone: 410-787-9200 FAX: 9830 
> Electronic Commerce Connection, Inc. |        
> harvey@xxxxxxxxxx                    | Washington,DC XML Users Grp
> URL:  http://www.eccnet.com          | http://www.eccnet.com/xmlug
> /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
>   
> 
> 
>  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.