<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE>EXPORT_SPEC IXML_Element* ixmlDocument_createElement</TITLE> <META NAME="GENERATOR" CONTENT="DOC++ 3.4.10"> </HEAD> <BODY BGCOLOR="#ffffff"> <H2>EXPORT_SPEC IXML_Element* <A HREF="#DOC.DOCU">ixmlDocument_createElement</A></H2><H2>(IXML_Document* doc,<BR> const DOMString tagName )</H2><BLOCKQUOTE>Creates a new <B>Element</B> node with the given tag name.</BLOCKQUOTE> <A NAME="DOC.DOCU"></A> <HR> <H2>Documentation</H2> <BLOCKQUOTE>Creates a new <B>Element</B> node with the given tag name. The new <B>Element</B> node has a <TT>nodeName</TT> of <B>tagName</B> and the <TT>localName</TT>, <TT>prefix</TT>, and <TT>namespaceURI</TT> set to <TT>NULL</TT>. To create an <B>Element</B> with a namespace, see <B>ixmlDocument_createElementNS</B>. <P></BLOCKQUOTE> <DL><DT><DT><B>Parameters:</B><DD><B>doc</B> - The owner <B>Document</B> of the new node. <BR><B>tagName</B> - The tag name of the new <B>Element</B> node. <BR><DT><B>Returns:</B><DD> [Document*] A pointer to the new <B>Element</B> or <TT>NULL</TT> on failure. <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>