|
|
|
|
|
XMLResult (Function) In french: XMLRésultat Returns the result of a calculation XPath query. This query was executed with XMLExecuteXPath.
MonDoc is string
MonDoc = fLoadText("exemple.xml")
RequeteXPath is string = "Aide/Fonction/Index"
XMLDocument("Exemple", MonDoc)
IF ErrorOccurred = True THEN
Error("le fichier n'est pas au format XML")
RETURN
END
b is boolean
b = XMLExecuteXPath("Exemple", RequeteXPath)
IF b = True AND XMLOut("Exemple") = True THEN
Trace("XMLResultat = " + XMLResult("Exemple"))
END
IF XMLFound("Exemple") = True THEN
WHILE XMLFound("Exemple") = True
Trace(XMLPath("Exemple"))
XMLNext("Exemple")
END
XMLCancelSearch("Exemple")
END
Syntax
<Result> = XMLResult(<XML document>)
<Result>: Type corresponding to the result of XPath query Result of XPath calculation query run by XMLExecuteXPath. <XML document>: Character string Name of the XML document used. This document was created by XMLDocument. Business / UI classification: Business Logic
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|