adding function: JXml.toString