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

Re: [XSLT 2] base-uri of input's dir

Subject: Re: [XSLT 2] base-uri of input's dir
From: Tobias Reif <tobiasreif@xxxxxxxxxxxxx>
Date: Sun, 15 Jun 2003 23:00:13 +0200
input dir
Michael Kay wrote:

> Could you start by stating the problem, not stating a solution that
> appears to work?

The solution I had was the problem (it wasn't as terse as it should be), although it worked (the problem was not getting it to work, but making it terse).

> I can't see why you have to fiddle about with the base URI of the
> current document before using it as an argument to resolve-uri().

I got the absolute file path of the input file plus the relative path to the referenced file. But that must have been when I used concat().

<xsl:template match="textdata[@fileref]">
  <xsl:variable name="file_abs"
  <xsl:copy-of select="unparsed-text($file_abs,'utf-8')"/>


Sorry for the confusion.



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Current Thread


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.
First Name
Last Name
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.