[Gambas-user] xmlreader

gaupe hennie at ...1826...
Fri Jan 4 15:36:46 CET 2008


using Gambas2.0

I am still having problems reading back xmldata i wrote
I cant find out how to read back the attributes lat lon
how is that done?

(the example does not produce very much valid xml but its more for the
example)

please let me know also if  i am doing it SO wrong thats answering is
hopeless...... ;-)

from test.xml

PUBLIC SUB xmlwrite()
    DIM xml AS xmlwriter
     xml = NEW xmlwriter
    xml.Open("test.xml", TRUE, "UTF-8")
   
               
      xml.StartElement("wpt", ["lat", "60.1419274", "lon", "11.1703764"])
     
      xml.EndElement() ' End wpt

   xml.EndDocument()
END
-- 
View this message in context: http://www.nabble.com/xmlreader-tp14617540p14617540.html
Sent from the gambas-user mailing list archive at Nabble.com.





More information about the User mailing list