Re: (no subject)

"Marco Forberg" <[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <op.s1eocbwe3odusb@master-yoda>
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  
<[email protected]>:

> 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
> [email protected]
> http://mail.libexpat.org/mailman/listinfo/expat-discuss
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.