XML_GET_NUMBER_OF_ATTRIBUTES
|
Syntax: |
XML_GET_NUMBER_OF_ATTRIBUTES |
|
|
|
|
Meaning: |
XML
elements may contain parameters, e.g. <port protocol="tcp"
portid="1">. The XML element <port> contains two
parameters: protocol and portid. When the function XML_PARSER is executed and the macro is called
after processing a begin element (EBUS_DATA = 1),
XML_GET_NUMBER_OF_ATTRIBUTES contains the number of the parameters of the XML
element. XML_GET_ATTRIBUTE_NAME$
and XML_GET_ATTRIBUTE_VALUE$
return the parameter names and the parameter values. |
|
See also: |
|