Added functions to allow explcit initialisation of the xerces library