on 7/1/06 11:53 AM, Mark Walker at [EMAIL PROTECTED] wrote: > Hi All > > i have a problem with the XMLDocument class. > > i have a TCPSocket which downloads an xml file from the web. In the > PageReceived event, I create, and assign the 'content' of the page > (the xml) to an XML document I create. > > On reading the Language reference, I thought that doing an > xdoc.Loadxml(content) > would be enough to load the xml, and have RB parse it. unfortunately > it doesn't seem to be the case. > > Do I need to do anything after the loadxml call, before I can 'walk' > the xml tree using xdoc.documentelement ?
It should be enough. Is the content actually valid XML (although it should be throwing an exception if it isn't)? What does your code to walk the xml look like? Chris _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
