| iMatix home page | << | < | > | >> |
SFL Version 2.11 |
#include "sflxml.h" char * xml_get_attr_ic ( XML_ITEM *item, const char *name, const char *deflt, Bool ignore_case)
Returns the value for the specified attribute, if it exists. Otherwise returns the default value. If the paramater 'ignore_case' is TRUE, the case of the attribute name is insignificant.
{ XML_ATTR *attr; ASSERT (item); ASSERT (name); attr = xml attr ic (item, name, ignore_case); if (attr) return (attr-> value); else return ((char *) deflt); }
| << | < | > | >> | Copyright © 1996-2000 iMatix Corporation |