Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 8e412c6ae4e9dc4ce4e111b93c4a8d4a > files > 73

libupnp-devel-1.6.6-2mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<HTML>
<HEAD>
   <TITLE>EXPORT_SPEC int ixmlDocument_importNode</TITLE>
   <META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
</HEAD>
<BODY BGCOLOR="#ffffff">

<H2>EXPORT_SPEC int <A HREF="#DOC.DOCU">ixmlDocument_importNode</A></H2><H2>(IXML_Document* doc,<BR>&nbsp;  IXML_Node* importNode,<BR>&nbsp;  <!1><A HREF="index.html#DOC.1.3">BOOL</A> deep,<BR>&nbsp;  IXML_Node** rtNode )</H2><BLOCKQUOTE>Imports a <B>Node</B> from another <B>Document</B> into this  <B>Document</B>.</BLOCKQUOTE>

<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>Imports a <B>Node</B> from another <B>Document</B> into this 
<B>Document</B>.  The new <B>Node</B> does not a have parent node: it is a 
clone of the original <B>Node</B> with the <TT>ownerDocument</TT> set to 
<B>doc</B>.  The <B>deep</B> parameter controls whether all the children 
of the <B>Node</B> are imported.  Refer to the DOM2-Core recommendation 
for details on importing specific node types.

<P></BLOCKQUOTE>
<DL><DT><DT><B>Parameters:</B><DD><B>doc</B> -   The <B>Document</B> into which to import. 
<BR><B>importNode</B> -   The <B>Node</B> to import. 
<BR><B>deep</B> -   <TT>TRUE</TT> to import all children of <B>
importNode</B> or <TT>FALSE</TT> to import only the 
root node. 
<BR><B>rtNode</B> -   A pointer to a new <B>Node</B> owned by <B>
doc</B>. <BR><DT><B>Returns:</B><DD>  [int] An integer representing one of the following:
<UL>
<LI> <TT>IXML_SUCCESS</TT>: The operation completed successfully.
<LI> <TT>IXML_INVALID_PARAMETER</TT>: Either <B>doc</B> or 
<B>importNode</B> is not a valid pointer.
<LI> <TT>IXML_NOT_SUPPORTED_ERR</TT>: <B>importNode</B> is a 
<B>Document</B>, which cannot be imported.
<LI> <TT>IXML_FAILED</TT>: The import operation failed because the 
<B>Node</B> to be imported could not be cloned.
</UL>
<BR><DD></DL><P><P><I><A HREF="index.html">Alphabetic index</A></I></P><HR>
<BR>
This page was generated with the help of <A HREF="http://docpp.sourceforge.net">DOC++</A>.
</BODY>
</HTML>