The automatic generation of schemas for XML documents is provided. In an
illustrative implementation, a computer readable medium having computer
readable instructions to instruct a computing environment to execute one
or more inference algorithms is provided. In operation, an XML document
is processed according to the computer readable instructions such that
the content and tags of the XML document are identified. The XML document
is processed according to an inference algorithm, which executes one or
more processing rule, and uses the XML document information in
conjunction with the rules and operations of the XML schema definition
language, to automatically produce a schema for the XML document.