 |
 |
 | DTDs and XML Schemas are important aspects of XML that define the logical structure (or content model) of an XML document. XMLSpy® 2008 is a powerful tool that integrates schema and DTD creation with the editing of XML instance documents. Supported SchemasXMLSpy® 2008 supports both editing and schema validation of Document Type Definitions (DTDs) and W3C XML Schemas (XSD) and can validate an XML instance document against either schema type. Create from XMLWhen you are defining a new schema or DTD, it is often helpful to create a few example XML documents as a starting point. XMLSpy® 2008 allows you to generate a new schema from this document (or from a set of documents in the project window) as a first step. 
XMLSpy® 2008 automatically detects the data-types (such as date, time, number, URI, etc.) being used in your XML documents and creates the corresponding restrictions in the schema. XMLSpy® 2008 will also optionally detect typical enumeration scenarios, in which an element or attribute can only contain items from a predefined list of values. Editing and ValidationXMLSpy® 2008 allows efficient editing of any schema type or DTD through its enhanced grid view, which is ideally suited for showing the structure of the content model. This lets you actually edit this model directly within the hierarchical representation. Below is a snippet from a DTD being edited by XMLSpy® 2008. Please note the easily recognizable tree structure that can be edited just like the hierarchical element structure of any regular XML document. In addition, attribute lists are shown using a database/table view representation, which is ideally suited for this structure. 
XMLSpy® 2008 is the only product that uses the same editing paradigm for editing XML instance documents and editing schemas or DTDs. This drastically reduces the learning curve, resulting in a lower total cost of ownership (TCO).
In addition, XMLSpy® 2008 now includes an advanced graphical XML Schema design view for creating and editing XML Schemas that conform to the W3C XML Schema Definition Language. Since XML Schemas are actually based on XML documents as their representation format, intelligent editing features (such as entry helpers) are available throughout the schema editing process.
When it comes to validation, it's important to note the difference between validating a DTD or schema (i.e., checking the schema or DTD for compliance with the corresponding rules for creating such a schema or DTD as set forth in their respective standards) and validating an XML instance document against its governing schema or DTD.
Unlike any other tool available today, XMLSpy® 2008 allows you to do both!
Schema ConversionIn today's world of ever-changing schema versions, it's important to have a tool that easily converts your content model between the various schema dialects. 
You can simply open an existing DTD and use the "Convert schema..." command of XMLSpy® 2008 to turn your DTDs into W3C XML Schemas compliant with the final May 2001 Recommendation - or the other way round.
Go to DefinitionOne of the main advantages of using an XML-specific IDE (Integrated Development Environment) like XMLSpy® 2008 is the integration of schema or DTD editing and XML document instance creation. This means that, at any time, you can easily locate the definition of each element or attribute using the "Go to definition" command, which immediately takes you to the defining item in the schema or DTD associated with the XML document.
Assign Schema/DTDTo ease the integration of XML instance documents and corresponding schemas or DTDs, XMLSpy® 2008 includes a command that lets you easily assign a DTD or schema to your document. XMLSpy® 2008 asks you to pick an existing schema or DTD (from your disk, from any open file, or from the project view) and automatically creates the correct XML elements and attributes that are required in your instance document to bind it to the DTD or schema. These differ between the various schema types supported, but XMLSpy® 2008 always knows exactly what is required depending of the kind of schema you selected.
Discover the power of XMLSpy® 2008 for DTD and schema editing - download a free 30-day trial today!
|
 |
 |
 |