Allowing for TextValue to be put into WaterML2.0 result and xml escaping...

putting text values into waterml 2.0 and xml escaping the values for safety