PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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>.FindNamespaceByName (Function)
In french: <Variable xmlNoeud>.ChercheNamespaceParNom
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 = cNode.FindNamespaceByName("mynamespace")

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