Summary
An XML schema defines the structure of an XML document. In this chapter we discussed validating an XML document with an XML schema. JDeveloper 11g provides built-in support for validating an XML document with an XML schema. JDeveloper also includes the XDK 11g through which an XML document may be validated with an XML schema in a Java application. We discussed the XSDValidator, SAXPaser
, and DOMParser
classes to validate an XML document.
In the next chapter we shall discuss the built-in XPath support in JDeveloper and also the XPath support in XDK 11g.