This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: cross document id idref pair checks
- To: xsl-list at lists dot mulberrytech dot com
- Subject: RE: [xsl] cross document id idref pair checks
- From: DPawson at rnib dot org dot uk
- Date: Tue, 9 Jan 2001 14:59:51 -0000
- Reply-To: xsl-list at lists dot mulberrytech dot com
> <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