Hi all, I have two questions regards to htmlReadMemory. This function is htmlDocPtr htmlReadMemory (const char * buffer, int size, const char * URL, const char * encoding, int options)
I don't understand the meaning of: URL: the base URL to use for the document For example if the url is http://arianna.libero.it/ricerca_avanzata.html, what's the base URL? The second question is about encoding. I have a buffer with my html code: can I pass it to htmlReadMemory with encoding=NULL and hope that it automatically discovers the rigth encoding of the page? If I use HTML_PARSE_NOERROR | HTML_PARSE_NOWARNING as options, the non well formed errors are suppresed? Regards --Marco ------------------------------------------------------------------------- NUOVA WEBMAIL DI INTERFREE! Da oggi Interfree offre a tutti i suoi utenti un nuovissimo servizio di WebMail tra i pił evoluti e una qualitą professionale che si rinnova di continuo: - Controllo antivirus - Filtro antispamming - Configurazione di account esterni - Accesso gratuito a InterDrive dove salvare e organizzare i tuoi file da qualsiasi computer e in qualsiasi momento ... Iscriviti gratuitamente all'indirizzo http://www.interfree.it e prova il nuovo servizio! Lo Staff di Interfree ------------------------------------------------------------------------- _______________________________________________ xml mailing list, project page http://xmlsoft.org/ xml@gnome.org http://mail.gnome.org/mailman/listinfo/xml