[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] document() function not working in Saxon 7.8
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|