Java - Parsing xml using DOM

前端 未结 4 449
说谎
说谎 2020-12-12 07:07

I am trying to parse the following xml. I can access the WeekNumber easily but cannot access the children for EmployeeRatesLevelA and EmployeeRatesLevelB. The goal is to sav

4条回答
  •  自闭症患者
    2020-12-12 07:13

    I quite love groovy for these things, particularly if it's a one off to load stuff into a database:

    http://groovy.codehaus.org/Reading+XML+using+Groovy%27s+XmlSlurper

提交回复
热议问题