PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Principle for handling an XML document
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Principle for handling an XML document
Versions 17 and later
iPhone/iPad These functions are now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad These functions are now available for the iPhone/iPad applications.
iPhone/iPad These functions are now available for the iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This feature is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This feature is now available in Universal Windows 10 App mode.
Universal Windows 10 App This feature is now available in Universal Windows 10 App mode.
To manage an XML document, see Using an xmlDocument variable. This method allows you to use a XSD file.
Several types of specific variables are available:
Versions 15 and later
xmlAttribute
New in version 15
xmlAttribute
xmlAttribute
The xmlAttribute type is used to handle the attributes of a node in an XML document.
Versions 15 and later
xmlDocument
New in version 15
xmlDocument
xmlDocument
The xmlDocument type is used to handle an XML file.
Versions 15 and later
xmlNamespace
New in version 15
xmlNamespace
xmlNamespace
The xmlNamespace type is used to handle the XML namespace of a node attribute in an XML document.
Versions 15 and later
xmlNode
New in version 15
xmlNode
xmlNode
The xmlNode type is used to handle a node of an XML document.
Several specific functions can be used to handle the xmlDocument variables
<xmlDocument variable>.BuildStringRetrieves and formats the content of an XML document.
<xmlDocument variable>.ExecuteXPathRuns an XPATH query in an xmlDocument variable.
<xmlDocument variable>.SaveSaves an XML document in a file.
<xmlDocument variable>.ValidDocumentValidates an XML document from an XSD schema.
<xmlNode variable>.FindNamespaceByNameFinds an XML namespace according to its XML node and in the parents of the node.
<xmlNode variable>.FindNamespaceByURIFinds an XML namespace from its URI (Universal Resource Identifier) in a node and in the parents of this node.
<xmlNode variable>.ValidNodeValidates an XML node, its children and its attributes from its description in the XSD schema linked to the XML document.
Some functions are also linked to the management of XML:
Versions 09 and later
HExportXML
New in version 09
HExportXML
HExportXML
Exports the records found in a data file (HFSQL or OLE DB), view or query to an XML file.
Versions 09 and later
HImportXML
New in version 09
HImportXML
HImportXML
Imports an XML file into a data file in HFSQL Classic or Client/Server format (data file described in the data model editor or declared by HDeclare, HDeclareExternal or HDescribeFile).
Versions 09 and later
HRecordToXML
New in version 09
HRecordToXML
HRecordToXML
Retrieves the structure and the value of the current record and exports them into a character string in XML format.
Versions 09 and later
J2EERunXML
New in version 09
J2EERunXML
J2EERunXML
Runs a procedure on a server of J2EE XML Web services.
Versions 10 and later
<Looper>.ToXML
New in version 10
<Looper>.ToXML
<Looper>.ToXML
Creates an XML file with the data found in a Looper control (browsing Looper control or memory Looper control).
Versions 09 and later
SOAPRunXML
New in version 09
SOAPRunXML
SOAPRunXML
Runs a procedure on a SOAP server.
Versions 09 and later
TableToXML
New in version 09
TableToXML
TableToXML
Creates an XML file from the data found in a Table or TreeView Table control .
Related Examples:
Reading and writing in XML format Unit examples (WINDEV): Reading and writing in XML format
[ + ] Using the XMLxxx functions to:
- Create an XML document
- Read an XML document
XML parser Unit examples (WINDEV): XML parser
[ + ] Studying the content of an XML file via the XMLxxx functions of WINDEV
WD Syntactic Coloring Training (WINDEV): WD Syntactic Coloring
[ + ] This example proposes a base class used to perform a standard syntactic coloring on some text.
This coloring is based on a rough analysis of the lemmes found in a text in order to identify the elements of a programming language for instance.
It can be overloaded or derived in order to customize the system and the coloring language.
This example is used to color SQL code and XML code but it can be extended to color other languages or other text formats.
WD Multimedia Complete examples (WINDEV): WD Multimedia
[ + ] This example explains how to play videos (AVI, MPEG, and so on), sounds (AUDIO CD, MP3, WAV) and animations (Flash) with the WLanguage functions. The following topics are presented in this example:
1/ how to handle the sounds and the videos in WLanguage
2/ how to exploit a "Flash" animation
3/ how to clip windows
4/ how to manage a playlist
5/ how to generate playlists with the XML functions
Summary of the example supplied with WINDEV:
This example is used to read all types of multimedia files. It manages a playlist that can be modified, saved and opened.
This example helps you include multimedia resources in your applications.
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment