Hi,
I try to generate a XML file and I want to set text to an Element XML like 
this :

 Element root= new Element("root");
 Element name= new Element("name",true);            
 name.setText("Toto");
 root.addChild(name);
 .... 


But the tag "name" removed and the text put to the tag "root". 

Any idea ?

Thanks.

-- 
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 [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/0fd0b706-f3f2-45af-97a3-1882648ebcfd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to