code
16px-Pencil

Most programming languages provide an API that can be used to create XML documents.

Groovy

in groovy the markup builder is used to create xml and html markup.