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

Re: Text value templates in XSLT 3?

Subject: Re: Text value templates in XSLT 3?
From: Michael Kay <mike@xxxxxxxxxxxx>
Date: Sat, 03 Nov 2012 16:49:13 +0000
Re:  Text value templates in XSLT 3?
The suggestion is still on the WG agenda - no decision has been made.

When we last discussed it, I think there were two unsolved problems: (a) how to handle backwards compatibility, and (b) whether the curly braces in text nodes should mean "value-of" or "copy-of" -- where I think most people would tend to prefer value-of if it weren't for the argument based on consistency with XQuery.

The backwards compatibility issue overlaps with a usability issue of how to handle content that is already rich in curly braces, like CSS or Javascript.

Michael Kay
Saxonica

On 03/11/2012 12:18, Imsieke, Gerrit, le-tex wrote:
Hi Florent,

Thomas Meinike has pointed [1] me to your XMLSS presentation on the XPath/XSLT/XQuery 3.0 novelties. Among other things, you presented XSLT text value templates [2], a feature that we didnt see in the current draft spec [3].

Can you elaborate a bit on the status of this feature?

I think that its misleading because syntactically it looks like XQuery where an arbitrary sequence may be created by the expression inside the curly braces, while in XSLT the expression should evaluate to a mere text node. Does this small gain in syntactic sweetness really outweigh the inconsistency with a sister spec?

Gerrit

[1] https://twitter.com/XMLArbyter/status/263220416817025024
[2] http://fgeorges.org/papers/fgeorges-xmlss-xslt-trends.pdf#page=40
[3] http://www.w3.org/TR/xslt-30/

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.