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

Re: XQuery Updates in XSLT

Subject: Re: XQuery Updates in XSLT
From: Michael Ludwig <milu71@xxxxxx>
Date: Thu, 30 Oct 2008 22:20:16 +0100
Re:  XQuery Updates in XSLT
Michael Kay schrieb am 30.10.2008 um 09:50:12 (-0000):
> > Peace or war, sometimes I wonder why the identity template 
> > isn't the default, built-in template. 
> 
> For XSLT 2.1 we are proposing that it should be possible to choose the
> built-in templates for a mode by a simple keyword, for example
> 
> <xsl:mode default-action="copy"/>
> 
> might specify that the default template for the unnamed mode is the
> identity template.

One more thing to watch out for, as it may alter the meaning of the
entire transform - but a very good idea, in my opinion. It is more
succinct and easier on the eye than the identity template. And much
clearer to the newcomer: You want to copy your document and only modify
some bits? Simply say "copy", and then declare your modifications.

Michael Ludwig

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.