D
Daniel Yacob
Greetings,
I'm looking for a Java API that would read an XML doc, as a DOM would
be fine, and spit out a list of xpaths and corresponding values for
all leaf nodes. Is there such a thing?
If not, I can imagine accomplishing this with a tree walk over a DOM
object and stuffing the path/value info into a hash along the way. Is
there a better way to go about it?
thanks,
/Daniel
I'm looking for a Java API that would read an XML doc, as a DOM would
be fine, and spit out a list of xpaths and corresponding values for
all leaf nodes. Is there such a thing?
If not, I can imagine accomplishing this with a tree walk over a DOM
object and stuffing the path/value info into a hash along the way. Is
there a better way to go about it?
thanks,
/Daniel