Producing and parsing xml.