Revert "added xml methods"

This reverts commit 6b87ec2b853c418e811eadc2626cebc9b4b6e5a2.