[xsl] Text value templates in XSLT 3?

Subject: [xsl] Text value templates in XSLT 3?
From: "Imsieke, Gerrit, le-tex" <gerrit.imsieke@xxxxxxxxx>
Date: Sat, 03 Nov 2012 13:18:50 +0100
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