|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: matching question
Garvin Riensche wrote:
Thanks for your answer. So, if my stylesheet only consists of one template without an apply-templates: The built-in template for the root nodes looks like this <xsl:template match="/"> <xsl:apply-templates/> </xsl:template> see http://www.w3.org/TR/xslt#built-in-rule so it processes all child nodes (which in your sample document is the 'a' element). The a matching template for the 'a' element is used which is your template above where you omitted the template body. If that does <xsl:apply-templates/> respectively <xsl:apply-templates select="node()"/> or <xsl:apply-templates select="*"/> then the 'b' element is processed too. -- Martin Honnen http://JavaScript.FAQTs.com/
|
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
|

Cart








