|
|
|
|
|
|
Category: XML file functions |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Retrieves and formats the content of an XML document. |
|
|
|
|
|
|
Executes an XPATH query in an xmlDocument variable. |
|
|
|
|
|
|
Saves an XML document in a file. |
|
|
|
|
|
|
Validates an XML document from an XSD schema. |
|
|
|
|
|
|
Converts an XML string to JSON. |
|
|
|
|
|
|
Finds an XML namespace according to its XML node and in the parents of the node. |
|
|
|
|
|
|
Finds an XML namespace from its URI (Universal Resource Identifier) in a node and in the parents of this node. |
|
|
|
|
|
|
Validates an XML node, its children and its attributes from its description in the XSD schema linked to the XML document. |
|
|
|
|
|
|
Converts an XML string to JSON. |
|
|
|
|
|
|
List of constants used by the functions for managing XML documents. |
|
|
|
|
|
|
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). |
|
|
|
|
|
|
WINDEV, WINDEV Mobile and WEBDEV include several functions for handling XML code... |
|
|
|
|
|
|
WINDEV, WEBDEV and WINDEV Mobile allow you to import files in XSD format. |
|
|
|
|
|
|
SVG (Scalable Vector Graphics) is a vector image format... |
|
|
|
|
|
|
Converts an ANSI string to an XML string. |
|
|
|
|
|
|
The following examples is used to handle an XML document via the xmlDocument and cmlNode variables, ... |
|
|
|
|
|
|
Starting with version 23, an XML parser is available to handle XML files that are multiple GB in size... |
|
|
|
|
|
|
This application example manages an XML file named "Orders... |
|
|
|
|
|
|
Adds an attribute into an XML document. |
|
|
|
|
|
|
Usage example of the XMLAddChild function |
|
|
|
|
|
|
Adds a child tag into an XML document. |
|
|
|
|
|
|
The xmlAttribute type is used to handle the attributes of a node in an XML document.
|
|
|
|
|
|
|
Usage example of the XMLBuildString function |
|
|
|
|
|
|
Retrieves and formats the content of an XML document (created by XMLDocument and modified by the XML functions). |
|
|
|
|
|
|
Cancels the search performed by XMLFind. |
|
|
|
|
|
|
Usage example of the XMLChild function |
|
|
|
|
|
|
Positions on the first child element of current element. |
|
|
|
|
|
|
Specifies whether the current tag has children corresponding to the sought type (tag, attribute, ...). |
|
|
|
|
|
|
Usage example of the XMLData function |
|
|
|
|
|
|
Returns the value of current element (tag or XML attribute) or the value of one of its attributes. |
|
|
|
|
|
|
Usage example of the XMLDelete function |
|
|
|
|
|
|
Deletes the current element (as well as the entire branch) from an XML document. |
|
|
|
|
|
|
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.
|
|
|
|
|
|
|
Usage example of the XMLDocument function |
|
|
|
|
|
|
Creates a new XML document. |
|
|
|
|
|
|
The xmlDocument type is used to handle an XML file. |
|
|
|
|
|
|
Usage example of the XMLElementName function |
|
|
|
|
|
|
Returns the name of current element (tag or attribute). |
|
|
|
|
|
|
Returns the type of current element (tag or attribute). |
|
|
|
|
|
|
Usage example of the XMLExecuteXPath function |
|
|
|
|
|
|
Executes an XPATH query: - in an XML document.
- in an xmlDocument variable.
|
|
|
|
|
|
|
Creates a new XML document from an existing XML document. |
|
|
|
|
|
|
Extracts the content of a tag found in an XML document. |
|
|
|
|
|
|
Usage example of the XMLFind function |
|
|
|
|
|
|
Performs a search in an XML document. |
|
|
|
|
|
|
Finds an XML namespace according to its XML node and in the parents of the node. |
|
|
|
|
|
|
Finds an XML namespace from its URI (Universal Resource Identifier) in a node and in the parents of this node. |
|
|
|
|
|
|
Positions on the first element (tag or attribute) in the current tree level. |
|
|
|
|
|
|
Checks whether the current element corresponds to the current browse or to the current search. |
|
|
|
|
|
|
Inserts the current XML tag found in an XML document into another XML document. |
|
|
|
|
|
|
Inserts an XML element (tag or attribute) into an XML document. |
|
|
|
|
|
|
Positions on the last element (tag or attribute) of the current tree level. |
|
|
|
|
|
|
Modifies the content of the current element found in the XML document. |
|
|
|
|
|
|
Returns the prefix of the namespace associated with the current tag in an XML document. |
|
|
|
|
|
|
The xmlNamespace type is used to handle the XML namespace of a node attribute in an XML document. |
|
|
|
|
|
|
Returns the URI of the namespace associated with the current tag in an XML document. |
|
|
|
|
|
|
Positionq on the next element (tag or attribute). |
|
|
|
|
|
|
The xmlNode type is used to handle a node of an XML document. |
|
|
|
|
|
|
Loads an XML document from a file, a URL or a string into an xmlDocument variable. |
|
|
|
|
|
|
Usage example of XMLOpenReader |
|
|
|
|
|
|
Creates a reader used to read an XML document without loading it in memory. |
|
|
|
|
|
|
Used to find out whether the element (tag or attribute) on which we want to be positioned is outside the XML document. |
|
|
|
|
|
|
Usage example of the XMLParent function |
|
|
|
|
|
|
Positions on the parent element of current element (tag or attribute). |
|
|
|
|
|
|
Returns the name of parent tag for the current element (tag or attribute). |
|
|
|
|
|
|
Returns the current position in the document in XPATH format. |
|
|
|
|
|
|
Positions on the previous element (tag or attribute). |
|
|
|
|
|
|
Returns the value of an XML element or the value of the attribute for an XML element. |
|
|
|
|
|
|
The xmlReader type is used to read an XML document without loading it in memory. |
|
|
|
|
|
|
Renames the current element (tag or attribute) in an XML document. |
|
|
|
|
|
|
Usage example of the XMLRestorePosition function |
|
|
|
|
|
|
Restores the previously saved context of an XML document. |
|
|
|
|
|
|
Returns the result of a calculation XPath query. |
|
|
|
|
|
|
Usage example of the XMLRoot function |
|
|
|
|
|
|
Positions on the root tag of an XML document. |
|
|
|
|
|
|
Saves an XML document in a file. |
|
|
|
|
|
|
Usage example of the XMLSavePosition function |
|
|
|
|
|
|
Stores the current position in the XML document. |
|
|
|
|
|
|
The xmlSignature type is used to define the advanced characteristics of an XML signature. |
|
|
|
|
|
|
The xmlSignatureVerification type is used to define the information required to verify an XML signature. |
|
|
|
|
|
|
Converts an XML string to JSON. |
|
|
|
|
|
|
Converts a character string in XML format into a standard character string. |
|
|
|
|
|
|
Validates an XML document from an XSD schema. |
|
|
|
|
|
|
Validates an XML node, its children and its attributes from its description in the XSD schema linked to the XML document. |
|
|
|
|
|
|
Verifies the signature of an XML node. |
|
|
|
|
|
|
Creates or modifies the value of an XML element or the value of the attribute for an XML element. |
|
|
|
|
|
|
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. |
|
|
|
|
|
|
The xpathResult type is used it find out the result of the execution of an XPATH query. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|