Platform / XML Factory

XML Factory to address security issues