[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gb.xml2: xmlwriter gives error on creating xml file


Hi,

In gb.xml I can create a xml file and next open it or print its contents.
In gb.xml2 I can create the same xml file, but it will not open after it is created, although it is there!
The creation of the file in gb.xml2 does output an error in the console.

Added is a screenshot of me running two scripts:
First script created xml-test.xml file and prints content in terminal
Second script created xml2-test.xml file but refuses to print its content in terminal.
I opened it to show you it exists and has proper content, so that part goes well.

1.png

Added are both scripts, you can try yourself.
xml.gbs uses gb.xml and creates xml-test on your desktop.
xml2.gbs uses gb.xml2 and creates xml2-test on your desktop.

gbWilly

Wanna learn Gambas? - Guides overview
GambOS
Gambas3 for Debian/Ubuntu

...there is always a Catch if things go wrong!

Sent with Proton Mail secure email.

Attachment: xml-scripts.tar.gz
Description: application/gzip


Follow-Ups:
Re: gb.xml2: xmlwriter gives error on creating xml fileBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>