摘要 |
The present invention is directed to implementing methods and systems for automatically defining XML document rules by generating an XML schema for a given XML document to an extent that the schema can be generated without human intervention. Further, developers working on XML technologies are benefited by this solution as it provides a simple way of generating a skeletal schema based on an XML document. The XML document based on which the schema is to be generated may be well formed and can use a namespace. Generation of the schema may include the following three phases: 1) Gathering information, 2) Parsing the XML document, and 3) Building the schema. |