| iMatix home page | << | < | > | >> |
SFL Version 2.10 |
#include "sflxml.h" XML_ATTR * xml_attr ( XML_ITEM *item, const char *name)
Searches for the attribute with the specified (lower-case) 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 (attr-> name ? lexcmp (attr-> name, name) == 0 : FALSE) return (attr); return (NULL); }
| << | < | > | >> | Copyright © 1996-99 iMatix Corporation |