I’m trying to create some XML files on the client and then send them to the server (nothing special, just something like <root><blabla>...</blabla>...</root>).
Doing this by hand would be possible but extremely inflexible and I see myself making a lot of mistakes. So I was looking for a XML generator in GWT and found the “com.google.gwt.xml.client” Package. Sadly I cant find examples how to create XML documents with it. Can anybody provide me an example (or linke ot an examle)?
Best regards,
Stefan
Here is an example. To generate the following xml :
You have to write the following code on the Java client side :