<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>
</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.61.2">
<link rel="home" href="index.html" title="Libxml Tutorial">
<link rel="up" href="index.html" title="Libxml Tutorial">
<link rel="previous" href="ar01s06.html" title="Writing element content">
<link rel="next" href="ar01s08.html" title="Retrieving Attributes">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="navheader">
<table width="100%" summary="Navigation header">
<tr>
<th colspan="3" align="center">
</th>
</tr>
<tr>
<td width="20%" align="left">
<a accesskey="p" href="ar01s06.html">
</a>
</td>
<th width="60%" align="center">
</th>
<td width="20%" align="right">
<a accesskey="n" href="ar01s08.html">
</a>
</td>
</tr>
</table>
<hr>
</div>
<div class="sect1" lang="en">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both">
<a name="xmltutorialwritingattribute">
</a>
</h2>
</div>
</div>
<div>
</div>
</div>
<p>
<a class="indexterm" name="id2587093">
</a>
<span class="acronym">
</span>
<a href="apf.html" title="F.Code for Add Attribute Example">
<i>
</i>
</a>
</p>
<p>
<tt class="sgmltag-element">
</tt>
<tt class="sgmltag-element">
</tt>
<tt class="function">
</tt>
</p>
<pre class="programlisting">
</pre>
<p>
</p>
<pre class="programlisting">
</pre>
<p>
</p>
<p>
<tt class="function">
</tt>
<tt class="sgmltag-element">
</tt>
</p>
<pre class="programlisting">
<a name="addreferencenode">
</a>
<img src="images/callouts/1.png" alt="1" border="0">
<a name="addattributenode">
</a>
<img src="images/callouts/2.png" alt="2" border="0">
</pre>
<p>
</p>
<div class="calloutlist">
<table border="0" summary="Callout list">
<tr>
<td width="5%" valign="top" align="left">
<a href="#addreferencenode">
<img src="images/callouts/1.png" alt="1" border="0">
</a>
</td>
<td valign="top" align="left">
<p>
<tt class="varname">
</tt>
<a href="http://xmlsoft.org/html/libxml-tree.html#XMLNEWTEXTCHILD" target="_top">
</a>
</p>
</td>
</tr>
</table>
</div>
<p>
</p>
<p>
</p>
</div>
<div class="navfooter">
<hr>
<table width="100%" summary="Navigation footer">
<tr>
<td width="40%" align="left">
<a accesskey="p" href="ar01s06.html">
</a>
</td>
<td width="20%" align="center">
<a accesskey="u" href="index.html">
</a>
</td>
<td width="40%" align="right">
<a accesskey="n" href="ar01s08.html">
</a>
</td>
</tr>
<tr>
<td width="40%" align="left" valign="top">
</td>
<td width="20%" align="center">
<a accesskey="h" href="index.html">
</a>
</td>
<td width="40%" align="right" valign="top">
</td>
</tr>
</table>
</div>
</body>
</html>
