Simple C Expat Wrapper (SCEW)  1.1.7
Files | Functions
Comparison

Attribute comparison routines. More...

Files

file  attribute.h
 SCEW attribute's handling routines.
 

Functions

SCEW_API scew_bool scew_attribute_compare (scew_attribute const *a, scew_attribute const *b)
 Performs a comparison between the two given attributes. More...
 

Detailed Description

Attribute comparison routines.

Function Documentation

SCEW_API scew_bool scew_attribute_compare ( scew_attribute const *  a,
scew_attribute const *  b 
)

Performs a comparison between the two given attributes.

That is, name and value must be equal in both attributes. Attribute's elements are not compared.

Remember that XML is case-sensitive.

Precondition
a != NULL
b != NULL
Returns
true if attributes are equal, false otherwise.