1. A method for dynamic XSD enumeration, comprising: receiving a web request for XSD file data, the XSD file data for validating XML data; determining whether the XSD file data is contained in a cache; if the XSD file data is not contained in the cache: using a defined database query to retrieve from a database values from a database table; generating XML structures comprising a list of the retrieved database table values; generating XSD file data comprising the generated XML structures; and caching the XSD file data; and providing the cached document in response to the request.