Re: [xml] xmlNodePtr to xmlDocPtr



On Mon, Sep 29, 2003 at 10:50:27PM -0700, Manu M P wrote:

Is there any direct API to convert xmlNodePtr to xmlDocPtr?

  No. But you can usually cast from xmlDocPtr to xmlNodePtr without
consequences.

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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