[libcroco-list] Re: CSS



On Thu, 2003-07-10 at 09:11, Dodji Seketeli wrote:
> Well, you can use cr_parser_parse_declaration (). But you are right,
> You have to loop over the list of attribute yourself.
> We can write a cr_parser_parse_decls_list () that does this.
> This a matter of a couple of minutes. I can write it for you if you
> need it.

Hmm, it might be a good thing for me to write, to learn libcroco better.

I'll try doing it the manual way in Sodipodi first, then when I'm able I
can merge that into libcroco, I think.

> If you want an example of how to retrieve characters from the
> parser input stream, you can see the the code of
> cr_parser_parse_ruleset at
> http://www.freespiders.org/projects/libcroco/docs/apidoc/0.2/cr-parser_8c-source.html#l03922

Thanks a bunch ^_^

-mental

Attachment: signature.asc
Description: This is a digitally signed message part



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