Generate XML from DTD, Relax NG Schema, or XML Schema
XMLBlueprint's Sample XML Generator ("XML Instance Generator") is a powerful tool for automatically generating sample XML documents based on a given DTD, Relax NG Schema, or XML Schema.
Options allow you to control the way in which the sample XML documents are generated. For example, you can specify how to handle optional elements, repeating elements, element values, optional attributes, attribute values, etc.
The preview quickly shows how the generated XML is affected by your settings.

(Generate Sample XML from DTD)

(Generate Sample XML from Relax NG Schema)

(Generate Sample XML from XML Schema)

