ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2026

Management of XML
WINDEV, WINDEV Mobile and WEBDEV include several functions for handling XML code...
Native XML Connector
WINDEV and WEBDEV allow you to import and handle a definition of XML files via the data model editor...
XML functions
List of XML functions
XML functions (prefix syntax)
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...
<Source>.ActivateAutoFilter (Function)
Enables an automatic filter on the linked files when browsing an XML file.
HExportXML (Function)
Exports the records found in a data file (HFSQL or OLE DB), view or query to an XML file.
<Source>.ExportXML (Function)
Exports the records found in a data file (HFSQL or OLE DB), view or query to an XML file.
ExecuteAAF (Function)
Runs an Automatic Application Feature (AAF) on a control or window.
DisableAAF (Function)
Disables an Automatic Application Feature (AAF) on a control, window or on the current application.
XMLSave (Function)
Saves an XML document in a file.
<xmlNode>.ToJSON (Function)
Converts an XML string to JSON.
LooperToXML (Function)
Creates an XML file with data from a Looper control (Looper control based on a data file or populated programmatically).
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.
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.
<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.
<xmlDocument>.ToJSON (Function)
Converts an XML string to JSON.
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:
<Looper>.ToXML (Function)
Creates an XML file with data from a Looper control (Looper control based on a data file or populated programmatically).
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.
HRecordToXML (Function)
Retrieves the structure and the value of the current record and exports them into a character string in XML format.
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...
Constants used by the XML signature
Constants used by the XML signature...
XML management: Use example
This application example manages an XML file named "Orders......
Constants for managing XML documents
List of constants used by the functions for managing XML documents....
Usage example of the XML types
The following examples is used to handle an XML document via the xmlDocument and cmlNode variables, ...
Modifying an SVG image (XML functions)
SVG (Scalable Vector Graphics) is a vector image format......
XMLInsertDocument (Function)
Inserts the current XML tag found in an XML document into another XML document.
XMLExtractDocument (Function)
Creates a new XML document from an existing XML document.
XMLInsertElement (Function)
Inserts an XML element (tag or attribute) into an XML document.
XMLRead (Function)
Returns the value of an XML element or the value of the attribute for an XML element.
XMLWrite (Function)
Creates or modifies the value of an XML element or the value of the attribute for an XML element.
XMLBuildString (Function)
Retrieves and formats the content of an XML document (created by XMLDocument and modified...
xmlNamespace (Type of variable)
The xmlNamespace type is used to handle the XML namespace of a node attribute in an XML document.
<xmlNode variable>.ValidNode (Function)
Validates an XML node, its children and its attributes from its description in the XSD schema...
XMLValidNode (Function)
Validates an XML node, its children and its attributes from its description in the XSD schema...
1
2
3
>