| Subject: Re: [xsl] [XSLT 2] base-uri of input's dir From: Tobias Reif <tobiasreif@xxxxxxxxxxxxx> Date: Sun, 15 Jun 2003 23:00:13 +0200 | 
> Could you start by stating the problem, not stating a solution that > appears to work?
> 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().
<xsl:template match="textdata[@fileref]">
  <xsl:variable name="file_abs"
    select="resolve-uri(@fileref,base-uri(/))"/>
  <xsl:copy-of select="unparsed-text($file_abs,'utf-8')"/>
</xsl:template>-- http://www.pinkjuice.com/
| Current Thread | 
|---|
| 
 | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] [XSLT 2] base-uri of inpu, Michael Kay | Thread | [xsl] A Calendar Project..., Karl Stubsjoen | 
| [xsl] Re: A Calendar Project..., Dimitre Novatchev | Date | Re: [xsl] A Calendar Project..., Wendell Piez | 
| Month |