Say I have a pair of XML documents
mystring
and
Special case: If you want to get 0 if numeric node is missing or empty, use sum(/Foo/Baz) function
sum(/Foo/Baz)