[Expat-discuss] (no subject)

Marco Forberg marco.forberg at gmx.net
Wed Dec 7 09:54:01 CET 2005


Hi,

i assume you want to retrieve the attributes from the atts argument in  
your StartElementHandler


typedef void
(*XML_StartElementHandler)(void *userData,
                            const XML_Char *name,
                            const XML_Char **atts);

Name and value are stored in the in the atts array like this

atts = [name, value, name, value, name, value, ..., NULL]

The NULL replaces the name beyond the end of the attribute list so you  
know there are no more attributes for this tag.


Am 07.12.2005, 06:27 Uhr, schrieb Yashpal Chawhan  
<yashpal.chawhan at iopsis.com>:

> Hello,
>
> How do i retrieve the value of attribute value for the attribute name.
>
> Yashpal A Chawhan
>
> Software Engineer
> Iopsis Software Pvt. Ltd.
>
>
>
>
> _______________________________________________
> Expat-discuss mailing list
> Expat-discuss at libexpat.org
> http://mail.libexpat.org/mailman/listinfo/expat-discuss
>




More information about the Expat-discuss mailing list