I just tried this:

Form hi = new Form("XML", BoxLayout.y());
Button write = new Button("Write");
write.addActionListener(new ActionListener() {

    public void actionPerformed(ActionEvent evt) {
        Element root = new Element("root");
        XMLWriter xw = new XMLWriter(false);    


It printed out:
 <root />

You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to codenameone-discussions+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to