[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Built in templates and issues getting the XSLT pr
<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@xxxxxxxxxxxxx] > Sent: 25 September 2007 11:12 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx > Subject: Built in templates and issues getting the XSLT > processor to navigate an input document
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|