This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
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.
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