Added xml() method to allow converting various sources of XML into Node
for passing to XML matchers such as hasXPath()