D
Dom
Hi to everyone,
I'm developing a java application that:
A) read some values from a database
B) build an XML file according to a specific DTD
Is there any open source library/component allowing to create an XML
document (file), like that:
doc.startdocument();
doc.startelement("A");
doc.startelement("B");
doc.startelement("C");
doc.addValue("cccccc");
doc.endelement("C");
doc.startelement("D");
doc.addValue("dddddd");
doc.endelement("D");
doc.endelement("B");
doc.endelement("A");
doc.endDocument();
to generate this file:
<A>
<B>
<C> cccccc </C>
<D> ddddd </D>
</B>
</A>
thanks
bye dom
I'm developing a java application that:
A) read some values from a database
B) build an XML file according to a specific DTD
Is there any open source library/component allowing to create an XML
document (file), like that:
doc.startdocument();
doc.startelement("A");
doc.startelement("B");
doc.startelement("C");
doc.addValue("cccccc");
doc.endelement("C");
doc.startelement("D");
doc.addValue("dddddd");
doc.endelement("D");
doc.endelement("B");
doc.endelement("A");
doc.endDocument();
to generate this file:
<A>
<B>
<C> cccccc </C>
<D> ddddd </D>
</B>
</A>
thanks
bye dom