ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

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
Finds an XML namespace from its URI (Universal Resource Identifier) in a node and in the parents of this node.
Example
gcXMLDocument is xmlDocument
gcXMLDocument = XMLOpen("c:\temp\file.xml", fromFile)
 
cNode is xmlNode = gcXMLDocument..RootNode[1]
cNamespace is xmlNamespace = XMLFindNamespaceByURI(cNode, "http://schemas.xmlsoap.org/wsdl/")
 
IF ErrorOccurred = True THEN
Info("The namespace was not found")
ELSE
Info("Namespace found: ", cNamespace.Name)
END
Syntax
<Result> = XMLFindNamespaceByURI(<Source node> , <URI>)
<Result>: xmlNamespace variable
xmlNamespace variable corresponding to the namespace of sought URI.
<Source node>: xmlNode variable
Name the xmlNode variable that corresponds to the node of the XML document from which the namespace must be searched.
<URI>: Unicode string
URI of the namespace to find.
Business / UI classification: Business Logic
Component: wd290xml.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help