If you have an XML document with a corresponding external Document Type Definition (DTD) file, you can check the XML document's contents against the DTD for syntax errors.
To validate an XML document:The Output window lists any errors detected by the IDE along with the line number where the error was detected. This location is not necessarily the line where the error occurred. You can double-click any error message to go to the line in the XML file where the error was detected.
Some common error messages include:
You can also check any XML document, including DTD entities and extensible style sheets, to make sure they are well-formed. The IDE reports errors in the Output window in the same format as XML validation errors.
To check an XML document:
See also
| |
---|---|
The XML Module Creating an XML Document Editing an XML Document Generating a DTD File Text Editor |