Re: [xsl] When to use conditional constructions?

Subject: Re: [xsl] When to use conditional constructions?
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Tue, 1 Apr 2014 11:27:19 -0700
On Sun, Mar 30, 2014 at 10:45 AM, Dimitre Novatchev
<dnovatchev@xxxxxxxxx> wrote:
> In case eval() doesn't become a standard function in XPath 3.1, there
> could be a de-facto standard such function -- similarly to the case of
> xxx:node-set() function for XSLT 1.0. Similarly to exsl:node-set(), we
> could have a portable standard expath:eval().


We just got the answer from the W3C WG:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=9065#c4 :

==================================================

Jim Melton 2014-04-01 16:51:32 UTC

The Working Groups decided, at their joint teleconference on
2014-04-01, that this proposed feature is beyond the scope of the 3.1
suite of specifications. Therefore, this feature will not be included
in version 3.1. However, we recognize the value and requirements for
the feature, so we agree that it will be reconsidered for a future
version of XPath, should one be developed.
==================================================

So, either we wait for XPath 4+ (if it will be decided there will be
such), or we develop this function ourselves.

Florent, what is the formal way to do this as part of EXPath ?


-- 
Cheers,
Dimitre Novatchev
---------------------------------------
Truly great madness cannot be achieved without significant intelligence.
---------------------------------------
To invent, you need a good imagination and a pile of junk
-------------------------------------
Never fight an inanimate object
-------------------------------------
To avoid situations in which you might make mistakes may be the
biggest mistake of all
------------------------------------
Quality means doing it right when no one is looking.
-------------------------------------
You've achieved success in your field when you don't know whether what
you're doing is work or play
-------------------------------------
To achieve the impossible dream, try going to sleep.
-------------------------------------
Facts do not cease to exist because they are ignored.
-------------------------------------
Typing monkeys will write all Shakespeare's works in 200yrs.Will they
write all patents, too? :)
-------------------------------------
I finally figured out the only reason to be alive is to enjoy it.

Current Thread