| iMatix home page
| << | < | > | >>
SFL Logo SFL
Version 2.10

 

xml_first_attr

#include "sflxml.h"
XML_ATTR *
xml_first_attr (XML_ITEM *item)

Synopsis

Returns the first attribute of a specified XML item, or NULL if there are none.

Source Code - (sflxml.c)

{
    ASSERT (item);

    if (!list_empty (&item-> attrs))
        return item-> attrs. next;
    else
        return NULL;
}

| << | < | > | >> iMatix Copyright © 1996-99 iMatix Corporation