Re: [libxml++] setting root element



On Fri, 2004-09-03 at 15:31 -0500, Sukanta Baliarsingh wrote:
> Since libxml++ does not provide API to set root element,

I think you're probably wrong. I think Document::create_root_node()
probably does what you want.

If you are familiar with the C API then it is often a good idea to grep
the libxml++ source code to see where we use it.

>  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?

-- 
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com






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