[libxml++] setting root element



Hi,

 

Since libxml++ does not provide API to set root element, I am trying to call libxml2 call  xmlDocSetRootElement(__xmlDoc*,_xmlNode*), and I can't get the _xmlDoc* from libxml++ Document* since it's private. Has anybody tried it before and or have any idea how to get there?

 

Thanks.



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