ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2026

XML functions (prefix syntax)
List of XML functions
Management of XML
WINDEV, WINDEV Mobile and WEBDEV include several functions for handling XML code...
XML functions
List of XML functions
XML: Handling large (multi-gigabyte) files
Starting with version 23, an XML parser is available to handle XML files that are multiple GB in size...
Native XML Connector
WINDEV and WEBDEV allow you to import and handle a definition of XML files via the data model editor...
XMLOpenReader (Function)
Creates a reader used to read an XML document without loading it in memory.
Managing the XSD
WINDEV, WEBDEV and WINDEV Mobile allow you to import files in XSD format.
<xmlDocument variable>.Save (Function)
Saves an XML document in a file.
FOR EACH/FOR ALL statement (loop through a variable of type XMLReader)
The FOR EACH statement loops through a variable of type xmlReader in various ways:
  • Loop through a level.
  • Loop through a level with copy.
  • In-depth loop.
Importing and consuming SOAP web services
WINDEV, WEBDEV and WINDEV Mobile allow you to directly import web services into your applications...
ExecuteAAF (Function)
Runs an Automatic Application Feature (AAF) on a control or window.
<Source>.DeactivateAutoFilter (Function)
Disables an automatic filter on the linked files when browsing an XML file.
HRecordToXML (Function)
Retrieves the structure and the value of the current record and exports them into a character string in XML format.
<xmlDocument>.ToJSON (Function)
Converts an XML string to JSON.
<Looper>.ToXML (Function)
Creates an XML file with data from a Looper control (Looper control based on a data file or populated programmatically).
HExportXML (Function)
Exports the records found in a table (HFSQL or OLE DB), view or query to an XML file.
ExtractStringBetween (Function)
Allows you to:
  • extract a substring between two given separators from a character string.
  • search for substrings between two given separators in a character string.
<Source>.ActivateAutoFilter (Function)
Enables an automatic filter on the linked files when browsing an XML file.
DisableAAF (Function)
Disables an Automatic Application Feature (AAF) on a control, window or on the current application.
HActivateAutoFilter (Function)
Enables an automatic filter on the linked files when browsing an XML file.
HDeactivateAutoFilter (Function)
Disables an automatic filter on the linked files when browsing an XML file.
<xmlNode>.ToJSON (Function)
Converts an XML string to JSON.
XMLFindNamespaceByName (Function)
Finds an XML namespace according to its XML node and in the parents of the node.
Report viewer: "Export" pane
The "Export" pane in the report viewer allows you to perform the following operations...
XMLSave (Function)
Saves an XML document in a file.
AAFDisable (Function)
Disables an Automatic Application Feature (AAF) on a control, window or on the current application.
<Source>.RecordToXML (Function)
Retrieves the structure and the value of the current record and exports them into a character string in XML format.
TableToXML (Function)
Creates an XML file from the data found in a Table or TreeView Table control.
<xmlNode variable>.FindNamespaceByURI (Function)
Finds an XML namespace from its URI (Universal Resource Identifier) in a node and in the parents of this node.
(No title )
The different types of items proposed in the data model editor are as follows:
<Source>.ExportXML (Function)
Exports the records found in a table (HFSQL or OLE DB), view or query to an XML file.
LooperToXML (Function)
Creates an XML file with data from a Looper control (Looper control based on a table or populated programmatically).
XMLToJSON (Function)
Converts an XML string to JSON.
Result of a query in test mode
After its execution in test mode (see Running the query test), the result of the query can be...
<xmlNode variable>.FindNamespaceByName (Function)
Finds an XML namespace according to its XML node and in the parents of the node.
AAFExecute (Function)
Runs an Automatic Application Feature (AAF) on a control or window. This function can be used to start the spelling checker on an edit control for example.
<Table>.ToXML (Function)
Creates an XML file from the data found in a Table or TreeView Table control.
XMLSign (Function)
Signs an XML document.
XMLOpen (Function)
Loads an XML document from a file, a URL or a string into an xmlDocument variable.
XMLFindNamespaceByURI (Function)
Finds an XML namespace from its URI (Universal Resource Identifier) in a node and in the parents of this node.
SFForwardQuery (Function)
Continues to run a SOQL query (Salesforce Object Query Language) on the records of a Salesforce...
SFSeekDeleted (Function)
Seeks and retrieves the records (Salesforce objects) deleted during the specified period.
SFSeekModified (Function)
Seeks and retrieves the records (Salesforce objects) modified during the specified period.
SFMerge (Function)
Merges the Salesforce records (also called Salesforce objects).
SFUndelete (Function)
Restores previously deleted Salesforce records.
SFExecuteQuery (Function)
Runs an SOQL query (Salesforce Object Query Language) on a Salesforce database.
SFRead (Function)
Retrieves the Salesforce records from their identifiers.
SOAPAddAttribute (Function)
Adds an attribute to an automatic variable generated by the import of a web service.
SOAPToHTTP (Function)
Builds the HTTP request to call a function of a Webservice. This request can be modified to adapt...
SFExecuteProcess (Function)
Requests the execution of a specific process.
SFSearch (Function)
Performs a search among the records found in a Salesforce database.
SFEmptyRecycleBin (Function)
Clears the specified records from the Salesforce recycle bin.
fGlobalDirCommon (Function)
Returns a directory path for the global data of current application (data shared between several...
fGlobalDirUser (Function)
Returns a directory path for the global data of current application (data shared between several...
SFAdd (Function)
Creates a record in a file of a Salesforce database.
SFConvertLead (Function)
Converts the leads.