version 1.46, 2008/06/18 18:12:00
|
version 1.47, 2008/08/07 18:03:48
|
|
|
} | } |
| |
const XmlAttribute* XmlEntry::findAttribute( | const XmlAttribute* XmlEntry::findAttribute( |
int nsType, |
int attrNsType, |
const char* name) const | const char* name) const |
{ | { |
for (Uint32 i = 0, n = attributes.size(); i < n; i++) | for (Uint32 i = 0, n = attributes.size(); i < n; i++) |
{ | { |
if ((attributes[i].nsType == nsType) && |
if ((attributes[i].nsType == attrNsType) && |
(strcmp(attributes[i].localName, name) == 0)) | (strcmp(attributes[i].localName, name) == 0)) |
{ | { |
return &attributes[i]; | return &attributes[i]; |