1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>attribute.h File Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.2.9-20010819 -->
<center>
<a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="globals.html">Globals</a> </center>
<hr><h1>attribute.h File Reference</h1>Attribute functions.
<a href="#_details">More...</a>
<p>
<code>#include <<a class="el" href="types_8h-source.html">libgnurdf/types.h</a>></code><br>
<p>
<a href="attribute_8h-source.html">Go to the source code of this file.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Functions</h2></td></tr>
<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="attribute_8h.html#a0">rdfSetAttribute</a> (<a class="el" href="types_8h.html#a7">RdfElement</a> *element, const char *attname, const char *value)</td></tr>
<tr><td> </td><td><font size=-1><em>Sets an element's attribute.</em> <a href="#a0">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>char * </td><td valign=bottom><a class="el" href="attribute_8h.html#a1">rdfGetAttribute</a> (<a class="el" href="types_8h.html#a7">RdfElement</a> *element, const char *attname)</td></tr>
<tr><td> </td><td><font size=-1><em>Returns an attribute's value.</em> <a href="#a1">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="attribute_8h.html#a2">rdfSetNsAttribute</a> (<a class="el" href="types_8h.html#a7">RdfElement</a> *element, const char *attname, const char *value, <a class="el" href="types_8h.html#a6">RdfNamespace</a> *ns)</td></tr>
<tr><td> </td><td><font size=-1><em>Sets the value of an attribute in the specified namespace.</em> <a href="#a2">More...</a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>char * </td><td valign=bottom><a class="el" href="attribute_8h.html#a3">rdfGetNsAttribute</a> (<a class="el" href="types_8h.html#a7">RdfElement</a> *element, const char *attname, <a class="el" href="types_8h.html#a6">RdfNamespace</a> *ns)</td></tr>
<tr><td> </td><td><font size=-1><em>Returns the value of an attribute in the specified namespace.</em> <a href="#a3">More...</a><em></em></font><br><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Attribute functions.
<p>
<dl compact><dt><b>
Id: </b><dd>
attribute.h,v 1.4 2001/08/23 08:51:22 chipx86 Exp </dl><dl compact><dt><b>
Copyright:</b><dd>
(C) 1999-2001 The GNUpdate Project.</dl>This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
<p>
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more details.
<p>
You should have received a copy of the GNU Library General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
<p>
<hr><h2>Function Documentation</h2>
<a name="a1" doxytag="attribute.h::rdfGetAttribute"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> char* rdfGetAttribute </td>
<td class="md">( </td>
<td class="md" nowrap><a class="el" href="types_8h.html#a7">RdfElement</a> * </td>
<td class="mdname"> <em>element</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>const char * </td>
<td class="mdname"> <em>attname</em></td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Returns an attribute's value.
<p>
Note: The returned attribute must be freed.<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>element
</em> </td><td>
The element containing the attribute. </td></tr>
<tr><td valign=top><em>attname
</em> </td><td>
The name of the attribute.</td></tr>
</table>
</dl><dl compact><dt><b>
Returns: </b><dd>
The value of the attribute. </dl> </td>
</tr>
</table>
<a name="a3" doxytag="attribute.h::rdfGetNsAttribute"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> char* rdfGetNsAttribute </td>
<td class="md">( </td>
<td class="md" nowrap><a class="el" href="types_8h.html#a7">RdfElement</a> * </td>
<td class="mdname"> <em>element</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>const char * </td>
<td class="mdname"> <em>attname</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="types_8h.html#a6">RdfNamespace</a> * </td>
<td class="mdname"> <em>ns</em></td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Returns the value of an attribute in the specified namespace.
<p>
Note: The returned value must be freed.<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>element
</em> </td><td>
The element containing the attribute. </td></tr>
<tr><td valign=top><em>attname
</em> </td><td>
The name of the attribute. </td></tr>
<tr><td valign=top><em>ns
</em> </td><td>
The namespace of the attribute.</td></tr>
</table>
</dl><dl compact><dt><b>
Returns: </b><dd>
The value of the attribute. </dl> </td>
</tr>
</table>
<a name="a0" doxytag="attribute.h::rdfSetAttribute"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void rdfSetAttribute </td>
<td class="md">( </td>
<td class="md" nowrap><a class="el" href="types_8h.html#a7">RdfElement</a> * </td>
<td class="mdname"> <em>element</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>const char * </td>
<td class="mdname"> <em>attname</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>const char * </td>
<td class="mdname"> <em>value</em></td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Sets an element's attribute.
<p>
<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>element
</em> </td><td>
The element containing the attribute. </td></tr>
<tr><td valign=top><em>attname
</em> </td><td>
The name of the attribute. </td></tr>
<tr><td valign=top><em>value
</em> </td><td>
The attribute's value. </td></tr>
</table>
</dl> </td>
</tr>
</table>
<a name="a2" doxytag="attribute.h::rdfSetNsAttribute"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
<tr>
<td class="md">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> void rdfSetNsAttribute </td>
<td class="md">( </td>
<td class="md" nowrap><a class="el" href="types_8h.html#a7">RdfElement</a> * </td>
<td class="mdname"> <em>element</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>const char * </td>
<td class="mdname"> <em>attname</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap>const char * </td>
<td class="mdname"> <em>value</em>, </td>
</tr>
<tr>
<td></td>
<td></td>
<td class="md" nowrap><a class="el" href="types_8h.html#a6">RdfNamespace</a> * </td>
<td class="mdname"> <em>ns</em></td>
</tr>
<tr>
<td></td>
<td class="md">) </td>
<td class="md" colspan="2"></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Sets the value of an attribute in the specified namespace.
<p>
<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>element
</em> </td><td>
The element containing the attribute. </td></tr>
<tr><td valign=top><em>attname
</em> </td><td>
The name of the attribute. </td></tr>
<tr><td valign=top><em>value
</em> </td><td>
The attribute's value. </td></tr>
<tr><td valign=top><em>ns
</em> </td><td>
The namespace of the attribute. </td></tr>
</table>
</dl> </td>
</tr>
</table>
<hr><address><small>Generated on Thu Sep 20 16:12:08 2001 for libgnurdf by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.gif" alt="doxygen" align="middle" border=0
width=110 height=53></a>1.2.9-20010819 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
© 1997-2001</small></address>
</body>
</html>
|