What Else has Changed in XPath Paths
- . is no longer = self::node(); now
returns the context item
(even when not a node)
-
.
(self) and .. (parent)
are allowed
to be followed by
predicates.[. castable as xs:date]
returns
the context item if it is castable to a date
- Nodes with the same local name can be selected irrespective of
namespace
/entry/*:p
returns p element children of entry elements,
whether html:p, tei:p or whatever