RE: [xsl] cross document id idref pair checks

Subject: RE: [xsl] cross document id idref pair checks
From: DPawson@xxxxxxxxxxx
Date: Tue, 9 Jan 2001 14:59:51 -0000
> <xsl:template match="par/a">
> <xsl:variable name="x" select="substring-after(@href,'#')"/>
> <xsl:for-each select="document(substring-before(@href,'#'))">
>   <xsl:if test="id($x)/parent::par">
>     yes
> 

yes, thats it. 

id()/axis ! Thats a first for me!

Thanks David.

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


Current Thread