XML_GetElement_NS_URI
Funkcia %XML_GetElement_NS_URI
Funkcia
Funkcia vráti textový reťazec reprezentujúci názov namespace XML elementu.
Deklarácia
TEXT %XML_GetElement_NS_URI(
INT in node
)Parametre
node | Handle na XML element. |
Návratová hodnota
Popis
Funkcia vráti textový reťazec reprezentujúci názov namespace XML elementu. V prípade, že funkcia vráti neplatný výsledok, o chybe, ktorá nastala, je možné sa dozvedieť zavolaním funkcie %XML_GetLastErrorMessage.
Príklad
TEXT _namespace_uri
TEXT _errorCodeText
_namespace_uri := %XML_GetElement_NS_URI(%XML_Item(_iElement,0))
IF (!_namespace_uri\VLD) THEN
_errorCodeText := %XML_GetLastErrorMessage()
ENDIF Súvisiace stránky: