Validating against XSD given only a DOM Node

Nazghal

Usenet Archive
Joined
Dec 8, 2003
Messages
1
Reaction score
0
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
548,042
Messages
3,104,224
Members
248,132
Latest member
henrywalsh

Latest Threads

Top