| iMatix home page | << | < | > | >> |
![]() Version 1.91 |
#include "sflxml.h" XML_ATTR * xml_attr ( XML_ITEM *item, const char *name)
Searches for the attribute with the specified name; if found, returns the address of the attribute node, otherwise returns NULL.
{ XML_ATTR *attr; ASSERT (item); ASSERT (name); FORLIST (attr, item-> attrs) if (streq (attr-> name, name)) return (attr); return (NULL); }
| << | < | > | >> |
![]() |