aspose file tools*
The moose likes Java in General and the fly likes storing a XML parsed value's Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "storing a XML parsed value Watch "storing a XML parsed value New topic
Author

storing a XML parsed value's

smyle khanna
Ranch Hand

Joined: Jan 14, 2004
Posts: 54
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

Joined: Jan 29, 2003
Posts: 8791
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.


A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: storing a XML parsed value's