PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

This page concerns the 23 + version of WINDEV, WEBDEV, WINDEV Mobile. Upgrade your version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Creates a reader used to read an XML document without loading it in memory.
Example
MyNode is xmlNode
MyNode..Type = XMLTag
MyNode..Name = "MyNode"
MyNode..Text = "Text of node"

Reader is xmlReader = XMLOpenReader("file.xml")

FOR EACH Reader IN DEPTH
Trace(Reader..Type)
END

Reader2 is xmlReader = XMLOpenReader("file.xml")

FOR EACH x OF Reader2
IF Reader2..Type = XMLReaderStartTag _OR_ Reader2..Type = XMLReaderEmptyElementTag THEN
IF Reader2..Name = "config" THEN
FOR EACH y OF x
Trace(x..Name)
END
END
END
END
Syntax
<Result> = XMLOpenReader(<File>)
<Result>: xmlReader variable
xmlReader variable used to read an XML document without loading it in memory.
<File>: Character string (with quotes)
Path of file containing the XML document to read.
Remarks
This function is used to read huge XML files. To read small XML files, use XMLOpen.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230xml.dll
Linux wd230xml.so
Minimum required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment