~ubuntu-branches/ubuntu/natty/raptor/natty-updates

« back to all changes in this revision

Viewing changes to docs/html/raptor-section-xml-qname.html

  • Committer: Bazaar Package Importer
  • Author(s): Dave Beckett
  • Date: 2006-10-22 21:15:07 UTC
  • mfrom: (1.1.5 upstream) (2.1.2 etch)
  • Revision ID: james.westby@ubuntu.com-20061022211507-c93p7f5mhapszeom
Tags: 1.4.13-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>XML QName</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
7
 
<link rel="start" href="index.html" title="Raptor RDF Parsing Library Manual">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.71.0">
 
7
<link rel="start" href="index.html" title="Raptor RDF Syntax Parsing and Serializing Library Manual">
8
8
<link rel="up" href="reference-manual.html" title="Part&#160;II.&#160;Raptor Reference Manual">
9
9
<link rel="prev" href="raptor-section-xml-namespace.html" title="XML Namespaces">
10
10
<link rel="next" href="raptor-section-xml.html" title="XML">
11
 
<meta name="generator" content="GTK-Doc V1.6 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="chapter" href="introduction.html" title="Raptor Overview">
14
14
<link rel="part" href="tutorial.html" title="Part&#160;I.&#160;Raptor Tutorial">
17
17
<link rel="chapter" href="tutorial-parsing.html" title="Parsing syntaxes to RDF Triples">
18
18
<link rel="chapter" href="tutorial-serializing.html" title="Serializing RDF triples to a syntax">
19
19
<link rel="part" href="reference-manual.html" title="Part&#160;II.&#160;Raptor Reference Manual">
 
20
<link rel="chapter" href="raptor-parsers.html" title="Parsers in Raptor (syntax to triples)">
 
21
<link rel="chapter" href="raptor-serializers.html" title="Serializers in Raptor (triples to syntax)">
20
22
<link rel="index" href="ix01.html" title="Index">
21
23
</head>
22
24
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
25
27
<td><a accesskey="p" href="raptor-section-xml-namespace.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
26
28
<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
27
29
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
28
 
<th width="100%" align="center">Raptor RDF Parsing Library Manual</th>
 
30
<th width="100%" align="center">Raptor RDF Syntax Parsing and Serializing Library Manual</th>
29
31
<td><a accesskey="n" href="raptor-section-xml.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
30
32
</tr>
31
 
<tr><td colspan="5" class="shortcuts"><nobr><a href="#top_of_page" class="shortcut">Top</a>
 
33
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2502268" class="shortcut">Top</a>
32
34
                  &#160;|&#160;
33
 
                  <a href="#desc" class="shortcut">Description</a></nobr></td></tr>
 
35
                  <a href="#id2640845" class="shortcut">Description</a></nobr></td></tr>
34
36
</table>
35
37
<div class="refentry" lang="en">
36
38
<a name="raptor-section-xml-qname"></a><div class="titlepage"></div>
37
39
<div class="refnamediv"><table width="100%"><tr>
38
40
<td valign="top">
39
 
<h2><span class="refentrytitle"><a name="top_of_page"></a>XML QName</span></h2>
 
41
<h2>
 
42
<a name="id2502268"></a><span class="refentrytitle">XML QName</span>
 
43
</h2>
40
44
<p>XML QName &#8212; XML Namespace-qualified names.</p>
41
45
</td>
42
46
<td valign="top" align="right"></td>
43
47
</tr></table></div>
44
48
<div class="refsynopsisdiv">
45
 
<a name="synopsis"></a><h2>Synopsis</h2>
 
49
<h2>Synopsis</h2>
46
50
<pre class="synopsis">
47
51
 
48
52
 
73
77
</pre>
74
78
</div>
75
79
<div class="refsect1" lang="en">
76
 
<a name="desc"></a><h2>Description</h2>
 
80
<a name="id2640845"></a><h2>Description</h2>
77
81
<p>
78
82
Wraps an XML name inside an associated XML namespace in some XML document
79
83
context (typically).  Mostly used inside parsing XML to manage qnames
81
85
</p>
82
86
</div>
83
87
<div class="refsect1" lang="en">
84
 
<a name="details"></a><h2>Details</h2>
 
88
<a name="id2640864"></a><h2>Details</h2>
85
89
<div class="refsect2" lang="en">
86
 
<a name="id2602752"></a><h3>
 
90
<a name="id2640875"></a><h3>
87
91
<a name="raptor-qname"></a>raptor_qname</h3>
88
 
<a class="indexterm" name="id2602764"></a><pre class="programlisting">raptor_qname* raptor_qname;
 
92
<a class="indexterm" name="id2640887"></a><pre class="programlisting">raptor_qname* raptor_qname;
89
93
</pre>
90
94
<p>
91
95
Raptor XML qname class</p>
95
99
</div>
96
100
<hr>
97
101
<div class="refsect2" lang="en">
98
 
<a name="id2602783"></a><h3>
 
102
<a name="id2641498"></a><h3>
99
103
<a name="raptor-new-qname"></a>raptor_new_qname ()</h3>
100
 
<a class="indexterm" name="id2602795"></a><pre class="programlisting"><a href="raptor-section-xml-qname.html#raptor-qname">raptor_qname</a>* raptor_new_qname              (<a href="raptor-section-xml-namespace.html#raptor-namespace-stack">raptor_namespace_stack</a> *nstack,
 
104
<a class="indexterm" name="id2641511"></a><pre class="programlisting"><a href="raptor-section-xml-qname.html#raptor-qname">raptor_qname</a>* raptor_new_qname              (<a href="raptor-section-xml-namespace.html#raptor-namespace-stack">raptor_namespace_stack</a> *nstack,
101
105
                                             unsigned char *name,
102
106
                                             unsigned char *value,
103
107
                                             <a href="raptor-section-general.html#raptor-simple-message-handler">raptor_simple_message_handler</a> error_handler,
157
161
</div>
158
162
<hr>
159
163
<div class="refsect2" lang="en">
160
 
<a name="id2602951"></a><h3>
 
164
<a name="id2641667"></a><h3>
161
165
<a name="raptor-new-qname-from-namespace-local-name"></a>raptor_new_qname_from_namespace_local_name ()</h3>
162
 
<a class="indexterm" name="id2600732"></a><pre class="programlisting"><a href="raptor-section-xml-qname.html#raptor-qname">raptor_qname</a>* raptor_new_qname_from_namespace_local_name
 
166
<a class="indexterm" name="id2641681"></a><pre class="programlisting"><a href="raptor-section-xml-qname.html#raptor-qname">raptor_qname</a>* raptor_new_qname_from_namespace_local_name
163
167
                                            (<a href="raptor-section-xml-namespace.html#raptor-namespace">raptor_namespace</a> *ns,
164
168
                                             unsigned char *local_name,
165
169
                                             unsigned char *value);</pre>
204
208
</div>
205
209
<hr>
206
210
<div class="refsect2" lang="en">
207
 
<a name="id2600848"></a><h3>
 
211
<a name="id2641798"></a><h3>
208
212
<a name="raptor-qname-copy"></a>raptor_qname_copy ()</h3>
209
 
<a class="indexterm" name="id2600861"></a><pre class="programlisting"><a href="raptor-section-xml-qname.html#raptor-qname">raptor_qname</a>* raptor_qname_copy             (<a href="raptor-section-xml-qname.html#raptor-qname">raptor_qname</a> *qname);</pre>
 
213
<a class="indexterm" name="id2641810"></a><pre class="programlisting"><a href="raptor-section-xml-qname.html#raptor-qname">raptor_qname</a>* raptor_qname_copy             (<a href="raptor-section-xml-qname.html#raptor-qname">raptor_qname</a> *qname);</pre>
210
214
<p>
211
215
Copy constructor - copy an existing XML qname.</p>
212
216
<p>
232
236
</div>
233
237
<hr>
234
238
<div class="refsect2" lang="en">
235
 
<a name="id2600928"></a><h3>
 
239
<a name="id2641878"></a><h3>
236
240
<a name="raptor-free-qname"></a>raptor_free_qname ()</h3>
237
 
<a class="indexterm" name="id2600941"></a><pre class="programlisting">void        raptor_free_qname               (<a href="raptor-section-xml-qname.html#raptor-qname">raptor_qname</a> *name);</pre>
 
241
<a class="indexterm" name="id2641890"></a><pre class="programlisting">void        raptor_free_qname               (<a href="raptor-section-xml-qname.html#raptor-qname">raptor_qname</a> *name);</pre>
238
242
<p>
239
243
Destructor - destroy a raptor_qname object.</p>
240
244
<p>
252
256
</div>
253
257
<hr>
254
258
<div class="refsect2" lang="en">
255
 
<a name="id2600998"></a><h3>
 
259
<a name="id2635388"></a><h3>
256
260
<a name="raptor-qname-equal"></a>raptor_qname_equal ()</h3>
257
 
<a class="indexterm" name="id2601010"></a><pre class="programlisting">int         raptor_qname_equal              (<a href="raptor-section-xml-qname.html#raptor-qname">raptor_qname</a> *name1,
 
261
<a class="indexterm" name="id2635401"></a><pre class="programlisting">int         raptor_qname_equal              (<a href="raptor-section-xml-qname.html#raptor-qname">raptor_qname</a> *name1,
258
262
                                             <a href="raptor-section-xml-qname.html#raptor-qname">raptor_qname</a> *name2);</pre>
259
263
<p>
260
264
Compare two XML Qnames for equality.</p>
287
291
</div>
288
292
<hr>
289
293
<div class="refsect2" lang="en">
290
 
<a name="id2601107"></a><h3>
 
294
<a name="id2635497"></a><h3>
291
295
<a name="raptor-qname-string-to-uri"></a>raptor_qname_string_to_uri ()</h3>
292
 
<a class="indexterm" name="id2601118"></a><pre class="programlisting"><a href="raptor-section-uri.html#raptor-uri">raptor_uri</a>* raptor_qname_string_to_uri      (<a href="raptor-section-xml-namespace.html#raptor-namespace-stack">raptor_namespace_stack</a> *nstack,
 
296
<a class="indexterm" name="id2635508"></a><pre class="programlisting"><a href="raptor-section-uri.html#raptor-uri">raptor_uri</a>* raptor_qname_string_to_uri      (<a href="raptor-section-xml-namespace.html#raptor-namespace-stack">raptor_namespace_stack</a> *nstack,
293
297
                                             unsigned char *name,
294
298
                                             size_t name_len,
295
299
                                             <a href="raptor-section-general.html#raptor-simple-message-handler">raptor_simple_message_handler</a> error_handler,
357
361
</div>
358
362
<hr>
359
363
<div class="refsect2" lang="en">
360
 
<a name="id2601735"></a><h3>
 
364
<a name="id2635678"></a><h3>
361
365
<a name="raptor-iostream-write-qname"></a>raptor_iostream_write_qname ()</h3>
362
 
<a class="indexterm" name="id2601746"></a><pre class="programlisting">int         raptor_iostream_write_qname     (<a href="raptor-section-iostream.html#raptor-iostream">raptor_iostream</a> *iostr,
 
366
<a class="indexterm" name="id2635690"></a><pre class="programlisting">int         raptor_iostream_write_qname     (<a href="raptor-section-iostream.html#raptor-iostream">raptor_iostream</a> *iostr,
363
367
                                             <a href="raptor-section-xml-qname.html#raptor-qname">raptor_qname</a> *qname);</pre>
364
368
<p>
365
369
Write a formatted qname to an iostream</p>
392
396
</div>
393
397
<hr>
394
398
<div class="refsect2" lang="en">
395
 
<a name="id2601829"></a><h3>
 
399
<a name="id2634425"></a><h3>
396
400
<a name="raptor-qname-get-namespace"></a>raptor_qname_get_namespace ()</h3>
397
 
<a class="indexterm" name="id2601840"></a><pre class="programlisting">const <a href="raptor-section-xml-namespace.html#raptor-namespace">raptor_namespace</a>* raptor_qname_get_namespace
 
401
<a class="indexterm" name="id2634436"></a><pre class="programlisting">const <a href="raptor-section-xml-namespace.html#raptor-namespace">raptor_namespace</a>* raptor_qname_get_namespace
398
402
                                            (<a href="raptor-section-xml-qname.html#raptor-qname">raptor_qname</a> *name);</pre>
399
403
<p>
400
404
Get the <a href="raptor-section-xml-namespace.html#raptor-namespace"><span class="type">raptor_namespace</span></a> of an XML QName.</p>