Some people may like to know that the XML produced by the REST API is validated and hasassociated DTD fles specifying the format of the XML responses. The DTDs are available here:

 

For reference, the DTD for each resource is also included in the on the resource specification.