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

Re: Get path of xsl template

Subject: Re: Get path of xsl template
From: "Mark Williams" <mark@xxxxxxxxxxx>
Date: Tue, 20 Jan 2004 11:58:34 -0000
fop basedir
Thanks again Jarno.

I'm a bit clearer, but I've come up with another solution, which will
probably work and that's just to set the fop basedir lower down the chain
and work with relative urls from there.

Thanks anyway.

Mark


----- Original Message -----
From: <Jarno.Elovirta@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Tuesday, January 20, 2004 11:13 AM
Subject: RE:  Get path of xsl template


Hi,

> Please excuse my terminology, I'm not very familiar with xsl.
>
> I'm a little puzzled.  How can the XSL processor not know
> where the template
> is yet it can resolve relative urls?

The template has a base URL, but that information is not accessible from
inside the XSLT stylesheet.

> Surely, there must be some function that states the path of
> the xsl template
> is blah?

Nope. There might be extension functions, but none in the XPath rec. When
you call the stylesheet for processing, pass the path to the stylesheet
using xsl:param. Just like if you wanted to have the current datetime
available in the stylesheet.

Cheers,

Jarno - Assemblage 23: King Of Insects (Red Sparrow Remix - 140 BPM)

 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.