PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV, WEBDEV, WINDEV Mobile 24 feature!
  • 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
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.
Versions 24 and later
<xmlDocument variable>.Save
<xmlDocument variable>.Save
Saves 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.
Versions 24 and later
<xmlNode variable>.ValidNode
<xmlNode variable>.ValidNode
Validates an XML node, its children and its attributes from its description in the XSD schema linked to the XML document.
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