<xsl:template match="a/b">
<xsl:message> b found </xsl:message>
<xsl:apply-templates select="a/b/c"/>
Your b element does not have a child called a, so select="a/b/c" starting at
b will select nothing. You want select="c".
And you don't need match="a/b", match="b" will do fine. You only need
match="a/b" if you want to distinguish <b> elements that are children of an
<a> from those that aren't.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: Dunk, Michael (Mike) [mailto:mikedunk(_at_)fairisaac(_dot_)com]
Sent: 25 September 2007 11:12
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Built in templates and issues getting the XSLT
processor to navigate an input document
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--