ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2026

XML functions
List of XML functions
Management of XML
WINDEV, WINDEV Mobile and WEBDEV include several functions for handling XML code...
XML functions (prefix syntax)
List of XML functions
Native XML Connector
WINDEV and WEBDEV allow you to import and handle a definition of XML files via the data model editor...
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...
ExecuteAAF (Function)
Runs an Automatic Application Feature (AAF) on a control or window.
XMLSave (Function)
Saves an XML document in a file.
<Source>.ExportXML (Function)
Exports the records found in a data file (HFSQL or OLE DB), view or query to an XML file.
DisableAAF (Function)
Disables an Automatic Application Feature (AAF) on a control, window or on the current application.
HExportXML (Function)
Exports the records found in a data file (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 data file or populated programmatically).
<xmlNode>.ToJSON (Function)
Converts an XML string to JSON.
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.
HDeactivateAutoFilter (Function)
Disables an automatic filter on the linked files when browsing an XML file.
AAFDisable (Function)
Disables an Automatic Application Feature (AAF) on a control, window or on the current application.
<xmlDocument>.ToJSON (Function)
Converts an XML string to JSON.
<Source>.DeactivateAutoFilter (Function)
Disables an automatic filter on the linked files when browsing an XML file.
HActivateAutoFilter (Function)
Enables an automatic filter on the linked files when browsing 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.
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.
Managing the XSD
WINDEV, WEBDEV and WINDEV Mobile allow you to import files in XSD format.
TableToXML (Function)
Creates an XML file from the data found in a Table or TreeView Table control.
XMLOpenReader (Function)
Creates a reader used to read an XML document without loading it in memory.
<Looper>.ToXML (Function)
Creates an XML file with data from a Looper control (Looper control based on a data file or populated programmatically).
Importing and consuming SOAP web services
WINDEV, WEBDEV and WINDEV Mobile allow you to directly import web services into your applications...
Analysis editor: the different types of sections
The different types of items proposed in the data model editor are as follows:
HRecordToXML (Function)
Retrieves the structure and the value of the current record and exports them into a character string in XML format.
XMLToJSON (Function)
Converts an XML string to JSON.
<xmlDocument variable>.Save (Function)
Saves an XML document in a file.
<xmlNode variable>.FindNamespaceByName (Function)
Finds an XML namespace according to its XML node and in the parents of the node.
<Source>.ActivateAutoFilter (Function)
Enables an automatic filter on the linked files when browsing an XML file.
Report viewer: "Export" pane
The "Export" pane in the report viewer allows you to perform the following operations...
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.
XMLFindNamespaceByName (Function)
Finds an XML namespace according to its XML node and in the parents of the node.
XMLSign (Function)
Signs an XML document.
<Table>.ToXML (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.
<Source>.RecordToXML (Function)
Retrieves the structure and the value of the current record and exports them into a character string in XML format.
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...
XMLAddAttribute (Function)
Adds an attribute into an XML document.
XMLDocument (Function)
Creates a new XML document.
XMLFind (Function)
Performs a search in an XML document.
<JSON variable>.ToXML (Function)
Converts a JSON string to XML.
JSONToXML (Function)
Converts a JSON string to XML.
XMLValidDocument (Function)
Validates an XML document from an XSD schema.
SOAPAddXMLSignature (Function)
Adds an XML signature to a Webservice request.
<wsRequest variable>.addXMLSignature (Function)
Adds an XML signature to a Webservice request.
<xmlDocument variable>.BuildString (Function)
Retrieves and formats the content of an XML document.
<xmlDocument variable>.ValidDocument (Function)
Validates an XML document from an XSD schema.
TextToXML (Function)
Converts an ANSI string to an XML string.
XMLAddChild (Function)
Adds a child tag into an XML document.
XMLRoot (Function)
Positions on the root tag of an XML document.
XMLSavePosition (Function)
Stores the current position in the XML document.
XMLClose (Function)
Closes an XML document created by XMLDocument.
XMLExtractString (Function)
Extracts the content of a tag found in an XML document.
XMLRestorePosition (Function)
Restores the previously saved context of an XML document.
xmlDocument (Type of variable)
The xmlDocument type is used to handle an XML file.
XMLSource (Property)
The XMLSource property is used to get the XML source code.
DotNetRunXML (Function)
Runs a procedure on a server for .Net XML Web services.
XMLExecuteXPath (Function)
Executes an XPATH query: in an XML document. in an xmlDocument variable....
xmlNode (Type of variable)
The xmlNode type is used to handle a node of an XML document.
1
2
3
4
5
6
14
>