ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / XML file functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Constants for managing XML documents
ConstantDescriptionUsed by the functions
fromFileLoads an XML document from a file.XMLOpen
fromStringLoads an XML document from a string or from a buffer.XMLOpen
fromURLLoads an XML document from an URL.XMLOpen
xdHTMLHTML document. This constant is used to optimize the operating mode of XMLBuildString.XMLDocument
xHTMLIndicates that the XML document contains HTML.
Caution: This constant is not available anymore.
XMLDocument
XMLAttributeIndicates that the element is an attribute.XMLChildExist,
XMLElementType,
XMLFind
XMLCDATAIndicates that a node contains rough data.xmlNode variables
XMLChildItemThe search will be performed in the current level and in all the descending branches of the current level of tree structureXMLFind
XMLContainsThe search will be used to select all the elements that contain a specified set of characters.XMLData,
XMLFind
XMLContinueAn "ascending" or "descending" search will be performed in the tree structure.XMLFind
XMLCurrentLevelThe search will be performed in the current level of tree structure.XMLFind
XMLCurrentPositionGenerates the XML code from the current position in the XML document (instead of the root).XMLBuildString
XMLDocumentDefaultBuilds an XML document with a default header.XMLBuildString, XMLSave
XMLElementIndicates that the element can be an attribute or a tag.XMLFind
XMLEncodingAmpersandIf the "&" (ampersand) character is found in the value of the added tag, it will be encoded using the "&" format.
If this option value is not specified, the "&" character will be kept without modification.
XMLAddChild
XMLEncodingIso8859_1Encoding according to the Latin character set.rssDisplay,
rssBuildString,
rssSave,
XMLBuildString
XMLEncodingIso8859_2Encoding according to Iso8859_2.rssDisplay,
rssBuildString,
rssSave,
XMLBuildString
XMLEncodingIso8859_3Encoding according to Iso8859_3.rssDisplay,
rssBuildString,
rssSave,
XMLBuildString
XMLEncodingIso8859_4Encoding according to Iso8859_4.rssDisplay,
rssBuildString,
rssSave,
XMLBuildString
XMLEncodingIso8859_5Encoding according to Iso8859_5.rssDisplay,
rssBuildString,
rssSave,
XMLBuildString
XMLEncodingIso8859_6Encoding according to Iso8859_6.rssDisplay,
rssBuildString,
rssSave,
XMLBuildString
XMLEncodingIso8859_7Encoding according to Iso8859_7.rssDisplay,
rssBuildString,
rssSave,
XMLBuildString
XMLEncodingIso8859_8Encoding according to Iso8859_8.rssDisplay,
rssBuildString,
rssSave,
XMLBuildString
XMLEncodingIso8859_9Encoding according to Iso8859_9.rssDisplay,
rssBuildString,
rssSave,
XMLBuildString
XMLEncodingIso8859_15Latin-9 encoding.rssDisplay,
rssBuildString,
rssSave,
XMLBuildString
XMLEncodingUTF8UNICODE 8 encoding.rssDisplay,
rssBuildString,
rssSave,
XMLBuildString
XMLEncodingUTF16UNICODE encoding.rssDisplay,
rssBuildString,
rssSave,
XMLBuildString
XMLErrorThe type of the element was not recognized.XMLElementType
XMLExactPerforms an exact-match and case-sensitive search.XMLExtractString, XMLFind
XMLFormattingSaves the XML document with a formatting (indent and carriage returns).XMLBuildString, XMLSave
XMLIgnoreCasePerforms an exact-match search while ignoring the case.XMLExtractString, XMLFind
New in version 2024
XMLKeepEmptyTextNode
Keeps text nodes containing only blank characters (space, tab, RC).. This constant is required if the XMLVerifySignature function is to be used.. XMLOpen
XMLNextElementThe insertion is performed just after the current tag, in the same branch.XMLInsertDocument,
XMLInsertElement
XMLNoEncodingNo encoding.rssDisplay,
rssBuildString,
rssSave,
XMLBuildString
XMLNoHeaderBuilds an XML document without adding any header.XMLBuildString, XMLSave
XMLPreviousElementThe insertion is performed just before the current tag, in the same branch.XMLInsertDocument,
XMLInsertElement
XMLReaderCDATAType of node: CDATA section. xmlReader type
XMLReaderCommentType of node: Comments. xmlReader type
XMLReaderDocumentTypeType of node: DOCTYPE declaration. xmlReader type
XMLReaderEmptyElementTagType of node: Empty tag. xmlReader type
XMLReaderEndTagType of node: End of tag. xmlReader type
XMLReaderEntityType of node: Entity declaration.xmlReader type
XMLReaderEntityReferenceType of node: Reference to an entity. xmlReader type
XMLReaderNoneType of node: Does not correspond to a node. xmlReader type
XMLReaderProcessingInstructionType of node: Processing statement. xmlReader type
XMLReaderStartTagType of node: Start of tag. xmlReader type
XMLReaderTextType of node: Text. xmlReader type
XMLReaderUnknownType of node: Unknown type. xmlReader type
XMLRPDefaultThe position is freed. The stored position is restored.XMLRestorePosition
XMLRPFilterRestores the filter implemented by XMLSavePosition.XMLRestorePosition
XMLRPKeepThe position is not freed (XMLRestorePosition can be called again on this position).XMLRestorePosition
XMLStartWithThe search will be used to select all the elements that start with a specified set of characters.XMLData,
XMLFind
XMLTagIndicates that the element is a tag.XMLElementType,
XMLFind,
xmlNode variables
XMLTextIndicates that a node contains text.xmlNode variables
XMLValueIndicates that the sought element is a value (of tag or attribute).XMLFind
XMLWithNamespaceSearch performed on the elements containing a namespace.XMLFind
xvNoValidationSaves the XML document without taking into account the XSD model specified when describing the XML document.XMLSave
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 02/01/2024

Send a report | Local help