Re: [xsl] Reference elements in files listed using document( ) - Namespace problem or XPATH?

Subject: Re: [xsl] Reference elements in files listed using document( ) - Namespace problem or XPATH?
From: Joerg Pietschmann <j3322ptm@xxxxxxxx>
Date: Wed, 25 Dec 2002 21:49:10 +0100
On Tuesday 24 December 2002 23:30, you wrote:
> select="document(@filename)/rdf:Description"/>

Complementing Robert's answer, some debugging techniques:
 <p><xsl:value-of select="@filename"/></p>
tells you whether you selected the expected filename
 <p><xsl:value-of select="count(document(@filename))"/></p>
tells you whether the file was found (=1) or not (=0)
 <p><xsl:value-of select="name(document(@filename)/*)"/></p>
tells you what document element was in the file.
Etc.

J.Pietschmann

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread