|
|
|
|
|
<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.
gcDocumentXML is xmlDocument
gcDocumentXML = XMLOpen("c:\temp\fichier.xml", fromFile)
cNoeud is xmlNode = gcDocumentXML..RootNode[1]
cNamespace is xmlNamespace = cNoeud.FindNamespaceByURI("http://schemas.xmlsoap.org/wsdl/")
IF ErrorOccurred = True THEN
Info("Le namespace n'a pas été trouvé")
ELSE
Info("Namespace trouvé : ", 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 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|