need to extract for iteration through all values contained in <genre>XXXXX</genre> elements in an XML file.
Posted on 2006-11-28
I need to extract for validation against a controlled list of acceptable values all of the items contained in a <genre>xxxx</genre> xml file. I could do this by writing my own string parser, but I'm guessing there is a cleaner, "best practice" kind of way to do this using JDOM, SAX or another xml parser. Help appreciated.