[libxml++] (no subject)



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/







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