Validating against XSD given only a DOM Node

N

Nazghal

Does anyone know if it's possible to validate a DOM node against a
supplied schema?

We are in a situation where we are coding to an API and receiving an
already parsed subset of a document as a DOM node. I'd like to
validate that this fragment of XML/DOM against it's schema file. Is
this possible? Any pointers on how to go about this?

Everything I've read regarding validation with Xerces etc, is while
parsing the original document, which unfortunately we don't have
access to..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top