Gets the next attribute.

Syntax

XML_Attribute *XML_NextAttribute(
  XML_Attribute *attribute,
  int *ErrCode
);

Parameters

attribute
[in] A pointer to the XML_Attribute structure of the attribute.
ErrCode
[out] A pointer to a variable that returns an error code. Specify NULL when no error code is required.

Return value

Returns a pointer to the XML_Attribute structure if the function succeeds, otherwise NULL.

Remarks

If the next attribute is linked to the specified attribute, returns a pointer to the XML_Attribute structure of the next attribute, NULL otherwise.

If the function fails, it returns NULL and ErrCode returns the following error code:

Error codeDescription
XML_INVALID_PARAMETER_ERRORParameter error
XML_NOT_FOUNDThe next attribute was not found.

Requirements

Header file:
XML.h
CodeConversion.h : ver. 1.1.1 or later.
Library file:
libXML.a
libCodeConversion.a : ver.1.1.1 or later
libSTARTUPOPH5000.a

See also

Last updated: 2021/10/21