Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%XML_GetElement_NS_URI function


Function
The function returns a text string that represents the name of a namespace of an XML element.
Declaration


Blok kódu
languageesl
themeConfluence
TEXT %XML_GetElement_NS_URI(
   INT in node
 )
Parameters


nodeHandle to XML element.
Return value
 
Description
The function returns a text string that represents the name of a namespace of an XML element. If the function returns an invalid result, you may find out the information about error by calling the function %XML_GetLastErrorMessage.
Example


Blok kódu
languageesl
themeRDark
 TEXT _namespace_uri 
 TEXT _errorCodeText 
 
 _namespace_uri := %XML_GetElement_NS_URI(%XML_Item(_iElement,0))
 IF (!_namespace_uri\VLD) THEN 
 _errorCodeText := %XML_GetLastErrorMessage()
 ENDIF