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

Re: xslt 2.0, use case wanted.

Subject: Re: xslt 2.0, use case wanted.
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 6 Apr 2004 10:06:07 +0100
use case templates
  I'm concerned about processing a source document, from, say,
  /part/book/chapter/sect1[3]/sect2[4]

I can't see any need to have any new syntax to specify such a starting
node (The facility that it is set outside the stylesheet was already in
XSLT1) IF you need this set in the stylesheet just go

<xsl:template match="/">
 <xsl:apply-templates select="/part/book/chapter/sect1[3]/sect2[4]"/>


which has the same effect in a much more obvious way.

However I _could_ see some use in being able to specify the named
starting template from within teh stylesheet. If you have something like
the "knights tour" stylesheet that computes teh same outut given any
input it is an advantage in xslt2 not to have to give any input at all,
but it would be even better if you could specify in a portable way that
no input was needed and that it should start at teh main named template.

David


-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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.