ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

Category: XML file functions
92 results
<xmlDocument variable>.BuildString (Function)
Retrieves and formats the content of an XML document.
<xmlDocument variable>.ExecuteXPath (Function)
Executes an XPATH query in an xmlDocument variable.
<xmlDocument variable>.Save (Function)
Saves an XML document in a file.
<xmlDocument variable>.ValidDocument (Function)
Validates an XML document from an XSD schema.
<xmlDocument>.ToJSON (Function)
Converts an XML string to JSON.
<xmlNode variable>.FindNamespaceByName (Function)
Finds an XML namespace according to its XML node and in the parents of the node.
<xmlNode variable>.FindNamespaceByURI (Function)
Finds an XML namespace from its URI (Universal Resource Identifier) in a node and in the parents of this node.
<xmlNode variable>.ValidNode (Function)
Validates an XML node, its children and its attributes from its description in the XSD schema linked to the XML document.
<xmlNode>.ToJSON (Function)
Converts an XML string to JSON.
Constants for managing XML documents
List of constants used by the functions for managing XML documents.
JSONXMLConverter (Variable type)
The JSONXMLConverter type is used to define all the advanced characteristics of the conversion of an XML object to JSON (or conversely) via XMLToJSON and JSONToXML).
Management of XML
WINDEV, WINDEV Mobile and WEBDEV include several functions for handling XML code...
Managing the XSD
WINDEV, WEBDEV and WINDEV Mobile allow you to import files in XSD format.
Modifying an SVG image (XML functions)
SVG (Scalable Vector Graphics) is a vector image format...
TextToXML (Function)
Converts an ANSI string to an XML string.
Usage example of the XML types
The following examples is used to handle an XML document via the xmlDocument and cmlNode variables, ...
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...
XML management: Use example
This application example manages an XML file named "Orders...
XMLAddAttribute (Function)
Adds an attribute into an XML document.
XMLAddChild (Example)
Usage example of the XMLAddChild function
XMLAddChild (Function)
Adds a child tag into an XML document.
xmlAttribute (Variable type)
The xmlAttribute type is used to handle the attributes of a node in an XML document.
XMLBuildString (Example)
Usage example of the XMLBuildString function
XMLBuildString (Function)
Retrieves and formats the content of an XML document (created by XMLDocument and modified by the XML functions).
XMLCancelSearch (Function)
Cancels the search performed by XMLFind.
XMLChild (Example)
Usage example of the XMLChild function
XMLChild (Function)
Positions on the first child element of current element.
XMLChildExist (Function)
Specifies whether the current tag has children corresponding to the sought type (tag, attribute, ...).
XMLClose (Function)
Closes an XML document created by XMLDocument.
XMLData (Example)
Usage example of the XMLData function
XMLData (Function)
Returns the value of current element (tag or XML attribute) or the value of one of its attributes.
XMLDelete (Example)
Usage example of the XMLDelete function
XMLDelete (Function)
Deletes the current element (as well as the entire branch) from an XML document.
XMLDocument
The xmlDocument keyword can correspond to:
  • the XMLDocument function that is used to create a new XML document. For more details, see XMLDocument.
  • an xmlDocument variable. For more details, see xmlDocument.
XMLDocument (Example)
Usage example of the XMLDocument function
XMLDocument (Function)
Creates a new XML document.
xmlDocument (Variable type)
The xmlDocument type is used to handle an XML file.
XMLElementName (Example)
Usage example of the XMLElementName function
XMLElementName (Function)
Returns the name of current element (tag or attribute).
XMLElementType (Function)
Returns the type of current element (tag or attribute).
XMLExecuteXPath (Example)
Usage example of the XMLExecuteXPath function
XMLExecuteXPath (Function)
Executes an XPATH query:
  • in an XML document.
  • in an xmlDocument variable.
XMLExtractDocument (Function)
Creates a new XML document from an existing XML document.
XMLExtractString (Function)
Extracts the content of a tag found in an XML document.
XMLFind (Example)
Usage example of the XMLFind function
XMLFind (Function)
Performs a search in an XML document.
XMLFindNamespaceByName (Function)
Finds an XML namespace according to its XML node and in the parents of the node.
XMLFindNamespaceByURI (Function)
Finds an XML namespace from its URI (Universal Resource Identifier) in a node and in the parents of this node.
XMLFirst (Function)
Positions on the first element (tag or attribute) in the current tree level.
XMLFound (Function)
Checks whether the current element corresponds to the current browse or to the current search.
XMLInsertDocument (Function)
Inserts the current XML tag found in an XML document into another XML document.
XMLInsertElement (Function)
Inserts an XML element (tag or attribute) into an XML document.
XMLLast (Function)
Positions on the last element (tag or attribute) of the current tree level.
XMLModify (Function)
Modifies the content of the current element found in the XML document.
XMLNamespace (Function)
Returns the prefix of the namespace associated with the current tag in an XML document.
xmlNamespace (Variable type)
The xmlNamespace type is used to handle the XML namespace of a node attribute in an XML document.
XMLNamespaceURI (Function)
Returns the URI of the namespace associated with the current tag in an XML document.
XMLNext (Function)
Positionq on the next element (tag or attribute).
xmlNode (Variable type)
The xmlNode type is used to handle a node of an XML document.
XMLOpen (Function)
Loads an XML document from a file, a URL or a string into an xmlDocument variable.
XMLOpenReader (Example)
Usage example of XMLOpenReader
XMLOpenReader (Function)
Creates a reader used to read an XML document without loading it in memory.
XMLOut (Function)
Used to find out whether the element (tag or attribute) on which we want to be positioned is outside the XML document.
XMLParent (Example)
Usage example of the XMLParent function
XMLParent (Function)
Positions on the parent element of current element (tag or attribute).
XMLParentName (Function)
Returns the name of parent tag for the current element (tag or attribute).
XMLPath (Function)
Returns the current position in the document in XPATH format.
XMLPrevious (Function)
Positions on the previous element (tag or attribute).
XMLRead (Function)
Returns the value of an XML element or the value of the attribute for an XML element.
xmlReader (Variable type)
The xmlReader type is used to read an XML document without loading it in memory.
XMLRename (Function)
Renames the current element (tag or attribute) in an XML document.
XMLRestorePosition (Example)
Usage example of the XMLRestorePosition function
XMLRestorePosition (Function)
Restores the previously saved context of an XML document.
XMLResult (Function)
Returns the result of a calculation XPath query.
XMLRoot (Example)
Usage example of the XMLRoot function
XMLRoot (Function)
Positions on the root tag of an XML document.
XMLSave (Function)
Saves an XML document in a file.
XMLSavePosition (Example)
Usage example of the XMLSavePosition function
XMLSavePosition (Function)
Stores the current position in the XML document.
XMLSign (Function)
Signs an XML document.
xmlSignature (Variable type)
The xmlSignature type is used to define the advanced characteristics of an XML signature.
xmlSignatureVerification (Variable type)
The xmlSignatureVerification type is used to define the information required to verify an XML signature.
XMLToJSON (Function)
Converts an XML string to JSON.
XMLToText (Function)
Converts a character string in XML format into a standard character string.
XMLValidDocument (Function)
Validates an XML document from an XSD schema.
XMLValidNode (Function)
Validates an XML node, its children and its attributes from its description in the XSD schema linked to the XML document.
XMLVerifySignature (Function)
Verifies the signature of an XML node.
XMLWrite (Function)
Creates or modifies the value of an XML element or the value of the attribute for an XML element.
xmlXAdESSignature (Variable type)
The xmlXAdESSignature type is used to define all the advanced characteristics of a XAdES-compliant signature.
This variable type is only available in subscription-based versions, starting with WINDEV Suite 2025 - Update 3.
xpathResult (Variable type)
The xpathResult type is used it find out the result of the execution of an XPATH query.