[xquery-talk] Unusual XPath syntax question

Joe Wicentowski joewiz at gmail.com
Mon Oct 31 10:12:21 PDT 2016


Hi Christine,

> I don't know what "./." means. I would think that "." alone would be sufficient to refer to the context node.

Agreed - "./." gets you precisely ".".  If "." is compact syntax for
"self::node()", then the expanded syntax for "./." would be
"self::node()/self::node()".  Testing in oXygen shows that ". =
././././././././."!

Joe


More information about the talk mailing list