Added processXml rules to allow script to work with xml formatted as a string