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

Re: breadcrumbs

Subject: Re: breadcrumbs
From: tcn@xxxxxxxxxxxxx (Trevor Nash)
Date: Wed, 11 Jul 2001 09:19:56 GMT
xsl breadcrumbs
On Tue, 10 Jul 2001 10:15:00 -0400, you wrote:

>Is there a way to leave "bread crumbs" of the directory tree?  I can't find a universal function to do this.  So far all I've seen is stuff in SAXON but is there any other way?
> 
>I want it to automatically display in the upper left (or wherever)
> 
>resources/universal/douglas_adams/towels/
> 
>when it is that far into the directory structure above the domain name.  thanks.
> 
>eric
>

Eat sandwiches at your desk??  Why do you call these "bread crumbs"?

If you mean can you get at the name of the input XML file, then the
answer is no, apart from extension functions such as saxon:SystemId()
which you seem to have found already.
The other approach is to pass the filename as a parameter to the
transformation.  How you do this depends on the processor and whether
its being called from a command line.  Inside the style sheet you just
need a top level xsl:param element.

Regards,
Trevor Nash
--
Traditional training & distance learning,
Consultancy by email

Melvaig Software Engineering Limited
voice:     +44 (0) 1445 771 271 
email:     tcn@xxxxxxxxxxxxx

 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.