| 
 
Subject: [xsl] document() function not working in Saxon 7.8 From: "Markus Gamperl" <markus.gamperl@xxxxxx> Date: Mon, 9 Feb 2004 15:02:20 +0100 (MET)  | 
Hello!
The following template:
<xsl:template match="url">
  <xsl:copy-of select="document(.)/page/*"/>
   <url>
     <xsl:attribute name="page_id"><xsl:value-of
select="translate(@page_id,':','_')"/></xsl:attribute>
     <xsl:value-of select="."/>
     <xsl:apply-templates/>
   </url>
</xsl:template>
This works in Saxon 7.2, 7.4 BUT NOT in Saxon 7.8 - there i get the
following error:
"Invalid URI [./dir1/dir2/dir3/x.xml] - base [file:/X:/index.xml]"
Is there a way to get this template running in Saxon 7.8?
Thanks
Markus
-- 
GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++
 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
| Current Thread | 
|---|
  | 
| <- Previous | Index | Next -> | 
|---|---|---|
| RE: [xsl] converting flat xml data , Andreas L. Delmelle | Thread | RE: [xsl] document() function not w, Michael Kay | 
| Re: [xsl] outputting unknown amount, Jeni Tennison | Date | RE: [xsl] increment value - philoso, Govil, Anoop (Contra | 
| Month |