xsl-list
[Top] [All Lists]

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

2002-12-25 13:49:10
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



<Prev in Thread] Current Thread [Next in Thread>