A property to XML and then create a DOM

Hi All,
   I have property file that would look like the one below.I wanted to load
this into memory as a hierarchical Document Object preferably after
converting this data into XML format. Do you guys have any idea about
anything that exists that could help in this.
   
 menu.itemcount=3
menu.item.1.name="home"
menu.item.1.displaytext="Home"
menu.item.1.url="../jsp/main.jsp"
menu.item.1.child="home"
menu.item.2.name="codelibrary"
menu.item.2.displaytext="Code Library"
menu.item.2.url="../jsp/main.jsp?page=codelibrary"
menu.item.2.child="codelibrary"
menu.item.3.name="contribute"
menu.item.3.displaytext="Contribute"
menu.item.3.url="../jsp/main.jsp?page=contribute"

etc etc...

Regards
Pradeep 

Received on Wednesday, 23 May 2001 10:38:24 UTC