Re: [xsl] Inspecting node set retrieved by document(URI) function

Subject: Re: [xsl] Inspecting node set retrieved by document(URI) function
From: Jörg Heinicke <joerg.heinicke@xxxxxx>
Date: Sun, 17 Mar 2002 22:11:14 +0100
>    <xsl:apply-template select="document(@url)"/>
> 
> I wish to inspect that node set, to see if the top
> level element has name "a". How can this be done?

<xsl:if test="document(@url)/a">

or test="name(document(@url)/*) = 'a'"

or test="document(@url)/*[self::a]"

Regards,

Joerg


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


Current Thread