[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: apply-templates, rule-based, and saxon - REPLY
[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
|
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
|