Porovnávané verzie

Kľúč

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

%XML_GetElement_NS_Prefix function


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


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


nodeHandle to XML element.
Return value
 
Description
The function returns a text string that represents the namespace prefix 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_prefix 
 TEXT _errorCodeText 
 
 _namespace_prefix := %XML_GetElement_NS_Prefix(%XML_Item(_iElement,0))
 IF (!_namespace_prefix\VLD) THEN 
 _errorCodeText := %XML_GetLastErrorMessage()
 ENDIF