ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / XML file functions
  • Functions modifying XMLOut
  • XML functions and threads
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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. Using the XMLOut is recommended for greater clarity in your code.
Example
// Lecture du premier élément
XMLFirst("DocXML")

// Balise trouvée ?
IF XMLOut("DocXML") = False THEN
	Info("Balise courante : " + XMLElementName("DocXML"))
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 the 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: wd300xml.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/28/2025

Send a report | Local help