LoadXML()
Syntax
Result = LoadXML(#XML, Filename$ [, Encoding [, Flags]])Description
Loads a XML tree from an URL or a local file.
Parameters
#XML A number to identify the new XML. #PB_Any can be used to auto-generate this number. Filename$ The filename to load the XML from. Encoding (optional) Ignored. Flags (optional) It can be one of the following value: #PB_LocalFile: the filename is a local file, OpenFileRequester()() needs to be called before to have access to local files. SelectedFileID()() is used to get the local file identifier.
Return value
Nonzero if the xml object has been created. The xml data is still not loaded, the callbacks binded to #PB_Event_Loading and #PB_Event_LoadingError will be called once the loading is done. If #PB_Any was used for the #XML parameter then the generated number is returned on success.
See Also
CreateXML(), FreeXML(), ParseXML()
Supported OS
All