Implemented XML methods.
Implementing XML parsing.