O'Reilly logo

Oracle Database 11g: Building Oracle XML DB Applications by Jinyu Wang

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Oracle XDK Java APIs

Using Oracle XDK Java, you can perform XML Schema validation with either the SAX or DOM parser. When performing XML Schema validations, you need two processors: the XML Schema processor which builds the XML Schema objects, and an XML parser which parses the XML document and validates against the pre-set XML Schema object.

Oracle XDK Tip: Can I validate an XML DOM element?

In Oracle XDK Java, in addition to document-level XML Schema/DTD validation, you can perform validation on the XML elements. Here is a list of XML Schema validation functions from an XMLElement:

Image  Boolean validateContent(DTD dtd) Validates the content ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required