Add "debug" print to XmlValue