xsl-list
[Top] [All Lists]

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

2014-08-01 16:44:09
On Fri, Aug 1, 2014 at 2:20 PM, L2L 2L emanuelallen(_at_)hotmail(_dot_)com
<xsl-list-service(_at_)lists(_dot_)mulberrytech(_dot_)com> 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.

:)


-- 
Cheers,
Dimitre Novatchev
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--

<Prev in Thread] Current Thread [Next in Thread>