XQuery method question, trying to sum values read from xml
- by Buck
I'm pretty new to XQuery and I'm trying to write an example function that I can't get to work.
I want to read an xml file, parse out the "time" values, sum them as they're read and return the sum.
This is trivial and I'm looking to build more functionality into it but I'd like to get this working first.
Also, I know there's a "sum" directive in…