Re: [xml] Need a API that iterates through Attributes on a givne node



Today at 19:58, Danilo Åegan wrote:

At least that's how Python bindings and xmlNode.properties (or
.get_properties()) seem to work.  So, I may be wrong, but even C
implementation of properties seems to indicate this is the case.

Actually, this implementation does the following:

    if (cur->type == XML_ELEMENT_NODE)
        res = cur->properties;
    else
        res = NULL;

So, this is probably what you're after.

Cheers,
Danilo



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]