A helper function that finds out the WaterML version from
the WaterML document. By default it checks for "http://www.opengis.net/waterml/2.0"
Otherwise it tries to detect "http://www.cuahsi.org/waterML/1.1/" (for WaterML 1.1) or
"http://www.cuahsi.org/WaterML/1.0/" (for WaterML 1.0)
Usage
WaterMLVersion(doc)
Arguments
doc
The XML document object
Value
A character with the WaterML version: either 1.0, 1.1, or 2.0