XSD validation for single node

D

dushkin

Hi,

Suppose I have 2 files: an XML file and its relevant xsd file.
As far as I understand, xsd validation is executed per document.
Is there a way to validate a single node? That is, if I have the xpath
to the element in the xml and to a relevant validating element in the
xsd file, can I validate the xml node?

I use Dom4J, but if there is another solution please let me know.

Thanks!
 

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

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,152
Latest member
LorettaGur
Top