%XML_NodeType function


Function
The function return the type of defined XML element.
Declaration
INT %XML_NodeType(
    INT in node
 )

Parameters
node Handle to XML node.

Return value
Type of given XML node.
Description
Overview of known types: 1 Element 2 Attribute 3 CDATA section 4 Entity reference 5 Entity 6 Processing instruction 7 Text 8 Comment 9 Document 10 Document type 11 Document fragment 12 Notation
Example
 INT _type
 _type := %XML_NodeType(_el)
 

Napíšte komentár