This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: cross document id idref pair checks


> <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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]