Subject: document function issue... From: "Markus Gamperl" <markus.gamperl@xxxxxx> Date: Tue, 8 Jun 2004 09:12:52 +0200 (MEST) |
Hello! I'm still trying and trying to get the document function running with Saxon 7.9.1 I have opened a lot of threads in other lists and forums but the informations is unhelpfully... The following template: <xsl:template match="url"> <xsl:copy-of select="document(.)/page/*"/> </xsl:template> The URL has the following relative path value: ./dir1/dir2/dir3/file.xml The document function in the template above throws and invalid URI error. But the following works well: <xsl:copy-of select="document('./dir1/dir2/dir3/file.xml')/page/*"/> So i tried to circumvent Saxon and tried the following (also not working): <xsl:copy-of select="document(string(.))/page/*"/> or <xsl:variable name="help" select="."/> <xsl:copy-of select="document(concat('''',&help,''''))/page/*"/> Has anybody an idea what else i could try? Thanks very much! Markus -- +++ Jetzt WLAN-Router für alle DSL-Einsteiger und Wechsler +++ GMX DSL-Powertarife zudem 3 Monate gratis* http://www.gmx.net/dsl
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] fo:list-block problem, Markus Gamperl | Thread | RE: [xsl] document function issue.., Michael Kay |
Re: [xsl] fo:list-block problem, Markus Gamperl | Date | RE: [xsl] Comparing 2 XMLs for diff, Michael Kay |
Month |