XML formatter

Validate and format XML without loading external resources. DTD and entity declarations are rejected.