xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] matching question


Subject: RE: [xsl] matching question
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 6 Aug 2008 12:30:23 +0100

> If my input is like
> 
> <a>
>    <b/>
> </a>
> 
> the above template matches only <a> although <b> is also a 
> node that is "children of some parent". What's the reason for that?
> 

It's exactly what I said: if the template that matches <a> doesn't call
xsl:apply-templates selecting the children of <a>, then the children of <a>
will not be processed - the system will never look for a matching template
rule.

Michael Kay
http://www.saxonica.com/


Current Thread
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor