We could use a predefined prefix [1] [1] - https://code.google.com/p/x2js/wiki/WorkingWithXmlAttributes