[codenameone-discussions] Generate XML file with XMLWriter

2019-04-09 Thread pythoudk
Hi, I have some problems to generate an XML file, the file is created but the root tag is not written into the file when I call the writeXML(writer, root) method; Here is the code : try{ //Element root Element root = new Element("root"); String path = FileSystemStorage.

[codenameone-discussions] Re: Generate XML file with XMLWriter

2019-04-10 Thread pythoudk
Yes it works. But how to generate XML file and write tag into with XMLWriter ? With my code and toXML() method, that isn't work. On Tuesday, April 9, 2019 at 8:46:18 PM UTC+2, pyth...@gmail.com wrote: > > Hi, > I have some problems to generate an XML file, the file is created but the > root ta

[codenameone-discussions] Re: Generate XML file with XMLWriter

2019-04-11 Thread pythoudk
Yes, I want to create an XML file and save it to the phone. For the moment, it is saved in the .cn/ repertory of my PC and when I open it for check, it is empty and no tag is there On Thursday, April 11, 2019 at 4:14:09 AM UTC+2, Shai Almog wrote: > > Both methods lead to the same block: > http

[codenameone-discussions] Set text to an Element XML

2019-06-03 Thread pythoudk
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

[codenameone-discussions] Re: Set text to an Element XML

2019-06-04 Thread pythoudk
Yes i use XML Writer. The XML printed is : Toto While I wait for : Toto 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 codenameone-di

[codenameone-discussions] Error build IOS

2019-01-16 Thread pythoudk
Hi, When i send a debug or app store build for IOS,the Codename One buid server failed. It return a error log file. Thank you for your help. Here the end of log file : Check dependencies Code Signing Error: Provisioning profile "Distribution" doesn't match the entitlements file's value for th