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.
// Read the first element
// Tag found?
IF XMLOut("XMLDoc") = False THEN
Info("Current tag: " + XMLElementName("XMLDoc"))
<Result> = XMLOut(<XML document>)
- 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.
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.