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

Re: xml:base, resolve-uri and imported xslt files: how

Subject: Re: xml:base, resolve-uri and imported xslt files: how to get the importing base url from imported xslt
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Mon, 09 Oct 2006 17:30:24 +0200
Re:  xml:base
Andrew Welch wrote:
Then in specific.xslt you can override $pathToConfig with whatever you want, eg:


Thanks to you all for the many contributions! I've resolved my issue by both de-generalizing a bit, requiring that the specific XSLT files (they obey to a certain predefined structure) must include a global param with value as follows:


<xsl:param name="resource-location-url" as="xs:string" select="resolve-uri('')" />

This, as a matter of fact, resolves my problems, even though I cannot place this line outside the specialized documents into the generalized ones. In the imported files, I do basically the same, but luckily, the import precedence takes over and chooses the highest parameter.

Still, I wonder pretty much how I could utilize xml:base with, for instance, saxon, or any other xslt 2.0 aware processor. As I understand now, and from Michael's books, this should indeed be utilized by the processor.

Thanks again all of you,

Cheers,
-- Abel Braaksma
  http://www.nuntia.com

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.