Hi,
You're right, the backend function used is not the good one.
The problem is also present in v2.6.
I'll fix it in the CVS.
In the next API, we could add a "add_content" function.
Thanks,
Christophe
mar...@ti... wrote:
>Hi All!
>I am newbye in xml and probably what I say is incorrect.
>
>In the method ContentNode::set_content there is a xmlNodeAddContent(cobj(),
>(xmlChar*)content.c_str());
>but I think it should be xmlNodeSetContent(cobj(), (xmlChar*)content.c_str());
>
>I view this line in libxml++-1.0.2, and also in libxml++0.26.0.
>I modify this line with the modification suggested and it works fine for
>me (before this change I saw a result of such an append operation, not a
>'set').
>
>Regards,
> Marcello
>
>__________________________________________________________________
>Social price: l'ADSL diventa per tutti
>Tiscali ADSL Senza Canone 640Kbps: GRATIS fino al 3 maggio costo
>di adesione, attivazione e il modem per tutto il 2004. E per i primi 3 mesi,
>con il Tiscali social price, navighi a 1,5 euro l'ora! Affrettati!
>http://point.tiscali.it/adsl/prodotti/640Kbps/
>
>
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
>For a limited time only, get FREE Ground shipping on all orders of $35
>or more. Hurry up and shop folks, this offer expires April 30th!
>http://www.thinkgeek.com/freeshipping/?cpg297
>_______________________________________________
>Libxmlplusplus-general mailing list
>Lib...@li...
>https://lists.sourceforge.net/lists/listinfo/libxmlplusplus-general
>
>
>
>
|