libupnp/docs/dist/html/ixml/ixmlElement_setAttributeNS.html
2006-07-06 12:37:29 +00:00

45 lines
2.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>EXPORT_SPEC int ixmlElement_setAttributeNS</TITLE>
<META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H2>EXPORT_SPEC int <A HREF="#DOC.DOCU">ixmlElement_setAttributeNS</A></H2><H2>(IXML_Element* element,<BR>&nbsp; DOMString namespaceURI,<BR>&nbsp; DOMString qualifiedName,<BR>&nbsp; DOMString value )</H2><BLOCKQUOTE>Adds a new attribute to an <B>Element</B> using the local name and namespace URI.</BLOCKQUOTE>
<A NAME="DOC.DOCU"></A>
<HR>
<H2>Documentation</H2>
<BLOCKQUOTE>Adds a new attribute to an <B>Element</B> using the local name and
namespace URI. If another attribute matches the same local name and
namespace, the prefix is changed to be the prefix part of the
<TT>qualifiedName</TT> and the value is changed to <B>value</B>.
<P></BLOCKQUOTE>
<DL><DT><DT><B>Parameters:</B><DD><B>element</B> - The <B>Element</B> on which to set the
attribute.
<BR><B>namespaceURI</B> - The namespace URI of the new attribute.
<BR><B>qualifiedName</B> - The qualified name of the attribute.
<BR><B>value</B> - The new value for the attribute. <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>element</B>,
<B>namespaceURI</B>, <B>qualifiedName</B>, or <B>value</B> is
<TT>NULL</TT>.
<LI> <TT>IXML_INVALID_CHARACTER_ERR</TT>: <B>qualifiedName</B> contains
an invalid character.
<LI> <TT>IXML_NAMESPACE_ERR</TT>: Either the <B>qualifiedName</B> or
<B>namespaceURI</B> is malformed. Refer to the DOM2-Core for
possible reasons.
<LI> <TT>IXML_INSUFFICIENT_MEMORY</TT>: Not enough free memory exist
to complete the operation.
<LI> <TT>IXML_FAILED</TT>: The operation could not be completed.
</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>