Let's say I have a doc.xml and corresponding doc.xsd. I use xpath to retrieve some nodes, so I get a list of org.w3c.dom.Node. How can I get type of each node ...
Is there an existing Java library that will let me determine all valid nodes for a point in an XML document (specified by XPath, or otherwise), given an XML schema?