Fixes the XML Parsing issue with elements that have nexted nodes surrounded by text