I'm using Gambas 3.5.4 on Linux Mint
I want to use XmlDocument but can't seem to load an existing xml
document file.
It errors on loads and just gives error text of "Null object"
I can open and read the same file via XmlReader, but I want to work with
the whole document via DOM.
Is this likely to be something in the version of 3.5.4 that I'm using,
that if I take trouble to compile newer version from source will resolve?
Or am I misunderstanding usage of the XmlDocument?
Below is a simplified version I tested with, and hit same issues.
simple test xml file: myTest.xml
= = = = =
<myDoc>
<Item>1</Item>
</myDoc>
= = = = =
tPathAndFilename = "/home/user1/test/myTest.xml"
Try xDoc.Open(tPathAndFilename)
If Error Then
Debug Error.Text
Endif
- - - - - -
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user