PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
XMLFindNamespaceByName (Function)
In French: XMLChercheNamespaceParNom
Finds an XML namespace according to its XML node and in the parents of the node.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
Java This function is now available for the Java applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
Java This function is now available for the Java applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Android This function is now available for the Android applications.
Java This function is now available for the Java applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android Widget This function is now available in Android Widget mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
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
Node of the XML document from which the search is performed.
<Namespace Name>: Unicode character string (with quotes)
Name of the namespace to find.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230xml.dll
Windows Mobile wp230xml.dll
Java wd230java.jar
Linux wd230xml.so
Android wd230android.jar
Minimum required version
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment