W3C home > Mailing lists > Public > www-dom@w3.org > April to June 2001

A property to XML and then create a DOM

From: Parappil, Pradeep <PParappil@answerthink.com>
Date: Wed, 23 May 2001 10:31:35 -0400
Message-ID: <93CB722CF8BBD411AE140008C791E716023332A6@phlex01.answerthink.com>
To: www-dom@w3.org
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:48 GMT