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

Re: What is the Core of XSLT?

Subject: Re: What is the Core of XSLT?
From: "Abel Braaksma (Exselt)" <abel@xxxxxxxxxx>
Date: Sun, 30 Mar 2014 00:13:08 +0100
Re:  What is the Core of XSLT?
On 29-3-2014 20:00, Dimitre Novatchev wrote:
>> Agreed, but when working with non-nodes, like atomic values, we cannot
>> apply-templates on them. This limitation has been lifted in XSLT 3.0, in
>> which case apply-templates probably suffices.
> I meant:
>
>    <xsl:apply templates select="my:specialNode[condition-here]"/>
>
>   .   .   .   .   .   .   .   .
>
>   <xsl:template match="my:specialNode">
>
>      <!-- Whatever needs to be done   -->
>   </xsl:template>
>
>
> Where did I say that we need to apply templates on non-nodes?
>

You didn't. What I meant is that I don't think you can do everything
with XSLT 1.0 that you can do now with a subset that does not include
xsl:if (xsl:choose can be implemented in xsl:ifs). For XSLT 2.0, you can
apply predicates on sequences, which I think would suffice to replace
xsl:if, but in XSLT 1.0 you cannot, as far as I can recall.

Of course, in my original question I wasn't clear about what language
features the subset should, and which they should not cover. But I think
it should be able to deal with strings.

Cheers,

Abel Braaksma
Exselt XSLT 3.0 processor
http://exselt.net

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.