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

Re: seriously trivial question about processing the ro

Subject: Re: seriously trivial question about processing the root element
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 19 Mar 2003 22:43:34 GMT
sample of trivial question
>   at least in the above example, it seems to be little
> more than aesthetics.  is this accurate?

as always in xslt, it depends on what the other templates are.
Usually it's just a matter of style, I usually use a match of /
on a template that's generating the top level output as it's
just easier to find later. but it can make a difference
if there are for example templates copying comments from the input to
the result and you don't want top level comments copied matching on /
and directing apply templates to the element node and ignoring top level
comments and pis is one way to achieve that.

David

 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.