Hi,
I need to skip elements with a particular
name in a xml document and tried pruning them using
SAXReader.addHandler(path, handler). It seems that the path argument can only be
a unique path (e.g. /parent/child/grandchild) , no wildcards seem to be
permitted (e.g. //child). Is this behaviour intended?
If yes, could anyone point out a solution
to prune elements specified only by name anywhere in the tree on reading a xml
document?
Also, I'm looking for a way to prune xml comments
on reading a xml doc. Is there a way to make a SAXReader call back on org.xml.sax.ext.LexicalHandler
methods?
Thanks a lot for any help,
Franz
|
- Re: [dom4j-user] SAXReader.addHandler() path arg Franz Beil
- Re: [dom4j-user] SAXReader.addHandler() path arg James Strachan
- Re: [dom4j-user] SAXReader.addHandler() path arg Craig Goss