ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / XML file functions
  • Functions modifying XMLOut
  • XML functions and threads
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
XMLOut (Function)
In french: XMLEnDehors
Used to find out whether the element (tag or attribute) on which we want to be positioned is outside the XML document.
The use of XMLOut is optional. Indeed, the XML browse functions return a result allowing you to find out whether they have been successful or not. We recommend that you use XMLOut to make the code easier to understand.
Example
// Read the first element
XMLFirst("XMLDoc")
 
// Tag found?
IF XMLOut("XMLDoc") = False THEN
Info("Current tag: " + XMLElementName("XMLDoc"))
END
Syntax
<Result> = XMLOut(<XML document>)
<Result>: Boolean
  • True if a browse function failed to position on an element,
  • False otherwise (the current position in the XML document is not modified).
    XMLOut and XMLFound always return the opposite result.
<XML document>: Character string
Name of XML document used. This document contains the XML code to study and it was created by XMLDocument.
Remarks

Functions modifying XMLOut

The following functions modify the value returned by XMLOut:

XML functions and threads

If your application uses threads, the XML document is shared between all these threads. For more details on threads, see Managing threads.
If the current position in an XML document is modified in a thread, the current position in this XML document is modified for all the threads.
Component: wd290xml.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help