Le Tue, 08 Aug 2017 12:07:20 +0200, Hans Lehmann <h...@gambas-buch.de> a écrit:

Hello,

Question: Is there any way to access the nodes in an XML document by accessing the nodes and their attributes instead of sequentially iterating over the XML document?If YES, I would like a small example, if your time allows.

Best regards

Hans

Hi Hans,

It depends on what you want to do, but in general you would have to use the XmlDocument class to load all the document in memory, which gives you access to some methods to
explore it.

You can try a few examples here :

https://gambas-playground.proko.eu/?gist=6c7007550e512894f48c5228cf8068b1

Regards,

--
Adrien Prokopowicz

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to