Subject: RE: [xsl] Built in templates and issues getting the XSLT processor to navigate an input document From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx> Date: Tue, 25 Sep 2007 11:45:39 -0400 |
<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".
Cheers, Wendell
====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Built in templates and is, Michael Kay | Thread | Re: [xsl] Built in templates and is, George Cristian Bina |
Re: [xsl] merging xml's using XSLT,, Senthil Nathan | Date | Re: [xsl] merging xml's using XSLT,, Abel Braaksma |
Month |