 ebac5fe596
			
		
	
	ebac5fe596
	
	
	
		
			
			git-svn-id: https://pupnp.svn.sourceforge.net/svnroot/pupnp/trunk@45 119443c7-1b9e-41f8-b6fc-b9c35fce742c
		
			
				
	
	
		
			40 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.6 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 | |
| 
 | |
| <HTML>
 | |
| <HEAD>
 | |
|    <TITLE>EXPORT_SPEC int ixmlElement_setAttribute</TITLE>
 | |
|    <META NAME="GENERATOR" CONTENT="DOC++ 3.4.10">
 | |
| </HEAD>
 | |
| <BODY BGCOLOR="#ffffff">
 | |
| 
 | |
| <H2>EXPORT_SPEC int <A HREF="#DOC.DOCU">ixmlElement_setAttribute</A></H2><H2>(IXML_Element* element,<BR>   DOMString name,<BR>   DOMString value )</H2><BLOCKQUOTE>Adds a new attribute to an <B>Element</B>.</BLOCKQUOTE>
 | |
| 
 | |
| <A NAME="DOC.DOCU"></A>
 | |
| <HR>
 | |
| <H2>Documentation</H2>
 | |
| <BLOCKQUOTE>Adds a new attribute to an <B>Element</B>.  If an attribute with the same
 | |
| name already exists, the attribute value will be updated with the
 | |
| new value in <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>name</B> -   The name of the attribute. 
 | |
| <BR><B>value</B> -   The value of the attribute.  Note that this is 
 | |
| a non-parsed string and any markup must be 
 | |
| escaped. <BR><DT><B>Returns:</B><DD>  [int] An integer representing of the following:
 | |
| <UL>
 | |
| <LI> <TT>IXML_SUCCESS</TT>: The operation completed successfully.
 | |
| <LI> <TT>IXML_INVALID_PARAMETER</TT>: Either <B>element</B>, 
 | |
| <B>name</B>, or <B>value</B> is <TT>NULL</TT>.
 | |
| <LI> <TT>IXML_INVALID_CHARACTER_ERR</TT>: <B>name</B> contains an 
 | |
| illegal character.
 | |
| <LI> <TT>IXML_INSUFFICIENT_MEMORY</TT>: Not enough free memory exists 
 | |
| to complete the operation.
 | |
| </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>
 |