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

Re: unparsed text

Subject: Re: unparsed text
From: DaveP <davep@xxxxxxxxxxxxx>
Date: Fri, 16 Nov 2012 15:21:48 +0000
Re:  unparsed text
On 11/16/2012 11:45 AM, Andrew Welch wrote:
The other thing worth mentioning is the 'default initial template' in
3.0.... what was the end result there?


3.0 will provide a default initial template, which you get by naming the
template xsl:initial-template. However, since the XSLT spec doesn't define
APIs, the exact effect depends on the API design. On the Saxon command line
I'll probably change it so -it without an option value means
-it:xsl:initial-template.

ahh xsl:initial-template, I like it, much better than default-initial-template="main" : )

Regarding the api, is it possible to not need the -it switch at all,
and just always start with the xsl:initial-template if its present?

I see it as replacing initial template and mode altogether, much
cleaner to just have a single entry point and go from there based on
parameter values.

Much cleaner IMHO





regards


--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.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.