Xml functions added