PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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.
Versions 17 and later
Java This function is now available for Java applications.
New in version 17
Java This function is now available for Java applications.
Java This function is now available for Java applications.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps 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
gcDocumentXML is xmlDocument
gcDocumentXML = XMLOpen("c:\temp\fichier.xml", fromFile)
 
cNoeud is xmlNode = gcDocumentXML..RootNode[1]
cNamespace is xmlNamespace = XMLFindNamespaceByName(cNoeud, "monnamepace")
 
IF ErrorOccurred = True THEN
Info("Le namespace n'a pas été trouvé.")
ELSE
Info("Namespace trouvé: ", cNamespace.URI)
END
Syntax
<Result> = XMLFindNamespaceByName(<XML node> , <Namespace name>)
<Result>: xmlNamespace variable
Namespace corresponding to the sought name.
<XML node>: xmlNode variable
Name of the Variable of type xmlNode corresponding to the node of the Document XML from which the search is performed.
<Namespace name>: Unicode string
Name of namespace to find.
Business / UI classification: Business Logic
Component: wd270xml.dll
Minimum version required
  • Version 15
This page is also available for…
Comments
Click [Add] to post a comment