Hello,
I have a question about the xerces parser. I use this parser to validate my xml document. When an error occurs, it has to be reported as an xpath _expression_ to the element that causes the error.
I can get the current node bij reading the property http://apache.org/xml/properties/dom/current-element-node, but how do i get the xpath to this node. The result should be something like this : EntityA[2]/EntityB[1]/Attribute[1].
One option is by walking up the tree, looking for its parent, and trying to find the right occurence of the node.
VrGr Richard
