PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV, WEBDEV, WINDEV Mobile 24 feature!
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
<xmlNode variable>.FindNamespaceByURI (Function)
In french: <Variable xmlNoeud>.ChercheNamespaceParURI
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 = cNode.FindNamespaceByURI("http://schemas.xmlsoap.org/wsdl/")

IF ErrorOccurred = True THEN
Info("The namespace was not found")
ELSE
Info("Namespace found: ", cNamespace..Name)
END
Syntax
<Result> = <Source node>.FindNamespaceByURI(<URI>)
<Result>: xmlNamespace variable
xmlNamespace variable corresponding to the namespace of sought URI.
<Source node>: xmlNode variable
Name of xmlNode variable corresponding to the node of XML document from which the namespace will be sought.
<URI>: Unicode character string (with quotes)
URI of the namespace to find.
Component : wd240xml.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment