[jdom-interest] Another quick question re JDOM & XPATH
Adam Flinton
adam at softfab.com
Fri Mar 21 07:03:39 PST 2003
Just been pointed out to me that users are too lazy to search through
XML text files using a text editor....so I may have to extend our swing
log viewer thingy to cope with an XPATH to a problematic
element/attribute. So Question is:
Mini-recap..
Program gets XMl & runs through it checking that values are acceptable
(e.g. length of strings for inserting into a db). If it finds one (or
more) which are not ok then it saves the doc & writes the XPATH(s) to
the element(s) to a log.
Swing GUI loads log, finds XML doc, loads the doc & create a JDOM
document from it. Can I then pass in the XPATH string & have JDOM find
/return the relevant element (so I can show it in the GUI).
TIA
Adam
More information about the jdom-interest
mailing list