This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: template match question
- From: David Carlisle <davidc at nag dot co dot uk>
- To: xsl-list at lists dot mulberrytech dot com
- Date: Fri, 2 Aug 2002 17:00:19 +0100
- Subject: Re: [xsl] template match question
- References: <3D4AA99A.8070309@ufl.edu>
- Reply-to: xsl-list at lists dot mulberrytech dot com
<xsl:template match="b[//c]"/>
That matches a b if there is a c anywhere in the document.
//c is an absolute path.
<xsl:template match="b[.//c]"/>
matches a b that has a c descendent.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list