Inferring Schema

The XML editor can automatically generate an XML schema document (XSD) based on a valid XML document. While the XML document is open, select Create Schema from the XML main menu. This creates an XSD document and opens it in the XML Schema Designer (more on this in the next section). From there, you can make any necessary changes to the XSD document and save it to disk. You can also include it in your project at this point.


Note

If you run the Create Schema command against an XML document that already contains a DTD or XDR schema, the XML inference algorithm uses these schemas as the basis for the conversion as opposed to the actual data within the XML document.


..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset