PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Creates a reader used to read an XML document without loading it in memory.
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
Path of file containing the XML document to read.
Remarks
This function is used to read large XML files. To read small XML files, use XMLOpen.
Business / UI classification: Business Logic
Component: wd270xml.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment