PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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
Finds an XML namespace according to its XML node and in the parents of the node.
Example
gcXMLDocument is xmlDocument
gcXMLDocument = XMLOpen("c:\temp\file.xml", fromFile)
 
cNode is xmlNode = gcXMLDocument..RootNode[1]
cNamespace is xmlNamespace = XMLFindNamespaceByName(cNode, "mynamespace")
 
IF ErrorOccurred = True THEN
Info("The namespace was not found.")
ELSE
Info("Namespace found: ", cNamespace.URI)
END
Syntax
<Result> = XMLFindNamespaceByName(<XML node> , <Namespace name>)
<Result>: xmlNamespace variable
Namespace corresponding to the sought name.
<XML node>: xmlNode variable
Name the xmlNode variable that corresponds to the node of the XML document from which the search is performed.
<Namespace name>: Unicode string
Name of namespace to find.
Business / UI classification: Business Logic
Component: wd280xml.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment