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

document() function not working in Saxon 7.8

Subject: document() function not working in Saxon 7.8
From: "Markus Gamperl" <markus.gamperl@xxxxxx>
Date: Mon, 9 Feb 2004 15:02:20 +0100 (MET)
saxon document function
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

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.