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
  • 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
XMLPath (Function)
In french: XMLPosition
Returns the current position in the document in XPATH format.
Example
Res is string
Res = XMLPath("MonDocument")
// Res est de la forme : /COMMANDE/LIGNECDE[2]/@NUMERO sur un attribut
// Res est de la forme : /COMMANDE/LIGNECDE[1] sur une balise fille
// Res est de la forme : /COMMANDE sur une balise 
// Attention, la fonction XMLPosition peut également retourner une chaîne
// de cette forme (valide syntaxiquement) : /*/*[8]/*[1]
Syntax
<Result> = XMLPath(<XML document>)
<Result>: Character string
Position of current element, in XPATH format.
<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

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.
Business / UI classification: Business Logic
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