I am relatively new to java and would like to create a XML file which
looks like this:
<archive name="archive1">
<file name="xx">
<size>100</size>
<ext>jpg</ext>
</file>
</archive>
can anybody show me a code snippet how I can make that?
thanks for help in advance!
Andrew McDonagh - 29 Apr 2005 09:44 GMT
> I am relatively new to java and would like to create a XML file which
> looks like this:
[quoted text clipped - 8 lines]
> can anybody show me a code snippet how I can make that?
> thanks for help in advance!
take a look at JDom - www.jdom.org
example code at http://www-128.ibm.com/developerworks/java/library/j-jdom/