• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

storing a XML parsed value's

 
smyle khanna
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have bean class which gets the xml as a string.
for eg the xml can be any one of the following types:



I parse the xml using hashmap.
Currently I have created 2 file's in which i store the paths of xml and the attributes into which the value of the xml has to be stored ,
for eg
the Type Test has to be stored into (XML) TYPE.





This task is getting a little to cubersome.So can any one suggest me a simplier solution through which i eliminate the use of the files.

Please help.. its urgent!!!



Regards
Smyle
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm curious why this proprietary format is better than just writing the XML to the file? And how is this getting cumbersome? If you really want this format we should be able to automate it nicely so it would handle any XML structure.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic