[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: apply-templates, rule-based, and saxon - REPLY

Subject: Re: apply-templates, rule-based, and saxon - REPLY
From: "Thomas B. Passin" <tpassin@xxxxxxxxxxxx>
Date: Thu, 10 May 2001 18:24:26 -0400
Re:  apply-templates
[kfricovsky]

> But isn't this conflicting to the philosophy behind template rules,
> unless I am wrong in my thinking: only if you specify a template rule
> will that element be matched and displayed in the output? Or, do I need
> to match on every element in the source document?
>

There is a "default template" that matches any element and is used when
there is no other matching template.  So you get it (recursively) when you
call xsl:apply-templates.  I think that the idea was to give you some way to
view an xml file when you didn't know anything about it beforehand.

Cheers,

Tom P


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.