[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Replacing = with == and ===

Subject: Re: [xsl] Replacing = with == and ===
From: "Dimitre Novatchev dnovatchev@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 1 Aug 2014 21:44:00 -0000

On Fri, Aug 1, 2014 at 2:20 PM, L2L 2L emanuelallen@xxxxxxxxxxx
<xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:
> Or add on that will replace the equal sign in both xPath and xQuery. To test in a predicated if two nodes are equal; this to my opinion should be use == and for a deeper test this ===.

Seems like ==== wasn't mentioned at all ...

Why not the opposite -- stop using JavaScript and replace it with
XPath 3.0?  You'll get immediately the possibility for strong typing
and even more -- your new language will not need additional use of
XPath when processing XML.


Dimitre Novatchev

Current Thread