summaryrefslogtreecommitdiffstats
path: root/docs/html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:40:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:40:05 +0000
commit4038ab95a094b363f1748f3dcb51511a1217475d (patch)
tree7f393d66a783f91ddd263c78d681e485cf4f45ca /docs/html
parentInitial commit. (diff)
downloadraptor2-4038ab95a094b363f1748f3dcb51511a1217475d.tar.xz
raptor2-4038ab95a094b363f1748f3dcb51511a1217475d.zip
Adding upstream version 2.0.16.upstream/2.0.16upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'docs/html')
-rw-r--r--docs/html/home.pngbin0 -> 256 bytes
-rw-r--r--docs/html/index.html249
-rw-r--r--docs/html/introduction.html38
-rw-r--r--docs/html/ix01.html887
-rw-r--r--docs/html/left-insensitive.pngbin0 -> 395 bytes
-rw-r--r--docs/html/left.pngbin0 -> 262 bytes
-rw-r--r--docs/html/parser-grddl.html102
-rw-r--r--docs/html/parser-guess.html42
-rw-r--r--docs/html/parser-json.html34
-rw-r--r--docs/html/parser-ntriples.html35
-rw-r--r--docs/html/parser-rdfa.html43
-rw-r--r--docs/html/parser-rdfxml.html42
-rw-r--r--docs/html/parser-rss-tag-soup.html46
-rw-r--r--docs/html/parser-trig.html35
-rw-r--r--docs/html/parser-turtle.html34
-rw-r--r--docs/html/raptor-formats-types-by-parser.html102
-rw-r--r--docs/html/raptor-formats-types-by-serializer.html124
-rw-r--r--docs/html/raptor-formats-types-index.html228
-rw-r--r--docs/html/raptor-formats.html44
-rw-r--r--docs/html/raptor-parsers.html55
-rw-r--r--docs/html/raptor-serializers.html56
-rw-r--r--docs/html/raptor2-changes-1-4-21-to-2-0-0.html968
-rw-r--r--docs/html/raptor2-changes-2-0-10-to-2-0-11.html40
-rw-r--r--docs/html/raptor2-changes-2-0-11-to-2-0-12.html37
-rw-r--r--docs/html/raptor2-changes-2-0-13-to-2-0-14.html37
-rw-r--r--docs/html/raptor2-changes-2-0-14-to-2-0-15.html46
-rw-r--r--docs/html/raptor2-changes-2-0-15-to-2-0-16.html58
-rw-r--r--docs/html/raptor2-changes-2-0-3-to-2-0-4.html40
-rw-r--r--docs/html/raptor2-changes-2-0-4-to-2-0-5.html43
-rw-r--r--docs/html/raptor2-changes-2-0-5-to-2-0-6.html41
-rw-r--r--docs/html/raptor2-changes-2-0-6-to-2-0-7.html53
-rw-r--r--docs/html/raptor2-changes-2-0-7-to-2-0-8.html45
-rw-r--r--docs/html/raptor2-changes-2-0-9-to-2-0-10.html45
-rw-r--r--docs/html/raptor2-changes.html76
-rw-r--r--docs/html/raptor2-section-avltree.html799
-rw-r--r--docs/html/raptor2-section-constants.html138
-rw-r--r--docs/html/raptor2-section-general.html1496
-rw-r--r--docs/html/raptor2-section-iostream.html1749
-rw-r--r--docs/html/raptor2-section-locator.html384
-rw-r--r--docs/html/raptor2-section-memory.html183
-rw-r--r--docs/html/raptor2-section-option.html731
-rw-r--r--docs/html/raptor2-section-parser.html1286
-rw-r--r--docs/html/raptor2-section-sax2.html1018
-rw-r--r--docs/html/raptor2-section-sequence.html870
-rw-r--r--docs/html/raptor2-section-serializer.html811
-rw-r--r--docs/html/raptor2-section-stringbuffer.html701
-rw-r--r--docs/html/raptor2-section-triples.html1704
-rw-r--r--docs/html/raptor2-section-unicode.html482
-rw-r--r--docs/html/raptor2-section-uri.html1675
-rw-r--r--docs/html/raptor2-section-world.html854
-rw-r--r--docs/html/raptor2-section-www.html1241
-rw-r--r--docs/html/raptor2-section-xml-namespace.html1023
-rw-r--r--docs/html/raptor2-section-xml-qname.html668
-rw-r--r--docs/html/raptor2-section-xml.html1565
-rw-r--r--docs/html/raptor2.devhelp2731
-rw-r--r--docs/html/reference-manual.html180
-rw-r--r--docs/html/restrict-parser-network-access.html152
-rw-r--r--docs/html/right-insensitive.pngbin0 -> 373 bytes
-rw-r--r--docs/html/right.pngbin0 -> 261 bytes
-rw-r--r--docs/html/serializer-atom.html46
-rw-r--r--docs/html/serializer-dot.html45
-rw-r--r--docs/html/serializer-json.html37
-rw-r--r--docs/html/serializer-mkr.html32
-rw-r--r--docs/html/serializer-nquads.html36
-rw-r--r--docs/html/serializer-ntriples.html35
-rw-r--r--docs/html/serializer-rdfxml-abbrev.html33
-rw-r--r--docs/html/serializer-rdfxml-xmp.html34
-rw-r--r--docs/html/serializer-rdfxml.html36
-rw-r--r--docs/html/serializer-rss-1-0.html38
-rw-r--r--docs/html/serializer-turtle.html34
-rw-r--r--docs/html/style.css530
-rw-r--r--docs/html/tutorial-initialising-finishing.html42
-rw-r--r--docs/html/tutorial-parse-strictness.html37
-rw-r--r--docs/html/tutorial-parser-abort.html37
-rw-r--r--docs/html/tutorial-parser-content.html150
-rw-r--r--docs/html/tutorial-parser-create.html90
-rw-r--r--docs/html/tutorial-parser-destroy.html37
-rw-r--r--docs/html/tutorial-parser-example.html97
-rw-r--r--docs/html/tutorial-parser-features.html71
-rw-r--r--docs/html/tutorial-parser-runtime-info.html36
-rw-r--r--docs/html/tutorial-parser-set-error-warning-handlers.html54
-rw-r--r--docs/html/tutorial-parser-set-id-handler.html61
-rw-r--r--docs/html/tutorial-parser-set-namespace-handler.html57
-rw-r--r--docs/html/tutorial-parser-set-triple-handler.html52
-rw-r--r--docs/html/tutorial-parser-static-info.html45
-rw-r--r--docs/html/tutorial-parsing.html72
-rw-r--r--docs/html/tutorial-querying-functionality.html112
-rw-r--r--docs/html/tutorial-serializer-create.html43
-rw-r--r--docs/html/tutorial-serializer-declare-namespace.html63
-rw-r--r--docs/html/tutorial-serializer-destroy.html37
-rw-r--r--docs/html/tutorial-serializer-example.html113
-rw-r--r--docs/html/tutorial-serializer-features.html70
-rw-r--r--docs/html/tutorial-serializer-get-triples.html125
-rw-r--r--docs/html/tutorial-serializer-runtime-info.html40
-rw-r--r--docs/html/tutorial-serializer-send-triples.html56
-rw-r--r--docs/html/tutorial-serializer-set-error-warning-handlers.html54
-rw-r--r--docs/html/tutorial-serializer-to-destination.html120
-rw-r--r--docs/html/tutorial-serializing.html58
-rw-r--r--docs/html/tutorial.html102
-rw-r--r--docs/html/up-insensitive.pngbin0 -> 374 bytes
-rw-r--r--docs/html/up.pngbin0 -> 260 bytes
101 files changed, 27033 insertions, 0 deletions
diff --git a/docs/html/home.png b/docs/html/home.png
new file mode 100644
index 0000000..3966a91
--- /dev/null
+++ b/docs/html/home.png
Binary files differ
diff --git a/docs/html/index.html b/docs/html/index.html
new file mode 100644
index 0000000..53824b7
--- /dev/null
+++ b/docs/html/index.html
@@ -0,0 +1,249 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Raptor RDF Syntax Library Manual: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="next" href="introduction.html" title="Raptor Overview">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<div class="book">
+<div class="titlepage">
+<div>
+<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">Raptor RDF Syntax Library Manual</p></th></tr></table></div>
+<div><div class="author">
+<h3 class="author">
+<span class="firstname">Dave</span> <span class="surname">Beckett</span>
+</h3>
+<div class="affiliation"><div class="address"><p><br>
+   <span class="otheraddr"><a class="ulink" href="http://www.dajobe.org/" target="_top">http://www.dajobe.org/</a></span><br>
+ </p></div></div>
+</div></div>
+<div><p class="releaseinfo">Manual for <a class="ulink" href="http://librdf.org/raptor/" target="_top">Raptor</a> 2.0.16
+</p></div>
+<div><p class="copyright">Copyright © 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Dave Beckett</p></div>
+<div><p class="copyright">Copyright © 2001, 2002, 2003, 2004, 2005 University of Bristol</p></div>
+<div><div class="legalnotice">
+<a name="id-1.1.4"></a><p>
+ This documentation is Free Software / Open Source - you can
+ redistribute it and/or modify it under the same licenses as
+ <a class="ulink" href="http://librdf.org/raptor/" target="_top">Raptor</a>.
+ It is licensed under the following three licenses as alternatives:
+ </p>
+<div class="orderedlist"><ol class="orderedlist" type="1">
+<li class="listitem"><p>GNU Lesser General Public License (LGPL) V2.1 or any newer version</p></li>
+<li class="listitem"><p>GNU General Public License (GPL) V2 or any newer version</p></li>
+<li class="listitem"><p>Apache License, V2.0 or any newer version</p></li>
+</ol></div>
+<p>
+ You may not use this documentation except in compliance with at
+ least one of the above three licenses. See the
+ <a class="ulink" href="http://librdf.org/raptor/" target="_top">Raptor</a>
+ site for the full license terms.
+ </p>
+</div></div>
+</div>
+<hr>
+</div>
+<div class="toc"><dl class="toc">
+<dt><span class="chapter"><a href="introduction.html">Raptor Overview</a></span></dt>
+<dt><span class="part"><a href="tutorial.html">I. Raptor Tutorial</a></span></dt>
+<dd><dl>
+<dt><span class="chapter"><a href="tutorial-initialising-finishing.html">Initialising and Finishing using the Library</a></span></dt>
+<dt><span class="chapter"><a href="tutorial-querying-functionality.html">Listing built-in functionality</a></span></dt>
+<dt><span class="chapter"><a href="tutorial-parsing.html">Parsing syntaxes to RDF Triples</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="tutorial-parsing.html#tutorial-parsing-intro">Introduction</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-create.html">Create the Parser object</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-features.html">Parser options</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-set-triple-handler.html">Set RDF statement callback handler</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-set-error-warning-handlers.html">Set parsing log message handlers</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-set-id-handler.html">Set the identifier creator handler</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-set-namespace-handler.html">Set namespace declared handler</a></span></dt>
+<dt><span class="section"><a href="tutorial-parse-strictness.html">Set the parsing strictness</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-content.html">Provide syntax content to parse</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="tutorial-parser-content.html#parse-from-uri">Parse the content from a URI (<code class="function">raptor_parser_parse_uri()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-content.html#parse-from-www">Parse the content of a URI using an existing WWW connection (<code class="function">raptor_parser_parse_uri_with_connection()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-content.html#parse-from-filehandle">Parse the content of a C <code class="literal">FILE*</code> (<code class="function">raptor_parser_parse_file_stream()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-content.html#parse-from-file-uri">Parse the content of a file URI (<code class="function">raptor_parser_parse_file()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-content.html#parse-from-chunks">Parse chunks of syntax content provided by the application (<code class="function">raptor_parser_parse_start()</code> and <code class="function">raptor_parser_parse_chunk()</code>)</a></span></dt>
+</dl></dd>
+<dt><span class="section"><a href="restrict-parser-network-access.html">Restrict parser network access</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="restrict-parser-network-access.html#tutorial-filter-network-with-feature">Filtering parser network requests with option <code class="literal">RAPTOR_OPTION_NO_NET</code></a></span></dt>
+<dt><span class="section"><a href="restrict-parser-network-access.html#tutorial-filter-network-www-uri-filter">Filtering parser network requests with <code class="function">raptor_www_set_uri_filter()</code></a></span></dt>
+<dt><span class="section"><a href="restrict-parser-network-access.html#tutorial-filter-network-parser-uri-filter">Filtering parser network requests with <code class="function">raptor_parser_set_uri_filter()</code></a></span></dt>
+<dt><span class="section"><a href="restrict-parser-network-access.html#tutorial-filter-network-parser-timeout">Setting timeout for parser network requests with option <code class="literal">RAPTOR_OPTION_WWW_TIMEOUT</code></a></span></dt>
+</dl></dd>
+<dt><span class="section"><a href="tutorial-parser-static-info.html">Querying parser static information</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-runtime-info.html">Querying parser run-time information</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-abort.html">Aborting parsing</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-destroy.html">Destroy the parser</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-example.html">Parsing example code</a></span></dt>
+</dl></dd>
+<dt><span class="chapter"><a href="tutorial-serializing.html">Serializing RDF triples to a syntax</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="tutorial-serializing.html#tutorial-serializing-intro">Introduction</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-create.html">Create the Serializer object</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-features.html">Serializer options</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-declare-namespace.html">Declare namespaces</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-set-error-warning-handlers.html">Set error and warning handlers</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-to-destination.html">Provide a destination for the serialized syntax</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="tutorial-serializer-to-destination.html#serialize-to-filename">Serialize to a filename (<code class="function">raptor_serializer_start_to_filename()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-to-destination.html#serialize-to-string">Serialize to a string (<code class="function">raptor_serializer_start_to_string()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-to-destination.html#serialize-to-filehandle">Serialize to a FILE* file handle (<code class="function">raptor_serializer_start_to_file_handle()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-to-destination.html#serialize-to-iostream">Serialize to an <span class="type">raptor_iostream</span> (<code class="function">raptor_serializer_start_to_iostream()</code>)</a></span></dt>
+</dl></dd>
+<dt><span class="section"><a href="tutorial-serializer-get-triples.html">Get or construct RDF Statements (Triples)</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-send-triples.html">Send RDF Triples to serializer</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-runtime-info.html">Querying serializer run-time information</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-destroy.html">Destroy the serializer</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-example.html">Serializing example code</a></span></dt>
+</dl></dd>
+</dl></dd>
+<dt><span class="part"><a href="reference-manual.html">II. Raptor Reference Manual</a></span></dt>
+<dd><dl>
+<dt><span class="chapter"><a href="raptor-parsers.html">Parsers in Raptor (syntax to triples)</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="raptor-parsers.html#raptor-parsers-intro">Introduction</a></span></dt>
+<dt><span class="section"><a href="parser-grddl.html">GRDDL parser (name <code class="literal">grddl</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-guess.html">Guess parser (name <code class="literal">guess</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-json.html">JSON parser (name <code class="literal">json</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-ntriples.html">N-Triples parser (name <code class="literal">ntriples</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-rdfa.html">RDFa parser - (name <code class="literal">rdfa</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-rdfxml.html">RDF/XML parser - default (name <code class="literal">rdfxml</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-rss-tag-soup.html">RSS Tag Soup parser (name <code class="literal">rss-tag-soup</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-trig.html">TRiG parser (name <code class="literal">trig</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-turtle.html">Turtle Terse RDF Triple Language parser (name <code class="literal">turtle</code>)</a></span></dt>
+</dl></dd>
+<dt><span class="chapter"><a href="raptor-serializers.html">Serializers in Raptor (triples to syntax)</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="raptor-serializers.html#raptor-serializers-intro">Introduction</a></span></dt>
+<dt><span class="section"><a href="serializer-atom.html">Atom 1.0 serializer (name <code class="literal">atom</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-json.html">JSON serializers (name <code class="literal">json</code> and name <code class="literal">json-triples</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-mkr.html">mKR serializer - default (name <code class="literal">mkr</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-nquads.html">N-Quads serializer - default (name <code class="literal">nquads</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-ntriples.html">N-Triples serializer - default (name <code class="literal">ntriples</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-rdfxml.html">RDF/XML serializer (name <code class="literal">rdfxml</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-rdfxml-abbrev.html">RDF/XML (Abbreviated) serializer (name <code class="literal">rdfxml-abbrev</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-rdfxml-xmp.html">RDF/XML (XMP Profile) serializer (name <code class="literal">rdfxml-xmp</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-turtle.html">Turtle serializer (name <code class="literal">turtle</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-rss-1-0.html">RSS 1.0 serializer (name <code class="literal">rss-1.0</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-dot.html">GraphViz dot serializer (name <code class="literal">dot</code>)</a></span></dt>
+</dl></dd>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-world.html">section-world</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-general.html">section-general</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-memory.html">section-memory</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-avltree.html">section-avltree</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-constants.html">section-constants</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-option.html">section-option</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-iostream.html">section-iostream</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-locator.html">section-locator</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-parser.html">section-parser</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-sax2.html">section-sax2</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-sequence.html">section-sequence</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-serializer.html">section-serializer</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-stringbuffer.html">section-stringbuffer</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-triples.html">section-triples</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-unicode.html">section-unicode</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-uri.html">section-uri</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-www.html">section-www</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-xml-namespace.html">section-xml-namespace</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-xml-qname.html">section-xml-qname</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-xml.html">section-xml</a></span><span class="refpurpose"></span>
+</dt>
+<dt><span class="chapter"><a href="raptor-formats.html">Syntax Formats supported in Raptor</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="raptor-formats.html#raptor-formats-intro">Introduction</a></span></dt>
+<dt><span class="section"><a href="raptor-formats-types-by-parser.html">MIME Types by Parser</a></span></dt>
+<dt><span class="section"><a href="raptor-formats-types-by-serializer.html">MIME Types by Serializer</a></span></dt>
+<dt><span class="section"><a href="raptor-formats-types-index.html">MIME Types Index</a></span></dt>
+</dl></dd>
+<dt><span class="chapter"><a href="raptor2-changes.html">API Changes</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="raptor2-changes.html#raptor2-changes-intro">Introduction</a></span></dt>
+<dt><span class="section"><a href="raptor2-changes-1-4-21-to-2-0-0.html">Changes between raptor2 1.4.21 and 2.0.0</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="raptor2-changes-1-4-21-to-2-0-0.html#raptor2-changes-new-1-4-21-to-2-0-0">New functions, types, enums and constants</a></span></dt>
+<dt><span class="section"><a href="raptor2-changes-1-4-21-to-2-0-0.html#raptor2-changes-deleted-1-4-21-to-2-0-0">Deleted functions, types, enums and constants</a></span></dt>
+<dt><span class="section"><a href="raptor2-changes-1-4-21-to-2-0-0.html#raptor2-changes-renamed-1-4-21-to-2-0-0">Renamed functions, enums and constants</a></span></dt>
+<dt><span class="section"><a href="raptor2-changes-1-4-21-to-2-0-0.html#raptor2-changes-changed-1-4-21-to-2-0-0">Changed functions and types</a></span></dt>
+</dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-3-to-2-0-4.html">Changes between raptor2 2.0.3 and 2.0.4</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-3-to-2-0-4.html#raptor2-changes-new-2-0-3-to-2-0-4">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-4-to-2-0-5.html">Changes between raptor2 2.0.4 and 2.0.5</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-4-to-2-0-5.html#raptor2-changes-new-2-0-4-to-2-0-5">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-5-to-2-0-6.html">Changes between raptor2 2.0.5 and 2.0.6</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-5-to-2-0-6.html#raptor2-changes-new-2-0-5-to-2-0-6">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-6-to-2-0-7.html">Changes between raptor2 2.0.6 and 2.0.7</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-6-to-2-0-7.html#raptor2-changes-new-2-0-6-to-2-0-7">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-7-to-2-0-8.html">Changes between raptor2 2.0.7 and 2.0.8</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-7-to-2-0-8.html#raptor2-changes-new-2-0-7-to-2-0-8">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-9-to-2-0-10.html">Changes between raptor2 2.0.9 and 2.0.10</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-9-to-2-0-10.html#raptor2-changes-new-2-0-9-to-2-0-10">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-10-to-2-0-11.html">Changes between raptor2 2.0.10 and 2.0.11</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-10-to-2-0-11.html#raptor2-changes-new-2-0-10-to-2-0-11">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-11-to-2-0-12.html">Changes between raptor2 2.0.11 and 2.0.12</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-11-to-2-0-12.html#raptor2-changes-new-2-0-11-to-2-0-12">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-13-to-2-0-14.html">Changes between raptor2 2.0.13 and 2.0.14</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-13-to-2-0-14.html#raptor2-changes-new-2-0-13-to-2-0-14">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-14-to-2-0-15.html">Changes between raptor2 2.0.14 and 2.0.15</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-14-to-2-0-15.html#raptor2-changes-new-2-0-14-to-2-0-15">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-15-to-2-0-16.html">Changes between raptor2 2.0.15 and 2.0.16</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="raptor2-changes-2-0-15-to-2-0-16.html#raptor2-changes-new-2-0-15-to-2-0-16">New functions, types, enums and constants</a></span></dt>
+<dt><span class="section"><a href="raptor2-changes-2-0-15-to-2-0-16.html#raptor2-changes-deleted-2-0-15-to-2-0-16">Deleted functions, types, enums and constants</a></span></dt>
+</dl></dd>
+</dl></dd>
+</dl></dd>
+<dt><span class="index"><a href="ix01.html">Index</a></span></dt>
+</dl></div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/introduction.html b/docs/html/introduction.html
new file mode 100644
index 0000000..c3ea48d
--- /dev/null
+++ b/docs/html/introduction.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Raptor Overview: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="prev" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="next" href="tutorial.html" title="Part I. Raptor Tutorial">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
+<td><a accesskey="p" href="index.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="chapter">
+<div class="titlepage"><div><div><h1 class="title">
+<a name="introduction"></a>Raptor Overview</h1></div></div></div>
+<p>
+<a class="ulink" href="http://librdf.org/raptor/" target="_top">Raptor</a>
+is a free software / Open Source C library that provides
+a set of parsers and serializers that
+generate Resource Description Framework (RDF) triples
+by parsing syntaxes or serialize the triples into a syntax.
+It also includes supporting functionality for managing Unicode,
+UTF-8, URIs, retrieving from URIs and reading and writing XML.
+ </p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/ix01.html b/docs/html/ix01.html
new file mode 100644
index 0000000..e42ebd2
--- /dev/null
+++ b/docs/html/ix01.html
@@ -0,0 +1,887 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Index: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="prev" href="raptor2-changes-2-0-15-to-2-0-16.html" title="Changes between raptor2 2.0.15 and 2.0.16">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
+<td><a accesskey="p" href="raptor2-changes-2-0-15-to-2-0-16.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><img src="right-insensitive.png" width="16" height="16" border="0"></td>
+</tr></table>
+<div class="index">
+<div class="titlepage"><div><div><h1 class="title">
+<a name="id-1.5"></a>Index</h1></div></div></div>
+<div xmlns:xlink="http://www.w3.org/1999/xlink" class="index"><div class="indexdiv">
+<h3>R</h3>
+<dl>
+<dt id="ientry-idm3218">raptor_alloc_memory, <a class="indexterm" href="raptor2-section-memory.html#raptor-alloc-memory">raptor_alloc_memory ()</a>
+</dt>
+<dt id="ientry-idm4070">raptor_avltree, <a class="indexterm" href="raptor2-section-avltree.html#raptor-avltree">raptor_avltree</a>
+</dt>
+<dt id="ientry-idm3523">raptor_avltree_add, <a class="indexterm" href="raptor2-section-avltree.html#raptor-avltree-add">raptor_avltree_add ()</a>
+</dt>
+<dt id="ientry-idm4076">raptor_avltree_bitflags, <a class="indexterm" href="raptor2-section-avltree.html#raptor-avltree-bitflags">enum raptor_avltree_bitflags</a>
+</dt>
+<dt id="ientry-idm3563">raptor_avltree_delete, <a class="indexterm" href="raptor2-section-avltree.html#raptor-avltree-delete">raptor_avltree_delete ()</a>
+</dt>
+<dt id="ientry-idm4101">raptor_avltree_iterator, <a class="indexterm" href="raptor2-section-avltree.html#raptor-avltree-iterator">raptor_avltree_iterator</a>
+</dt>
+<dt id="ientry-idm3932">raptor_avltree_iterator_get, <a class="indexterm" href="raptor2-section-avltree.html#raptor-avltree-iterator-get">raptor_avltree_iterator_get ()</a>
+</dt>
+<dt id="ientry-idm3960">raptor_avltree_iterator_is_end, <a class="indexterm" href="raptor2-section-avltree.html#raptor-avltree-iterator-is-end">raptor_avltree_iterator_is_end ()</a>
+</dt>
+<dt id="ientry-idm3988">raptor_avltree_iterator_next, <a class="indexterm" href="raptor2-section-avltree.html#raptor-avltree-iterator-next">raptor_avltree_iterator_next ()</a>
+</dt>
+<dt id="ientry-idm3600">raptor_avltree_print, <a class="indexterm" href="raptor2-section-avltree.html#raptor-avltree-print">raptor_avltree_print ()</a>
+</dt>
+<dt id="ientry-idm3637">raptor_avltree_remove, <a class="indexterm" href="raptor2-section-avltree.html#raptor-avltree-remove">raptor_avltree_remove ()</a>
+</dt>
+<dt id="ientry-idm3675">raptor_avltree_search, <a class="indexterm" href="raptor2-section-avltree.html#raptor-avltree-search">raptor_avltree_search ()</a>
+</dt>
+<dt id="ientry-idm3712">raptor_avltree_set_print_handler, <a class="indexterm" href="raptor2-section-avltree.html#raptor-avltree-set-print-handler">raptor_avltree_set_print_handler ()</a>
+</dt>
+<dt id="ientry-idm3746">raptor_avltree_size, <a class="indexterm" href="raptor2-section-avltree.html#raptor-avltree-size">raptor_avltree_size ()</a>
+</dt>
+<dt id="ientry-idm3774">raptor_avltree_trim, <a class="indexterm" href="raptor2-section-avltree.html#raptor-avltree-trim">raptor_avltree_trim ()</a>
+</dt>
+<dt id="ientry-idm3799">raptor_avltree_visit, <a class="indexterm" href="raptor2-section-avltree.html#raptor-avltree-visit">raptor_avltree_visit ()</a>
+</dt>
+<dt id="ientry-idm4016">raptor_avltree_visit_handler, <a class="indexterm" href="raptor2-section-avltree.html#raptor-avltree-visit-handler">raptor_avltree_visit_handler ()</a>
+</dt>
+<dt id="ientry-idm6226">raptor_bnodeid_ntriples_write, <a class="indexterm" href="raptor2-section-iostream.html#raptor-bnodeid-ntriples-write">raptor_bnodeid_ntriples_write ()</a>
+</dt>
+<dt id="ientry-idm3250">raptor_calloc_memory, <a class="indexterm" href="raptor2-section-memory.html#raptor-calloc-memory">raptor_calloc_memory ()</a>
+</dt>
+<dt id="ientry-idm2709">raptor_copyright_string, <a class="indexterm" href="raptor2-section-general.html#raptor-copyright-string">raptor_copyright_string</a>
+</dt>
+<dt id="ientry-idm2327">raptor_data_compare_arg_handler, <a class="indexterm" href="raptor2-section-general.html#raptor-data-compare-arg-handler">raptor_data_compare_arg_handler ()</a>
+</dt>
+<dt id="ientry-idm2277">raptor_data_compare_handler, <a class="indexterm" href="raptor2-section-general.html#raptor-data-compare-handler">raptor_data_compare_handler ()</a>
+</dt>
+<dt id="ientry-idm2384">raptor_data_context_free_handler, <a class="indexterm" href="raptor2-section-general.html#raptor-data-context-free-handler">raptor_data_context_free_handler ()</a>
+</dt>
+<dt id="ientry-idm2423">raptor_data_context_print_handler, <a class="indexterm" href="raptor2-section-general.html#raptor-data-context-print-handler">raptor_data_context_print_handler ()</a>
+</dt>
+<dt id="ientry-idm2474">raptor_data_free_handler, <a class="indexterm" href="raptor2-section-general.html#raptor-data-free-handler">raptor_data_free_handler ()</a>
+</dt>
+<dt id="ientry-idm2507">raptor_data_malloc_handler, <a class="indexterm" href="raptor2-section-general.html#raptor-data-malloc-handler">raptor_data_malloc_handler ()</a>
+</dt>
+<dt id="ientry-idm2540">raptor_data_print_handler, <a class="indexterm" href="raptor2-section-general.html#raptor-data-print-handler">raptor_data_print_handler ()</a>
+</dt>
+<dt id="ientry-idm2900">raptor_domain, <a class="indexterm" href="raptor2-section-general.html#raptor-domain">enum raptor_domain</a>
+</dt>
+<dt id="ientry-idm2249">raptor_domain_get_label, <a class="indexterm" href="raptor2-section-general.html#raptor-domain-get-label">raptor_domain_get_label ()</a>
+</dt>
+<dt id="ientry-idm6684">raptor_escaped_write_bitflags, <a class="indexterm" href="raptor2-section-iostream.html#raptor-escaped-write-bitflags">enum raptor_escaped_write_bitflags</a>
+</dt>
+<dt id="ientry-idm3498">raptor_free_avltree, <a class="indexterm" href="raptor2-section-avltree.html#raptor-free-avltree">raptor_free_avltree ()</a>
+</dt>
+<dt id="ientry-idm3907">raptor_free_avltree_iterator, <a class="indexterm" href="raptor2-section-avltree.html#raptor-free-avltree-iterator">raptor_free_avltree_iterator ()</a>
+</dt>
+<dt id="ientry-idm5803">raptor_free_iostream, <a class="indexterm" href="raptor2-section-iostream.html#raptor-free-iostream">raptor_free_iostream ()</a>
+</dt>
+<dt id="ientry-idm3191">raptor_free_memory, <a class="indexterm" href="raptor2-section-memory.html#raptor-free-memory">raptor_free_memory ()</a>
+</dt>
+<dt id="ientry-idm18334">raptor_free_namespace, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-free-namespace">raptor_free_namespace ()</a>
+</dt>
+<dt id="ientry-idm17955">raptor_free_namespaces, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-free-namespaces">raptor_free_namespaces ()</a>
+</dt>
+<dt id="ientry-idm4386">raptor_free_option_description, <a class="indexterm" href="raptor2-section-option.html#raptor-free-option-description">raptor_free_option_description ()</a>
+</dt>
+<dt id="ientry-idm7481">raptor_free_parser, <a class="indexterm" href="raptor2-section-parser.html#raptor-free-parser">raptor_free_parser ()</a>
+</dt>
+<dt id="ientry-idm18963">raptor_free_qname, <a class="indexterm" href="raptor2-section-xml-qname.html#raptor-free-qname">raptor_free_qname ()</a>
+</dt>
+<dt id="ientry-idm8791">raptor_free_sax2, <a class="indexterm" href="raptor2-section-sax2.html#raptor-free-sax2">raptor_free_sax2 ()</a>
+</dt>
+<dt id="ientry-idm9903">raptor_free_sequence, <a class="indexterm" href="raptor2-section-sequence.html#raptor-free-sequence">raptor_free_sequence ()</a>
+</dt>
+<dt id="ientry-idm10720">raptor_free_serializer, <a class="indexterm" href="raptor2-section-serializer.html#raptor-free-serializer">raptor_free_serializer ()</a>
+</dt>
+<dt id="ientry-idm13326">raptor_free_statement, <a class="indexterm" href="raptor2-section-triples.html#raptor-free-statement">raptor_free_statement ()</a>
+</dt>
+<dt id="ientry-idm11534">raptor_free_stringbuffer, <a class="indexterm" href="raptor2-section-stringbuffer.html#raptor-free-stringbuffer">raptor_free_stringbuffer ()</a>
+</dt>
+<dt id="ientry-idm12884">raptor_free_term, <a class="indexterm" href="raptor2-section-triples.html#raptor-free-term">raptor_free_term ()</a>
+</dt>
+<dt id="ientry-idm15177">raptor_free_uri, <a class="indexterm" href="raptor2-section-uri.html#raptor-free-uri">raptor_free_uri ()</a>
+</dt>
+<dt id="ientry-idm944">raptor_free_world, <a class="indexterm" href="raptor2-section-world.html#raptor-free-world">raptor_free_world ()</a>
+</dt>
+<dt id="ientry-idm16527">raptor_free_www, <a class="indexterm" href="raptor2-section-www.html#raptor-free-www">raptor_free_www ()</a>
+</dt>
+<dt id="ientry-idm19709">raptor_free_xml_element, <a class="indexterm" href="raptor2-section-xml.html#raptor-free-xml-element">raptor_free_xml_element ()</a>
+</dt>
+<dt id="ientry-idm20082">raptor_free_xml_writer, <a class="indexterm" href="raptor2-section-xml.html#raptor-free-xml-writer">raptor_free_xml_writer ()</a>
+</dt>
+<dt id="ientry-idm2582">raptor_generate_bnodeid_handler, <a class="indexterm" href="raptor2-section-general.html#raptor-generate-bnodeid-handler">raptor_generate_bnodeid_handler ()</a>
+</dt>
+<dt id="ientry-idm8520">raptor_graph_mark_flags, <a class="indexterm" href="raptor2-section-parser.html#raptor-graph-mark-flags">enum raptor_graph_mark_flags</a>
+</dt>
+<dt id="ientry-idm7508">raptor_graph_mark_handler, <a class="indexterm" href="raptor2-section-parser.html#raptor-graph-mark-handler">raptor_graph_mark_handler ()</a>
+</dt>
+<dt id="ientry-idm2715">raptor_home_url_string, <a class="indexterm" href="raptor2-section-general.html#raptor-home-url-string">raptor_home_url_string</a>
+</dt>
+<dt id="ientry-idm6592">raptor_iostream, <a class="indexterm" href="raptor2-section-iostream.html#raptor-iostream">raptor_iostream</a>
+</dt>
+<dt id="ientry-idm5986">raptor_iostream_counted_string_write, <a class="indexterm" href="raptor2-section-iostream.html#raptor-iostream-counted-string-write">raptor_iostream_counted_string_write ()</a>
+</dt>
+<dt id="ientry-idm6032">raptor_iostream_decimal_write, <a class="indexterm" href="raptor2-section-iostream.html#raptor-iostream-decimal-write">raptor_iostream_decimal_write ()</a>
+</dt>
+<dt id="ientry-idm5162">raptor_iostream_finish_func, <a class="indexterm" href="raptor2-section-iostream.html#raptor-iostream-finish-func">raptor_iostream_finish_func ()</a>
+</dt>
+<dt id="ientry-idm6598">raptor_iostream_handler, <a class="indexterm" href="raptor2-section-iostream.html#raptor-iostream-handler">raptor_iostream_handler</a>
+</dt>
+<dt id="ientry-idm5828">raptor_iostream_hexadecimal_write, <a class="indexterm" href="raptor2-section-iostream.html#raptor-iostream-hexadecimal-write">raptor_iostream_hexadecimal_write ()</a>
+</dt>
+<dt id="ientry-idm5130">raptor_iostream_init_func, <a class="indexterm" href="raptor2-section-iostream.html#raptor-iostream-init-func">raptor_iostream_init_func ()</a>
+</dt>
+<dt id="ientry-idm5875">raptor_iostream_read_bytes, <a class="indexterm" href="raptor2-section-iostream.html#raptor-iostream-read-bytes">raptor_iostream_read_bytes ()</a>
+</dt>
+<dt id="ientry-idm5323">raptor_iostream_read_bytes_func, <a class="indexterm" href="raptor2-section-iostream.html#raptor-iostream-read-bytes-func">raptor_iostream_read_bytes_func ()</a>
+</dt>
+<dt id="ientry-idm5930">raptor_iostream_read_eof, <a class="indexterm" href="raptor2-section-iostream.html#raptor-iostream-read-eof">raptor_iostream_read_eof ()</a>
+</dt>
+<dt id="ientry-idm5383">raptor_iostream_read_eof_func, <a class="indexterm" href="raptor2-section-iostream.html#raptor-iostream-read-eof-func">raptor_iostream_read_eof_func ()</a>
+</dt>
+<dt id="ientry-idm6069">raptor_iostream_string_write, <a class="indexterm" href="raptor2-section-iostream.html#raptor-iostream-string-write">raptor_iostream_string_write ()</a>
+</dt>
+<dt id="ientry-idm5958">raptor_iostream_tell, <a class="indexterm" href="raptor2-section-iostream.html#raptor-iostream-tell">raptor_iostream_tell ()</a>
+</dt>
+<dt id="ientry-idm6106">raptor_iostream_write_byte, <a class="indexterm" href="raptor2-section-iostream.html#raptor-iostream-write-byte">raptor_iostream_write_byte ()</a>
+</dt>
+<dt id="ientry-idm6143">raptor_iostream_write_bytes, <a class="indexterm" href="raptor2-section-iostream.html#raptor-iostream-write-bytes">raptor_iostream_write_bytes ()</a>
+</dt>
+<dt id="ientry-idm5232">raptor_iostream_write_bytes_func, <a class="indexterm" href="raptor2-section-iostream.html#raptor-iostream-write-bytes-func">raptor_iostream_write_bytes_func ()</a>
+</dt>
+<dt id="ientry-idm5191">raptor_iostream_write_byte_func, <a class="indexterm" href="raptor2-section-iostream.html#raptor-iostream-write-byte-func">raptor_iostream_write_byte_func ()</a>
+</dt>
+<dt id="ientry-idm6198">raptor_iostream_write_end, <a class="indexterm" href="raptor2-section-iostream.html#raptor-iostream-write-end">raptor_iostream_write_end ()</a>
+</dt>
+<dt id="ientry-idm5291">raptor_iostream_write_end_func, <a class="indexterm" href="raptor2-section-iostream.html#raptor-iostream-write-end-func">raptor_iostream_write_end_func ()</a>
+</dt>
+<dt id="ientry-idm2721">raptor_license_string, <a class="indexterm" href="raptor2-section-general.html#raptor-license-string">raptor_license_string</a>
+</dt>
+<dt id="ientry-idm7092">raptor_locator, <a class="indexterm" href="raptor2-section-locator.html#raptor-locator">raptor_locator</a>
+</dt>
+<dt id="ientry-idm7005">raptor_locator_byte, <a class="indexterm" href="raptor2-section-locator.html#raptor-locator-byte">raptor_locator_byte ()</a>
+</dt>
+<dt id="ientry-idm6977">raptor_locator_column, <a class="indexterm" href="raptor2-section-locator.html#raptor-locator-column">raptor_locator_column ()</a>
+</dt>
+<dt id="ientry-idm7033">raptor_locator_file, <a class="indexterm" href="raptor2-section-locator.html#raptor-locator-file">raptor_locator_file ()</a>
+</dt>
+<dt id="ientry-idm6899">raptor_locator_format, <a class="indexterm" href="raptor2-section-locator.html#raptor-locator-format">raptor_locator_format ()</a>
+</dt>
+<dt id="ientry-idm6949">raptor_locator_line, <a class="indexterm" href="raptor2-section-locator.html#raptor-locator-line">raptor_locator_line ()</a>
+</dt>
+<dt id="ientry-idm6860">raptor_locator_print, <a class="indexterm" href="raptor2-section-locator.html#raptor-locator-print">raptor_locator_print ()</a>
+</dt>
+<dt id="ientry-idm7061">raptor_locator_uri, <a class="indexterm" href="raptor2-section-locator.html#raptor-locator-uri">raptor_locator_uri ()</a>
+</dt>
+<dt id="ientry-idm2182">raptor_log_handler, <a class="indexterm" href="raptor2-section-general.html#raptor-log-handler">raptor_log_handler ()</a>
+</dt>
+<dt id="ientry-idm2839">raptor_log_level, <a class="indexterm" href="raptor2-section-general.html#raptor-log-level">enum raptor_log_level</a>
+</dt>
+<dt id="ientry-idm2221">raptor_log_level_get_label, <a class="indexterm" href="raptor2-section-general.html#raptor-log-level-get-label">raptor_log_level_get_label ()</a>
+</dt>
+<dt id="ientry-idm2778">raptor_log_message, <a class="indexterm" href="raptor2-section-general.html#raptor-log-message">raptor_log_message</a>
+</dt>
+<dt id="ientry-idm18637">raptor_namespace, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-namespace">raptor_namespace</a>
+</dt>
+<dt id="ientry-idm17930">raptor_namespaces_clear, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-namespaces-clear">raptor_namespaces_clear ()</a>
+</dt>
+<dt id="ientry-idm18075">raptor_namespaces_end_for_depth, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-namespaces-end-for-depth">raptor_namespaces_end_for_depth ()</a>
+</dt>
+<dt id="ientry-idm18139">raptor_namespaces_find_namespace, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-namespaces-find-namespace">raptor_namespaces_find_namespace ()</a>
+</dt>
+<dt id="ientry-idm18191">raptor_namespaces_find_namespace_by_uri, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-namespaces-find-namespace-by-uri">raptor_namespaces_find_namespace_by_uri ()</a>
+</dt>
+<dt id="ientry-idm18109">raptor_namespaces_get_default_namespace, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-namespaces-get-default-namespace">raptor_namespaces_get_default_namespace ()</a>
+</dt>
+<dt id="ientry-idm17879">raptor_namespaces_init, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-namespaces-init">raptor_namespaces_init ()</a>
+</dt>
+<dt id="ientry-idm18230">raptor_namespaces_namespace_in_scope, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-namespaces-namespace-in-scope">raptor_namespaces_namespace_in_scope ()</a>
+</dt>
+<dt id="ientry-idm17980">raptor_namespaces_start_namespace, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-namespaces-start-namespace">raptor_namespaces_start_namespace ()</a>
+</dt>
+<dt id="ientry-idm18014">raptor_namespaces_start_namespace_full, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-namespaces-start-namespace-full">raptor_namespaces_start_namespace_full ()</a>
+</dt>
+<dt id="ientry-idm18539">raptor_namespace_format_as_xml, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-namespace-format-as-xml">raptor_namespace_format_as_xml ()</a>
+</dt>
+<dt id="ientry-idm18415">raptor_namespace_get_counted_prefix, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-namespace-get-counted-prefix">raptor_namespace_get_counted_prefix ()</a>
+</dt>
+<dt id="ientry-idm18387">raptor_namespace_get_prefix, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-namespace-get-prefix">raptor_namespace_get_prefix ()</a>
+</dt>
+<dt id="ientry-idm18359">raptor_namespace_get_uri, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-namespace-get-uri">raptor_namespace_get_uri ()</a>
+</dt>
+<dt id="ientry-idm7565">raptor_namespace_handler, <a class="indexterm" href="raptor2-section-parser.html#raptor-namespace-handler">raptor_namespace_handler ()</a>
+</dt>
+<dt id="ientry-idm18643">raptor_namespace_stack, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-namespace-stack">raptor_namespace_stack</a>
+</dt>
+<dt id="ientry-idm18489">raptor_namespace_stack_start_namespace, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-namespace-stack-start-namespace">raptor_namespace_stack_start_namespace ()</a>
+</dt>
+<dt id="ientry-idm18452">raptor_namespace_write, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-namespace-write">raptor_namespace_write ()</a>
+</dt>
+<dt id="ientry-idm3450">raptor_new_avltree, <a class="indexterm" href="raptor2-section-avltree.html#raptor-new-avltree">raptor_new_avltree ()</a>
+</dt>
+<dt id="ientry-idm3846">raptor_new_avltree_iterator, <a class="indexterm" href="raptor2-section-avltree.html#raptor-new-avltree-iterator">raptor_new_avltree_iterator ()</a>
+</dt>
+<dt id="ientry-idm5496">raptor_new_iostream_from_filename, <a class="indexterm" href="raptor2-section-iostream.html#raptor-new-iostream-from-filename">raptor_new_iostream_from_filename ()</a>
+</dt>
+<dt id="ientry-idm5535">raptor_new_iostream_from_file_handle, <a class="indexterm" href="raptor2-section-iostream.html#raptor-new-iostream-from-file-handle">raptor_new_iostream_from_file_handle ()</a>
+</dt>
+<dt id="ientry-idm5415">raptor_new_iostream_from_handler, <a class="indexterm" href="raptor2-section-iostream.html#raptor-new-iostream-from-handler">raptor_new_iostream_from_handler ()</a>
+</dt>
+<dt id="ientry-idm5463">raptor_new_iostream_from_sink, <a class="indexterm" href="raptor2-section-iostream.html#raptor-new-iostream-from-sink">raptor_new_iostream_from_sink ()</a>
+</dt>
+<dt id="ientry-idm5577">raptor_new_iostream_from_string, <a class="indexterm" href="raptor2-section-iostream.html#raptor-new-iostream-from-string">raptor_new_iostream_from_string ()</a>
+</dt>
+<dt id="ientry-idm5658">raptor_new_iostream_to_filename, <a class="indexterm" href="raptor2-section-iostream.html#raptor-new-iostream-to-filename">raptor_new_iostream_to_filename ()</a>
+</dt>
+<dt id="ientry-idm5697">raptor_new_iostream_to_file_handle, <a class="indexterm" href="raptor2-section-iostream.html#raptor-new-iostream-to-file-handle">raptor_new_iostream_to_file_handle ()</a>
+</dt>
+<dt id="ientry-idm5625">raptor_new_iostream_to_sink, <a class="indexterm" href="raptor2-section-iostream.html#raptor-new-iostream-to-sink">raptor_new_iostream_to_sink ()</a>
+</dt>
+<dt id="ientry-idm5739">raptor_new_iostream_to_string, <a class="indexterm" href="raptor2-section-iostream.html#raptor-new-iostream-to-string">raptor_new_iostream_to_string ()</a>
+</dt>
+<dt id="ientry-idm18267">raptor_new_namespace, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-new-namespace">raptor_new_namespace ()</a>
+</dt>
+<dt id="ientry-idm17836">raptor_new_namespaces, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-new-namespaces">raptor_new_namespaces ()</a>
+</dt>
+<dt id="ientry-idm17773">raptor_new_namespace_from_uri, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-new-namespace-from-uri">raptor_new_namespace_from_uri ()</a>
+</dt>
+<dt id="ientry-idm7364">raptor_new_parser, <a class="indexterm" href="raptor2-section-parser.html#raptor-new-parser">raptor_new_parser ()</a>
+</dt>
+<dt id="ientry-idm7403">raptor_new_parser_for_content, <a class="indexterm" href="raptor2-section-parser.html#raptor-new-parser-for-content">raptor_new_parser_for_content ()</a>
+</dt>
+<dt id="ientry-idm18777">raptor_new_qname, <a class="indexterm" href="raptor2-section-xml-qname.html#raptor-new-qname">raptor_new_qname ()</a>
+</dt>
+<dt id="ientry-idm18826">raptor_new_qname_from_namespace_local_name, <a class="indexterm" href="raptor2-section-xml-qname.html#raptor-new-qname-from-namespace-local-name">raptor_new_qname_from_namespace_local_name ()</a>
+</dt>
+<dt id="ientry-idm18884">raptor_new_qname_from_namespace_uri, <a class="indexterm" href="raptor2-section-xml-qname.html#raptor-new-qname-from-namespace-uri">raptor_new_qname_from_namespace_uri ()</a>
+</dt>
+<dt id="ientry-idm8743">raptor_new_sax2, <a class="indexterm" href="raptor2-section-sax2.html#raptor-new-sax2">raptor_new_sax2 ()</a>
+</dt>
+<dt id="ientry-idm9811">raptor_new_sequence, <a class="indexterm" href="raptor2-section-sequence.html#raptor-new-sequence">raptor_new_sequence ()</a>
+</dt>
+<dt id="ientry-idm9854">raptor_new_sequence_with_context, <a class="indexterm" href="raptor2-section-sequence.html#raptor-new-sequence-with-context">raptor_new_sequence_with_context ()</a>
+</dt>
+<dt id="ientry-idm10681">raptor_new_serializer, <a class="indexterm" href="raptor2-section-serializer.html#raptor-new-serializer">raptor_new_serializer ()</a>
+</dt>
+<dt id="ientry-idm13225">raptor_new_statement, <a class="indexterm" href="raptor2-section-triples.html#raptor-new-statement">raptor_new_statement ()</a>
+</dt>
+<dt id="ientry-idm13255">raptor_new_statement_from_nodes, <a class="indexterm" href="raptor2-section-triples.html#raptor-new-statement-from-nodes">raptor_new_statement_from_nodes ()</a>
+</dt>
+<dt id="ientry-idm11521">raptor_new_stringbuffer, <a class="indexterm" href="raptor2-section-stringbuffer.html#raptor-new-stringbuffer">raptor_new_stringbuffer ()</a>
+</dt>
+<dt id="ientry-idm12351">raptor_new_term_from_blank, <a class="indexterm" href="raptor2-section-triples.html#raptor-new-term-from-blank">raptor_new_term_from_blank ()</a>
+</dt>
+<dt id="ientry-idm12394">raptor_new_term_from_counted_blank, <a class="indexterm" href="raptor2-section-triples.html#raptor-new-term-from-counted-blank">raptor_new_term_from_counted_blank ()</a>
+</dt>
+<dt id="ientry-idm12511">raptor_new_term_from_counted_literal, <a class="indexterm" href="raptor2-section-triples.html#raptor-new-term-from-counted-literal">raptor_new_term_from_counted_literal ()</a>
+</dt>
+<dt id="ientry-idm12718">raptor_new_term_from_counted_string, <a class="indexterm" href="raptor2-section-triples.html#raptor-new-term-from-counted-string">raptor_new_term_from_counted_string ()</a>
+</dt>
+<dt id="ientry-idm12594">raptor_new_term_from_counted_uri_string, <a class="indexterm" href="raptor2-section-triples.html#raptor-new-term-from-counted-uri-string">raptor_new_term_from_counted_uri_string ()</a>
+</dt>
+<dt id="ientry-idm12448">raptor_new_term_from_literal, <a class="indexterm" href="raptor2-section-triples.html#raptor-new-term-from-literal">raptor_new_term_from_literal ()</a>
+</dt>
+<dt id="ientry-idm12642">raptor_new_term_from_uri, <a class="indexterm" href="raptor2-section-triples.html#raptor-new-term-from-uri">raptor_new_term_from_uri ()</a>
+</dt>
+<dt id="ientry-idm12681">raptor_new_term_from_uri_string, <a class="indexterm" href="raptor2-section-triples.html#raptor-new-term-from-uri-string">raptor_new_term_from_uri_string ()</a>
+</dt>
+<dt id="ientry-idm14720">raptor_new_uri, <a class="indexterm" href="raptor2-section-uri.html#raptor-new-uri">raptor_new_uri ()</a>
+</dt>
+<dt id="ientry-idm15075">raptor_new_uri_for_rdf_concept, <a class="indexterm" href="raptor2-section-uri.html#raptor-new-uri-for-rdf-concept">raptor_new_uri_for_rdf_concept ()</a>
+</dt>
+<dt id="ientry-idm15146">raptor_new_uri_for_retrieval, <a class="indexterm" href="raptor2-section-uri.html#raptor-new-uri-for-retrieval">raptor_new_uri_for_retrieval ()</a>
+</dt>
+<dt id="ientry-idm15115">raptor_new_uri_for_xmlbase, <a class="indexterm" href="raptor2-section-uri.html#raptor-new-uri-for-xmlbase">raptor_new_uri_for_xmlbase ()</a>
+</dt>
+<dt id="ientry-idm14759">raptor_new_uri_from_counted_string, <a class="indexterm" href="raptor2-section-uri.html#raptor-new-uri-from-counted-string">raptor_new_uri_from_counted_string ()</a>
+</dt>
+<dt id="ientry-idm15022">raptor_new_uri_from_id, <a class="indexterm" href="raptor2-section-uri.html#raptor-new-uri-from-id">raptor_new_uri_from_id ()</a>
+</dt>
+<dt id="ientry-idm14809">raptor_new_uri_from_uri_local_name, <a class="indexterm" href="raptor2-section-uri.html#raptor-new-uri-from-uri-local-name">raptor_new_uri_from_uri_local_name ()</a>
+</dt>
+<dt id="ientry-idm14864">raptor_new_uri_from_uri_or_file_string, <a class="indexterm" href="raptor2-section-uri.html#raptor-new-uri-from-uri-or-file-string">raptor_new_uri_from_uri_or_file_string ()</a>
+</dt>
+<dt id="ientry-idm14914">raptor_new_uri_relative_to_base, <a class="indexterm" href="raptor2-section-uri.html#raptor-new-uri-relative-to-base">raptor_new_uri_relative_to_base ()</a>
+</dt>
+<dt id="ientry-idm14965">raptor_new_uri_relative_to_base_counted, <a class="indexterm" href="raptor2-section-uri.html#raptor-new-uri-relative-to-base-counted">raptor_new_uri_relative_to_base_counted ()</a>
+</dt>
+<dt id="ientry-idm872">raptor_new_world, <a class="indexterm" href="raptor2-section-world.html#raptor-new-world">raptor_new_world</a>
+</dt>
+<dt id="ientry-idm16452">raptor_new_www, <a class="indexterm" href="raptor2-section-www.html#raptor-new-www">raptor_new_www ()</a>
+</dt>
+<dt id="ientry-idm16484">raptor_new_www_with_connection, <a class="indexterm" href="raptor2-section-www.html#raptor-new-www-with-connection">raptor_new_www_with_connection ()</a>
+</dt>
+<dt id="ientry-idm19600">raptor_new_xml_element, <a class="indexterm" href="raptor2-section-xml.html#raptor-new-xml-element">raptor_new_xml_element ()</a>
+</dt>
+<dt id="ientry-idm19651">raptor_new_xml_element_from_namespace_local_name, <a class="indexterm" href="raptor2-section-xml.html#raptor-new-xml-element-from-namespace-local-name">raptor_new_xml_element_from_namespace_local_name ()</a>
+</dt>
+<dt id="ientry-idm20034">raptor_new_xml_writer, <a class="indexterm" href="raptor2-section-xml.html#raptor-new-xml-writer">raptor_new_xml_writer ()</a>
+</dt>
+<dt id="ientry-idm4454">raptor_option, <a class="indexterm" href="raptor2-section-option.html#raptor-option">enum raptor_option</a>
+</dt>
+<dt id="ientry-idm4726">raptor_option_description, <a class="indexterm" href="raptor2-section-option.html#raptor-option-description">raptor_option_description</a>
+</dt>
+<dt id="ientry-idm4289">raptor_option_get_count, <a class="indexterm" href="raptor2-section-option.html#raptor-option-get-count">raptor_option_get_count ()</a>
+</dt>
+<dt id="ientry-idm4309">raptor_option_get_value_type_label, <a class="indexterm" href="raptor2-section-option.html#raptor-option-get-value-type-label">raptor_option_get_value_type_label ()</a>
+</dt>
+<dt id="ientry-idm4804">raptor_option_value_type, <a class="indexterm" href="raptor2-section-option.html#raptor-option-value-type">enum raptor_option_value_type</a>
+</dt>
+<dt id="ientry-idm2742">raptor_owl_namespace_uri, <a class="indexterm" href="raptor2-section-general.html#raptor-owl-namespace-uri">raptor_owl_namespace_uri</a>
+</dt>
+<dt id="ientry-idm4207">RAPTOR_OWL_URI, <a class="indexterm" href="raptor2-section-constants.html#RAPTOR-OWL-URI:CAPS">RAPTOR_OWL_URI</a>
+</dt>
+<dt id="ientry-idm8514">raptor_parser, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser">raptor_parser</a>
+</dt>
+<dt id="ientry-idm8408">raptor_parser_get_accept_header, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser-get-accept-header">raptor_parser_get_accept_header ()</a>
+</dt>
+<dt id="ientry-idm7754">raptor_parser_get_description, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser-get-description">raptor_parser_get_description ()</a>
+</dt>
+<dt id="ientry-idm8213">raptor_parser_get_graph, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser-get-graph">raptor_parser_get_graph ()</a>
+</dt>
+<dt id="ientry-idm7785">raptor_parser_get_locator, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser-get-locator">raptor_parser_get_locator ()</a>
+</dt>
+<dt id="ientry-idm8244">raptor_parser_get_name, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser-get-name">raptor_parser_get_name ()</a>
+</dt>
+<dt id="ientry-idm8346">raptor_parser_get_option, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser-get-option">raptor_parser_get_option ()</a>
+</dt>
+<dt id="ientry-idm8482">raptor_parser_get_world, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser-get-world">raptor_parser_get_world ()</a>
+</dt>
+<dt id="ientry-idm7813">raptor_parser_parse_abort, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser-parse-abort">raptor_parser_parse_abort ()</a>
+</dt>
+<dt id="ientry-idm7848">raptor_parser_parse_chunk, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser-parse-chunk">raptor_parser_parse_chunk ()</a>
+</dt>
+<dt id="ientry-idm7906">raptor_parser_parse_file, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser-parse-file">raptor_parser_parse_file ()</a>
+</dt>
+<dt id="ientry-idm7955">raptor_parser_parse_file_stream, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser-parse-file-stream">raptor_parser_parse_file_stream ()</a>
+</dt>
+<dt id="ientry-idm8011">raptor_parser_parse_iostream, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser-parse-iostream">raptor_parser_parse_iostream ()</a>
+</dt>
+<dt id="ientry-idm8059">raptor_parser_parse_start, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser-parse-start">raptor_parser_parse_start ()</a>
+</dt>
+<dt id="ientry-idm8101">raptor_parser_parse_uri, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser-parse-uri">raptor_parser_parse_uri ()</a>
+</dt>
+<dt id="ientry-idm8151">raptor_parser_parse_uri_with_connection, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser-parse-uri-with-connection">raptor_parser_parse_uri_with_connection ()</a>
+</dt>
+<dt id="ientry-idm7654">raptor_parser_set_graph_mark_handler, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser-set-graph-mark-handler">raptor_parser_set_graph_mark_handler ()</a>
+</dt>
+<dt id="ientry-idm7704">raptor_parser_set_namespace_handler, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser-set-namespace-handler">raptor_parser_set_namespace_handler ()</a>
+</dt>
+<dt id="ientry-idm8277">raptor_parser_set_option, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser-set-option">raptor_parser_set_option ()</a>
+</dt>
+<dt id="ientry-idm7605">raptor_parser_set_statement_handler, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser-set-statement-handler">raptor_parser_set_statement_handler ()</a>
+</dt>
+<dt id="ientry-idm8439">raptor_parser_set_uri_filter, <a class="indexterm" href="raptor2-section-parser.html#raptor-parser-set-uri-filter">raptor_parser_set_uri_filter ()</a>
+</dt>
+<dt id="ientry-idm19336">raptor_qname, <a class="indexterm" href="raptor2-section-xml-qname.html#raptor-qname">raptor_qname</a>
+</dt>
+<dt id="ientry-idm18933">raptor_qname_copy, <a class="indexterm" href="raptor2-section-xml-qname.html#raptor-qname-copy">raptor_qname_copy ()</a>
+</dt>
+<dt id="ientry-idm18990">raptor_qname_equal, <a class="indexterm" href="raptor2-section-xml-qname.html#raptor-qname-equal">raptor_qname_equal ()</a>
+</dt>
+<dt id="ientry-idm19120">raptor_qname_format_as_xml, <a class="indexterm" href="raptor2-section-xml-qname.html#raptor-qname-format-as-xml">raptor_qname_format_as_xml ()</a>
+</dt>
+<dt id="ientry-idm19160">raptor_qname_get_counted_value, <a class="indexterm" href="raptor2-section-xml-qname.html#raptor-qname-get-counted-value">raptor_qname_get_counted_value ()</a>
+</dt>
+<dt id="ientry-idm19201">raptor_qname_get_local_name, <a class="indexterm" href="raptor2-section-xml-qname.html#raptor-qname-get-local-name">raptor_qname_get_local_name ()</a>
+</dt>
+<dt id="ientry-idm19233">raptor_qname_get_namespace, <a class="indexterm" href="raptor2-section-xml-qname.html#raptor-qname-get-namespace">raptor_qname_get_namespace ()</a>
+</dt>
+<dt id="ientry-idm19265">raptor_qname_get_value, <a class="indexterm" href="raptor2-section-xml-qname.html#raptor-qname-get-value">raptor_qname_get_value ()</a>
+</dt>
+<dt id="ientry-idm19031">raptor_qname_string_to_uri, <a class="indexterm" href="raptor2-section-xml-qname.html#raptor-qname-string-to-uri">raptor_qname_string_to_uri ()</a>
+</dt>
+<dt id="ientry-idm19297">raptor_qname_to_counted_name, <a class="indexterm" href="raptor2-section-xml-qname.html#raptor-qname-to-counted-name">raptor_qname_to_counted_name ()</a>
+</dt>
+<dt id="ientry-idm19083">raptor_qname_write, <a class="indexterm" href="raptor2-section-xml-qname.html#raptor-qname-write">raptor_qname_write ()</a>
+</dt>
+<dt id="ientry-idm4180">RAPTOR_RDF_MS_URI, <a class="indexterm" href="raptor2-section-constants.html#RAPTOR-RDF-MS-URI:CAPS">RAPTOR_RDF_MS_URI</a>
+</dt>
+<dt id="ientry-idm2748">raptor_rdf_namespace_uri, <a class="indexterm" href="raptor2-section-general.html#raptor-rdf-namespace-uri">raptor_rdf_namespace_uri</a>
+</dt>
+<dt id="ientry-idm4159">raptor_rdf_namespace_uri_len, <a class="indexterm" href="raptor2-section-constants.html#raptor-rdf-namespace-uri-len">raptor_rdf_namespace_uri_len</a>
+</dt>
+<dt id="ientry-idm2754">raptor_rdf_schema_namespace_uri, <a class="indexterm" href="raptor2-section-general.html#raptor-rdf-schema-namespace-uri">raptor_rdf_schema_namespace_uri</a>
+</dt>
+<dt id="ientry-idm4167">raptor_rdf_schema_namespace_uri_len, <a class="indexterm" href="raptor2-section-constants.html#raptor-rdf-schema-namespace-uri-len">raptor_rdf_schema_namespace_uri_len</a>
+</dt>
+<dt id="ientry-idm4189">RAPTOR_RDF_SCHEMA_URI, <a class="indexterm" href="raptor2-section-constants.html#RAPTOR-RDF-SCHEMA-URI:CAPS">RAPTOR_RDF_SCHEMA_URI</a>
+</dt>
+<dt id="ientry-idm9649">raptor_sax2, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2">raptor_sax2</a>
+</dt>
+<dt id="ientry-idm8942">raptor_sax2_cdata_handler, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2-cdata-handler">raptor_sax2_cdata_handler ()</a>
+</dt>
+<dt id="ientry-idm8888">raptor_sax2_characters_handler, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2-characters-handler">raptor_sax2_characters_handler ()</a>
+</dt>
+<dt id="ientry-idm8996">raptor_sax2_comment_handler, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2-comment-handler">raptor_sax2_comment_handler ()</a>
+</dt>
+<dt id="ientry-idm8852">raptor_sax2_end_element_handler, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2-end-element-handler">raptor_sax2_end_element_handler ()</a>
+</dt>
+<dt id="ientry-idm9113">raptor_sax2_external_entity_ref_handler, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2-external-entity-ref-handler">raptor_sax2_external_entity_ref_handler ()</a>
+</dt>
+<dt id="ientry-idm9619">raptor_sax2_inscope_base_uri, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2-inscope-base-uri">raptor_sax2_inscope_base_uri ()</a>
+</dt>
+<dt id="ientry-idm9590">raptor_sax2_inscope_xml_language, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2-inscope-xml-language">raptor_sax2_inscope_xml_language ()</a>
+</dt>
+<dt id="ientry-idm9535">raptor_sax2_parse_chunk, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2-parse-chunk">raptor_sax2_parse_chunk ()</a>
+</dt>
+<dt id="ientry-idm9501">raptor_sax2_parse_start, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2-parse-start">raptor_sax2_parse_start ()</a>
+</dt>
+<dt id="ientry-idm9281">raptor_sax2_set_cdata_handler, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2-set-cdata-handler">raptor_sax2_set_cdata_handler ()</a>
+</dt>
+<dt id="ientry-idm9247">raptor_sax2_set_characters_handler, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2-set-characters-handler">raptor_sax2_set_characters_handler ()</a>
+</dt>
+<dt id="ientry-idm9315">raptor_sax2_set_comment_handler, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2-set-comment-handler">raptor_sax2_set_comment_handler ()</a>
+</dt>
+<dt id="ientry-idm9213">raptor_sax2_set_end_element_handler, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2-set-end-element-handler">raptor_sax2_set_end_element_handler ()</a>
+</dt>
+<dt id="ientry-idm9383">raptor_sax2_set_external_entity_ref_handler, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2-set-external-entity-ref-handler">raptor_sax2_set_external_entity_ref_handler ()</a>
+</dt>
+<dt id="ientry-idm9417">raptor_sax2_set_namespace_handler, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2-set-namespace-handler">raptor_sax2_set_namespace_handler ()</a>
+</dt>
+<dt id="ientry-idm9179">raptor_sax2_set_start_element_handler, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2-set-start-element-handler">raptor_sax2_set_start_element_handler ()</a>
+</dt>
+<dt id="ientry-idm9349">raptor_sax2_set_unparsed_entity_decl_handler, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2-set-unparsed-entity-decl-handler">raptor_sax2_set_unparsed_entity_decl_handler ()</a>
+</dt>
+<dt id="ientry-idm9458">raptor_sax2_set_uri_filter, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2-set-uri-filter">raptor_sax2_set_uri_filter ()</a>
+</dt>
+<dt id="ientry-idm8816">raptor_sax2_start_element_handler, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2-start-element-handler">raptor_sax2_start_element_handler ()</a>
+</dt>
+<dt id="ientry-idm9041">raptor_sax2_unparsed_entity_decl_handler, <a class="indexterm" href="raptor2-section-sax2.html#raptor-sax2-unparsed-entity-decl-handler">raptor_sax2_unparsed_entity_decl_handler ()</a>
+</dt>
+<dt id="ientry-idm10526">raptor_sequence, <a class="indexterm" href="raptor2-section-sequence.html#raptor-sequence">raptor_sequence</a>
+</dt>
+<dt id="ientry-idm9930">raptor_sequence_delete_at, <a class="indexterm" href="raptor2-section-sequence.html#raptor-sequence-delete-at">raptor_sequence_delete_at ()</a>
+</dt>
+<dt id="ientry-idm9969">raptor_sequence_get_at, <a class="indexterm" href="raptor2-section-sequence.html#raptor-sequence-get-at">raptor_sequence_get_at ()</a>
+</dt>
+<dt id="ientry-idm10012">raptor_sequence_join, <a class="indexterm" href="raptor2-section-sequence.html#raptor-sequence-join">raptor_sequence_join ()</a>
+</dt>
+<dt id="ientry-idm10054">raptor_sequence_next_permutation, <a class="indexterm" href="raptor2-section-sequence.html#raptor-sequence-next-permutation">raptor_sequence_next_permutation ()</a>
+</dt>
+<dt id="ientry-idm10097">raptor_sequence_pop, <a class="indexterm" href="raptor2-section-sequence.html#raptor-sequence-pop">raptor_sequence_pop ()</a>
+</dt>
+<dt id="ientry-idm10126">raptor_sequence_print, <a class="indexterm" href="raptor2-section-sequence.html#raptor-sequence-print">raptor_sequence_print ()</a>
+</dt>
+<dt id="ientry-idm10163">raptor_sequence_push, <a class="indexterm" href="raptor2-section-sequence.html#raptor-sequence-push">raptor_sequence_push ()</a>
+</dt>
+<dt id="ientry-idm10201">raptor_sequence_reverse, <a class="indexterm" href="raptor2-section-sequence.html#raptor-sequence-reverse">raptor_sequence_reverse ()</a>
+</dt>
+<dt id="ientry-idm10247">raptor_sequence_set_at, <a class="indexterm" href="raptor2-section-sequence.html#raptor-sequence-set-at">raptor_sequence_set_at ()</a>
+</dt>
+<dt id="ientry-idm10297">raptor_sequence_shift, <a class="indexterm" href="raptor2-section-sequence.html#raptor-sequence-shift">raptor_sequence_shift ()</a>
+</dt>
+<dt id="ientry-idm10335">raptor_sequence_size, <a class="indexterm" href="raptor2-section-sequence.html#raptor-sequence-size">raptor_sequence_size ()</a>
+</dt>
+<dt id="ientry-idm10363">raptor_sequence_sort, <a class="indexterm" href="raptor2-section-sequence.html#raptor-sequence-sort">raptor_sequence_sort ()</a>
+</dt>
+<dt id="ientry-idm10401">raptor_sequence_sort_r, <a class="indexterm" href="raptor2-section-sequence.html#raptor-sequence-sort-r">raptor_sequence_sort_r ()</a>
+</dt>
+<dt id="ientry-idm10449">raptor_sequence_swap, <a class="indexterm" href="raptor2-section-sequence.html#raptor-sequence-swap">raptor_sequence_swap ()</a>
+</dt>
+<dt id="ientry-idm10495">raptor_sequence_unshift, <a class="indexterm" href="raptor2-section-sequence.html#raptor-sequence-unshift">raptor_sequence_unshift ()</a>
+</dt>
+<dt id="ientry-idm11387">raptor_serializer, <a class="indexterm" href="raptor2-section-serializer.html#raptor-serializer">raptor_serializer</a>
+</dt>
+<dt id="ientry-idm11106">raptor_serializer_flush, <a class="indexterm" href="raptor2-section-serializer.html#raptor-serializer-flush">raptor_serializer_flush ()</a>
+</dt>
+<dt id="ientry-idm11135">raptor_serializer_get_description, <a class="indexterm" href="raptor2-section-serializer.html#raptor-serializer-get-description">raptor_serializer_get_description ()</a>
+</dt>
+<dt id="ientry-idm11166">raptor_serializer_get_iostream, <a class="indexterm" href="raptor2-section-serializer.html#raptor-serializer-get-iostream">raptor_serializer_get_iostream ()</a>
+</dt>
+<dt id="ientry-idm11196">raptor_serializer_get_locator, <a class="indexterm" href="raptor2-section-serializer.html#raptor-serializer-get-locator">raptor_serializer_get_locator ()</a>
+</dt>
+<dt id="ientry-idm11293">raptor_serializer_get_option, <a class="indexterm" href="raptor2-section-serializer.html#raptor-serializer-get-option">raptor_serializer_get_option ()</a>
+</dt>
+<dt id="ientry-idm11355">raptor_serializer_get_world, <a class="indexterm" href="raptor2-section-serializer.html#raptor-serializer-get-world">raptor_serializer_get_world ()</a>
+</dt>
+<dt id="ientry-idm11076">raptor_serializer_serialize_end, <a class="indexterm" href="raptor2-section-serializer.html#raptor-serializer-serialize-end">raptor_serializer_serialize_end ()</a>
+</dt>
+<dt id="ientry-idm11035">raptor_serializer_serialize_statement, <a class="indexterm" href="raptor2-section-serializer.html#raptor-serializer-serialize-statement">raptor_serializer_serialize_statement ()</a>
+</dt>
+<dt id="ientry-idm10944">raptor_serializer_set_namespace, <a class="indexterm" href="raptor2-section-serializer.html#raptor-serializer-set-namespace">raptor_serializer_set_namespace ()</a>
+</dt>
+<dt id="ientry-idm10994">raptor_serializer_set_namespace_from_namespace, <a class="indexterm" href="raptor2-section-serializer.html#raptor-serializer-set-namespace-from-namespace">raptor_serializer_set_namespace_from_namespace ()</a>
+</dt>
+<dt id="ientry-idm11224">raptor_serializer_set_option, <a class="indexterm" href="raptor2-section-serializer.html#raptor-serializer-set-option">raptor_serializer_set_option ()</a>
+</dt>
+<dt id="ientry-idm10799">raptor_serializer_start_to_filename, <a class="indexterm" href="raptor2-section-serializer.html#raptor-serializer-start-to-filename">raptor_serializer_start_to_filename ()</a>
+</dt>
+<dt id="ientry-idm10895">raptor_serializer_start_to_file_handle, <a class="indexterm" href="raptor2-section-serializer.html#raptor-serializer-start-to-file-handle">raptor_serializer_start_to_file_handle ()</a>
+</dt>
+<dt id="ientry-idm10747">raptor_serializer_start_to_iostream, <a class="indexterm" href="raptor2-section-serializer.html#raptor-serializer-start-to-iostream">raptor_serializer_start_to_iostream ()</a>
+</dt>
+<dt id="ientry-idm10838">raptor_serializer_start_to_string, <a class="indexterm" href="raptor2-section-serializer.html#raptor-serializer-start-to-string">raptor_serializer_start_to_string ()</a>
+</dt>
+<dt id="ientry-idm2727">raptor_short_copyright_string, <a class="indexterm" href="raptor2-section-general.html#raptor-short-copyright-string">raptor_short_copyright_string</a>
+</dt>
+<dt id="ientry-idm1906">raptor_snprintf, <a class="indexterm" href="raptor2-section-general.html#raptor-snprintf">raptor_snprintf ()</a>
+</dt>
+<dt id="ientry-idm2115">raptor_sort_r, <a class="indexterm" href="raptor2-section-general.html#raptor-sort-r">raptor_sort_r ()</a>
+</dt>
+<dt id="ientry-idm13893">raptor_statement, <a class="indexterm" href="raptor2-section-triples.html#raptor-statement">raptor_statement</a>
+</dt>
+<dt id="ientry-idm13500">raptor_statement_clear, <a class="indexterm" href="raptor2-section-triples.html#raptor-statement-clear">raptor_statement_clear ()</a>
+</dt>
+<dt id="ientry-idm13383">raptor_statement_compare, <a class="indexterm" href="raptor2-section-triples.html#raptor-statement-compare">raptor_statement_compare ()</a>
+</dt>
+<dt id="ientry-idm13351">raptor_statement_copy, <a class="indexterm" href="raptor2-section-triples.html#raptor-statement-copy">raptor_statement_copy ()</a>
+</dt>
+<dt id="ientry-idm13425">raptor_statement_equals, <a class="indexterm" href="raptor2-section-triples.html#raptor-statement-equals">raptor_statement_equals ()</a>
+</dt>
+<dt id="ientry-idm1864">raptor_statement_handler, <a class="indexterm" href="raptor2-section-general.html#raptor-statement-handler">raptor_statement_handler ()</a>
+</dt>
+<dt id="ientry-idm13464">raptor_statement_init, <a class="indexterm" href="raptor2-section-triples.html#raptor-statement-init">raptor_statement_init ()</a>
+</dt>
+<dt id="ientry-idm13605">raptor_statement_ntriples_write, <a class="indexterm" href="raptor2-section-triples.html#raptor-statement-ntriples-write">raptor_statement_ntriples_write ()</a>
+</dt>
+<dt id="ientry-idm13527">raptor_statement_print, <a class="indexterm" href="raptor2-section-triples.html#raptor-statement-print">raptor_statement_print ()</a>
+</dt>
+<dt id="ientry-idm13566">raptor_statement_print_as_ntriples, <a class="indexterm" href="raptor2-section-triples.html#raptor-statement-print-as-ntriples">raptor_statement_print_as_ntriples ()</a>
+</dt>
+<dt id="ientry-idm12092">raptor_stringbuffer, <a class="indexterm" href="raptor2-section-stringbuffer.html#raptor-stringbuffer">raptor_stringbuffer</a>
+</dt>
+<dt id="ientry-idm11559">raptor_stringbuffer_append_counted_string, <a class="indexterm" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-append-counted-string">raptor_stringbuffer_append_counted_string ()</a>
+</dt>
+<dt id="ientry-idm11619">raptor_stringbuffer_append_decimal, <a class="indexterm" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-append-decimal">raptor_stringbuffer_append_decimal ()</a>
+</dt>
+<dt id="ientry-idm11656">raptor_stringbuffer_append_hexadecimal, <a class="indexterm" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-append-hexadecimal">raptor_stringbuffer_append_hexadecimal ()</a>
+</dt>
+<dt id="ientry-idm11693">raptor_stringbuffer_append_string, <a class="indexterm" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-append-string">raptor_stringbuffer_append_string ()</a>
+</dt>
+<dt id="ientry-idm11743">raptor_stringbuffer_append_stringbuffer, <a class="indexterm" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-append-stringbuffer">raptor_stringbuffer_append_stringbuffer ()</a>
+</dt>
+<dt id="ientry-idm11785">raptor_stringbuffer_append_uri_escaped_counted_string, <a class="indexterm" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-append-uri-escaped-counted-string">raptor_stringbuffer_append_uri_escaped_counted_string ()</a>
+</dt>
+<dt id="ientry-idm11947">raptor_stringbuffer_as_string, <a class="indexterm" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-as-string">raptor_stringbuffer_as_string ()</a>
+</dt>
+<dt id="ientry-idm12004">raptor_stringbuffer_copy_to_string, <a class="indexterm" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-copy-to-string">raptor_stringbuffer_copy_to_string ()</a>
+</dt>
+<dt id="ientry-idm11976">raptor_stringbuffer_length, <a class="indexterm" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-length">raptor_stringbuffer_length ()</a>
+</dt>
+<dt id="ientry-idm11844">raptor_stringbuffer_prepend_counted_string, <a class="indexterm" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-prepend-counted-string">raptor_stringbuffer_prepend_counted_string ()</a>
+</dt>
+<dt id="ientry-idm11900">raptor_stringbuffer_prepend_string, <a class="indexterm" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-prepend-string">raptor_stringbuffer_prepend_string ()</a>
+</dt>
+<dt id="ientry-idm12051">raptor_stringbuffer_write, <a class="indexterm" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-write">raptor_stringbuffer_write ()</a>
+</dt>
+<dt id="ientry-idm6274">raptor_string_escaped_write, <a class="indexterm" href="raptor2-section-iostream.html#raptor-string-escaped-write">raptor_string_escaped_write ()</a>
+</dt>
+<dt id="ientry-idm6458">raptor_string_ntriples_write, <a class="indexterm" href="raptor2-section-iostream.html#raptor-string-ntriples-write">raptor_string_ntriples_write ()</a>
+</dt>
+<dt id="ientry-idm6515">raptor_string_python_write, <a class="indexterm" href="raptor2-section-iostream.html#raptor-string-python-write">raptor_string_python_write ()</a>
+</dt>
+<dt id="ientry-idm2997">raptor_syntax_bitflags, <a class="indexterm" href="raptor2-section-general.html#raptor-syntax-bitflags">enum raptor_syntax_bitflags</a>
+</dt>
+<dt id="ientry-idm3018">raptor_syntax_description, <a class="indexterm" href="raptor2-section-general.html#raptor-syntax-description">raptor_syntax_description</a>
+</dt>
+<dt id="ientry-idm2621">raptor_syntax_description_validate, <a class="indexterm" href="raptor2-section-general.html#raptor-syntax-description-validate">raptor_syntax_description_validate ()</a>
+</dt>
+<dt id="ientry-idm13697">raptor_term, <a class="indexterm" href="raptor2-section-triples.html#raptor-term">raptor_term</a>
+</dt>
+<dt id="ientry-idm13795">raptor_term_blank_value, <a class="indexterm" href="raptor2-section-triples.html#raptor-term-blank-value">raptor_term_blank_value</a>
+</dt>
+<dt id="ientry-idm12798">raptor_term_compare, <a class="indexterm" href="raptor2-section-triples.html#raptor-term-compare">raptor_term_compare ()</a>
+</dt>
+<dt id="ientry-idm12770">raptor_term_copy, <a class="indexterm" href="raptor2-section-triples.html#raptor-term-copy">raptor_term_copy ()</a>
+</dt>
+<dt id="ientry-idm12845">raptor_term_equals, <a class="indexterm" href="raptor2-section-triples.html#raptor-term-equals">raptor_term_equals ()</a>
+</dt>
+<dt id="ientry-idm6345">raptor_term_escaped_write, <a class="indexterm" href="raptor2-section-iostream.html#raptor-term-escaped-write">raptor_term_escaped_write ()</a>
+</dt>
+<dt id="ientry-idm13829">raptor_term_literal_value, <a class="indexterm" href="raptor2-section-triples.html#raptor-term-literal-value">raptor_term_literal_value</a>
+</dt>
+<dt id="ientry-idm13006">raptor_term_ntriples_write, <a class="indexterm" href="raptor2-section-triples.html#raptor-term-ntriples-write">raptor_term_ntriples_write ()</a>
+</dt>
+<dt id="ientry-idm12911">raptor_term_to_counted_string, <a class="indexterm" href="raptor2-section-triples.html#raptor-term-to-counted-string">raptor_term_to_counted_string ()</a>
+</dt>
+<dt id="ientry-idm12966">raptor_term_to_string, <a class="indexterm" href="raptor2-section-triples.html#raptor-term-to-string">raptor_term_to_string ()</a>
+</dt>
+<dt id="ientry-idm13054">raptor_term_to_turtle_counted_string, <a class="indexterm" href="raptor2-section-triples.html#raptor-term-to-turtle-counted-string">raptor_term_to_turtle_counted_string ()</a>
+</dt>
+<dt id="ientry-idm13116">raptor_term_to_turtle_string, <a class="indexterm" href="raptor2-section-triples.html#raptor-term-to-turtle-string">raptor_term_to_turtle_string ()</a>
+</dt>
+<dt id="ientry-idm13167">raptor_term_turtle_write, <a class="indexterm" href="raptor2-section-triples.html#raptor-term-turtle-write">raptor_term_turtle_write ()</a>
+</dt>
+<dt id="ientry-idm13657">raptor_term_type, <a class="indexterm" href="raptor2-section-triples.html#raptor-term-type">enum raptor_term_type</a>
+</dt>
+<dt id="ientry-idm13747">raptor_term_value, <a class="indexterm" href="raptor2-section-triples.html#raptor-term-value">raptor_term_value</a>
+</dt>
+<dt id="ientry-idm3109">raptor_type_q, <a class="indexterm" href="raptor2-section-general.html#raptor-type-q">raptor_type_q</a>
+</dt>
+<dt id="ientry-idm14432">raptor_unichar, <a class="indexterm" href="raptor2-section-unicode.html#raptor-unichar">raptor_unichar</a>
+</dt>
+<dt id="ientry-idm14280">raptor_unicode_check_utf8_string, <a class="indexterm" href="raptor2-section-unicode.html#raptor-unicode-check-utf8-string">raptor_unicode_check_utf8_string ()</a>
+</dt>
+<dt id="ientry-idm14248">raptor_unicode_is_xml10_namechar, <a class="indexterm" href="raptor2-section-unicode.html#raptor-unicode-is-xml10-namechar">raptor_unicode_is_xml10_namechar ()</a>
+</dt>
+<dt id="ientry-idm14184">raptor_unicode_is_xml10_namestartchar, <a class="indexterm" href="raptor2-section-unicode.html#raptor-unicode-is-xml10-namestartchar">raptor_unicode_is_xml10_namestartchar ()</a>
+</dt>
+<dt id="ientry-idm14216">raptor_unicode_is_xml11_namechar, <a class="indexterm" href="raptor2-section-unicode.html#raptor-unicode-is-xml11-namechar">raptor_unicode_is_xml11_namechar ()</a>
+</dt>
+<dt id="ientry-idm14152">raptor_unicode_is_xml11_namestartchar, <a class="indexterm" href="raptor2-section-unicode.html#raptor-unicode-is-xml11-namestartchar">raptor_unicode_is_xml11_namestartchar ()</a>
+</dt>
+<dt id="ientry-idm14105">raptor_unicode_utf8_string_get_char, <a class="indexterm" href="raptor2-section-unicode.html#raptor-unicode-utf8-string-get-char">raptor_unicode_utf8_string_get_char ()</a>
+</dt>
+<dt id="ientry-idm14057">raptor_unicode_utf8_string_put_char, <a class="indexterm" href="raptor2-section-unicode.html#raptor-unicode-utf8-string-put-char">raptor_unicode_utf8_string_put_char ()</a>
+</dt>
+<dt id="ientry-idm14317">raptor_unicode_utf8_strlen, <a class="indexterm" href="raptor2-section-unicode.html#raptor-unicode-utf8-strlen">raptor_unicode_utf8_strlen ()</a>
+</dt>
+<dt id="ientry-idm14354">raptor_unicode_utf8_substr, <a class="indexterm" href="raptor2-section-unicode.html#raptor-unicode-utf8-substr">raptor_unicode_utf8_substr ()</a>
+</dt>
+<dt id="ientry-idm16226">raptor_uri, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri">raptor_uri</a>
+</dt>
+<dt id="ientry-idm15346">raptor_uri_as_counted_string, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-as-counted-string">raptor_uri_as_counted_string ()</a>
+</dt>
+<dt id="ientry-idm15310">raptor_uri_as_string, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-as-string">raptor_uri_as_string ()</a>
+</dt>
+<dt id="ientry-idm15204">raptor_uri_compare, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-compare">raptor_uri_compare ()</a>
+</dt>
+<dt id="ientry-idm15280">raptor_uri_copy, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-copy">raptor_uri_copy ()</a>
+</dt>
+<dt id="ientry-idm15606">raptor_uri_counted_filename_to_uri_string, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-counted-filename-to-uri-string">raptor_uri_counted_filename_to_uri_string ()</a>
+</dt>
+<dt id="ientry-idm15242">raptor_uri_equals, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-equals">raptor_uri_equals ()</a>
+</dt>
+<dt id="ientry-idm6397">raptor_uri_escaped_write, <a class="indexterm" href="raptor2-section-iostream.html#raptor-uri-escaped-write">raptor_uri_escaped_write ()</a>
+</dt>
+<dt id="ientry-idm16002">raptor_uri_filename_exists, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-filename-exists">raptor_uri_filename_exists ()</a>
+</dt>
+<dt id="ientry-idm15647">raptor_uri_filename_to_uri_string, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-filename-to-uri-string">raptor_uri_filename_to_uri_string ()</a>
+</dt>
+<dt id="ientry-idm15974">raptor_uri_file_exists, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-file-exists">raptor_uri_file_exists ()</a>
+</dt>
+<dt id="ientry-idm17102">raptor_uri_filter_func, <a class="indexterm" href="raptor2-section-www.html#raptor-uri-filter-func">raptor_uri_filter_func ()</a>
+</dt>
+<dt id="ientry-idm15907">raptor_uri_get_world, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-get-world">raptor_uri_get_world ()</a>
+</dt>
+<dt id="ientry-idm15870">raptor_uri_print, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-print">raptor_uri_print ()</a>
+</dt>
+<dt id="ientry-idm15550">raptor_uri_resolve_uri_reference, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-resolve-uri-reference">raptor_uri_resolve_uri_reference ()</a>
+</dt>
+<dt id="ientry-idm15473">raptor_uri_to_counted_string, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-to-counted-string">raptor_uri_to_counted_string ()</a>
+</dt>
+<dt id="ientry-idm15390">raptor_uri_to_relative_counted_uri_string, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-to-relative-counted-uri-string">raptor_uri_to_relative_counted_uri_string ()</a>
+</dt>
+<dt id="ientry-idm15436">raptor_uri_to_relative_uri_string, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-to-relative-uri-string">raptor_uri_to_relative_uri_string ()</a>
+</dt>
+<dt id="ientry-idm15517">raptor_uri_to_string, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-to-string">raptor_uri_to_string ()</a>
+</dt>
+<dt id="ientry-idm16031">raptor_uri_to_turtle_counted_string, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-to-turtle-counted-string">raptor_uri_to_turtle_counted_string ()</a>
+</dt>
+<dt id="ientry-idm16099">raptor_uri_to_turtle_string, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-to-turtle-string">raptor_uri_to_turtle_string ()</a>
+</dt>
+<dt id="ientry-idm16157">raptor_uri_turtle_write, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-turtle-write">raptor_uri_turtle_write ()</a>
+</dt>
+<dt id="ientry-idm15678">raptor_uri_uri_string_is_absolute, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-uri-string-is-absolute">raptor_uri_uri_string_is_absolute ()</a>
+</dt>
+<dt id="ientry-idm15706">raptor_uri_uri_string_is_file_uri, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-uri-string-is-file-uri">raptor_uri_uri_string_is_file_uri ()</a>
+</dt>
+<dt id="ientry-idm15809">raptor_uri_uri_string_to_counted_filename_fragment, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-uri-string-to-counted-filename-fragment">raptor_uri_uri_string_to_counted_filename_fragment ()</a>
+</dt>
+<dt id="ientry-idm15734">raptor_uri_uri_string_to_filename, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-uri-string-to-filename">raptor_uri_uri_string_to_filename ()</a>
+</dt>
+<dt id="ientry-idm15766">raptor_uri_uri_string_to_filename_fragment, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-uri-string-to-filename-fragment">raptor_uri_uri_string_to_filename_fragment ()</a>
+</dt>
+<dt id="ientry-idm15937">raptor_uri_write, <a class="indexterm" href="raptor2-section-uri.html#raptor-uri-write">raptor_uri_write ()</a>
+</dt>
+<dt id="ientry-idm1964">raptor_vasprintf, <a class="indexterm" href="raptor2-section-general.html#raptor-vasprintf">raptor_vasprintf ()</a>
+</dt>
+<dt id="ientry-idm2651">RAPTOR_VERSION, <a class="indexterm" href="raptor2-section-general.html#RAPTOR-VERSION:CAPS">RAPTOR_VERSION</a>
+</dt>
+<dt id="ientry-idm2700">raptor_version_decimal, <a class="indexterm" href="raptor2-section-general.html#raptor-version-decimal">raptor_version_decimal</a>
+</dt>
+<dt id="ientry-idm2658">RAPTOR_VERSION_MAJOR, <a class="indexterm" href="raptor2-section-general.html#RAPTOR-VERSION-MAJOR:CAPS">RAPTOR_VERSION_MAJOR</a>
+</dt>
+<dt id="ientry-idm2682">raptor_version_major, <a class="indexterm" href="raptor2-section-general.html#raptor-version-major">raptor_version_major</a>
+</dt>
+<dt id="ientry-idm2664">RAPTOR_VERSION_MINOR, <a class="indexterm" href="raptor2-section-general.html#RAPTOR-VERSION-MINOR:CAPS">RAPTOR_VERSION_MINOR</a>
+</dt>
+<dt id="ientry-idm2688">raptor_version_minor, <a class="indexterm" href="raptor2-section-general.html#raptor-version-minor">raptor_version_minor</a>
+</dt>
+<dt id="ientry-idm2670">RAPTOR_VERSION_RELEASE, <a class="indexterm" href="raptor2-section-general.html#RAPTOR-VERSION-RELEASE:CAPS">RAPTOR_VERSION_RELEASE</a>
+</dt>
+<dt id="ientry-idm2694">raptor_version_release, <a class="indexterm" href="raptor2-section-general.html#raptor-version-release">raptor_version_release</a>
+</dt>
+<dt id="ientry-idm2676">RAPTOR_VERSION_STRING, <a class="indexterm" href="raptor2-section-general.html#RAPTOR-VERSION-STRING:CAPS">RAPTOR_VERSION_STRING</a>
+</dt>
+<dt id="ientry-idm2733">raptor_version_string, <a class="indexterm" href="raptor2-section-general.html#raptor-version-string">raptor_version_string</a>
+</dt>
+<dt id="ientry-idm2011">raptor_vsnprintf, <a class="indexterm" href="raptor2-section-general.html#raptor-vsnprintf">raptor_vsnprintf ()</a>
+</dt>
+<dt id="ientry-idm2057">raptor_vsnprintf2, <a class="indexterm" href="raptor2-section-general.html#raptor-vsnprintf2">raptor_vsnprintf2 ()</a>
+</dt>
+<dt id="ientry-idm1539">raptor_world, <a class="indexterm" href="raptor2-section-world.html#raptor-world">raptor_world</a>
+</dt>
+<dt id="ientry-idm1545">raptor_world_flag, <a class="indexterm" href="raptor2-section-world.html#raptor-world-flag">enum raptor_world_flag</a>
+</dt>
+<dt id="ientry-idm1345">raptor_world_generate_bnodeid, <a class="indexterm" href="raptor2-section-world.html#raptor-world-generate-bnodeid">raptor_world_generate_bnodeid ()</a>
+</dt>
+<dt id="ientry-idm4337">raptor_world_get_option_description, <a class="indexterm" href="raptor2-section-option.html#raptor-world-get-option-description">raptor_world_get_option_description ()</a>
+</dt>
+<dt id="ientry-idm4411">raptor_world_get_option_from_uri, <a class="indexterm" href="raptor2-section-option.html#raptor-world-get-option-from-uri">raptor_world_get_option_from_uri ()</a>
+</dt>
+<dt id="ientry-idm1481">raptor_world_get_parsers_count, <a class="indexterm" href="raptor2-section-world.html#raptor-world-get-parsers-count">raptor_world_get_parsers_count ()</a>
+</dt>
+<dt id="ientry-idm1122">raptor_world_get_parser_description, <a class="indexterm" href="raptor2-section-world.html#raptor-world-get-parser-description">raptor_world_get_parser_description ()</a>
+</dt>
+<dt id="ientry-idm1509">raptor_world_get_serializers_count, <a class="indexterm" href="raptor2-section-world.html#raptor-world-get-serializers-count">raptor_world_get_serializers_count ()</a>
+</dt>
+<dt id="ientry-idm1271">raptor_world_get_serializer_description, <a class="indexterm" href="raptor2-section-world.html#raptor-world-get-serializer-description">raptor_world_get_serializer_description ()</a>
+</dt>
+<dt id="ientry-idm1196">raptor_world_guess_parser_name, <a class="indexterm" href="raptor2-section-world.html#raptor-world-guess-parser-name">raptor_world_guess_parser_name ()</a>
+</dt>
+<dt id="ientry-idm1159">raptor_world_is_parser_name, <a class="indexterm" href="raptor2-section-world.html#raptor-world-is-parser-name">raptor_world_is_parser_name ()</a>
+</dt>
+<dt id="ientry-idm1308">raptor_world_is_serializer_name, <a class="indexterm" href="raptor2-section-world.html#raptor-world-is-serializer-name">raptor_world_is_serializer_name ()</a>
+</dt>
+<dt id="ientry-idm910">raptor_world_open, <a class="indexterm" href="raptor2-section-world.html#raptor-world-open">raptor_world_open ()</a>
+</dt>
+<dt id="ientry-idm970">raptor_world_set_flag, <a class="indexterm" href="raptor2-section-world.html#raptor-world-set-flag">raptor_world_set_flag ()</a>
+</dt>
+<dt id="ientry-idm1373">raptor_world_set_generate_bnodeid_handler, <a class="indexterm" href="raptor2-section-world.html#raptor-world-set-generate-bnodeid-handler">raptor_world_set_generate_bnodeid_handler ()</a>
+</dt>
+<dt id="ientry-idm1424">raptor_world_set_generate_bnodeid_parameters, <a class="indexterm" href="raptor2-section-world.html#raptor-world-set-generate-bnodeid-parameters">raptor_world_set_generate_bnodeid_parameters ()</a>
+</dt>
+<dt id="ientry-idm1022">raptor_world_set_libxslt_security_preferences, <a class="indexterm" href="raptor2-section-world.html#raptor-world-set-libxslt-security-preferences">raptor_world_set_libxslt_security_preferences ()</a>
+</dt>
+<dt id="ientry-idm1075">raptor_world_set_log_handler, <a class="indexterm" href="raptor2-section-world.html#raptor-world-set-log-handler">raptor_world_set_log_handler ()</a>
+</dt>
+<dt id="ientry-idm17586">raptor_www, <a class="indexterm" href="raptor2-section-www.html#raptor-www">raptor_www</a>
+</dt>
+<dt id="ientry-idm17549">raptor_www_abort, <a class="indexterm" href="raptor2-section-www.html#raptor-www-abort">raptor_www_abort ()</a>
+</dt>
+<dt id="ientry-idm16620">raptor_www_content_type_handler, <a class="indexterm" href="raptor2-section-www.html#raptor-www-content-type-handler">raptor_www_content_type_handler ()</a>
+</dt>
+<dt id="ientry-idm17311">raptor_www_fetch, <a class="indexterm" href="raptor2-section-www.html#raptor-www-fetch">raptor_www_fetch ()</a>
+</dt>
+<dt id="ientry-idm17348">raptor_www_fetch_to_string, <a class="indexterm" href="raptor2-section-www.html#raptor-www-fetch-to-string">raptor_www_fetch_to_string ()</a>
+</dt>
+<dt id="ientry-idm17188">raptor_www_final_uri_handler, <a class="indexterm" href="raptor2-section-www.html#raptor-www-final-uri-handler">raptor_www_final_uri_handler ()</a>
+</dt>
+<dt id="ientry-idm17416">raptor_www_get_connection, <a class="indexterm" href="raptor2-section-www.html#raptor-www-get-connection">raptor_www_get_connection ()</a>
+</dt>
+<dt id="ientry-idm17236">raptor_www_get_final_uri, <a class="indexterm" href="raptor2-section-www.html#raptor-www-get-final-uri">raptor_www_get_final_uri ()</a>
+</dt>
+<dt id="ientry-idm17024">raptor_www_set_connection_timeout, <a class="indexterm" href="raptor2-section-www.html#raptor-www-set-connection-timeout">raptor_www_set_connection_timeout ()</a>
+</dt>
+<dt id="ientry-idm17058">raptor_www_set_content_type_handler, <a class="indexterm" href="raptor2-section-www.html#raptor-www-set-content-type-handler">raptor_www_set_content_type_handler ()</a>
+</dt>
+<dt id="ientry-idm17267">raptor_www_set_final_uri_handler, <a class="indexterm" href="raptor2-section-www.html#raptor-www-set-final-uri-handler">raptor_www_set_final_uri_handler ()</a>
+</dt>
+<dt id="ientry-idm16897">raptor_www_set_http_accept, <a class="indexterm" href="raptor2-section-www.html#raptor-www-set-http-accept">raptor_www_set_http_accept ()</a>
+</dt>
+<dt id="ientry-idm16848">raptor_www_set_http_accept2, <a class="indexterm" href="raptor2-section-www.html#raptor-www-set-http-accept2">raptor_www_set_http_accept2 ()</a>
+</dt>
+<dt id="ientry-idm16940">raptor_www_set_http_cache_control, <a class="indexterm" href="raptor2-section-www.html#raptor-www-set-http-cache-control">raptor_www_set_http_cache_control ()</a>
+</dt>
+<dt id="ientry-idm16805">raptor_www_set_proxy, <a class="indexterm" href="raptor2-section-www.html#raptor-www-set-proxy">raptor_www_set_proxy ()</a>
+</dt>
+<dt id="ientry-idm16756">raptor_www_set_proxy2, <a class="indexterm" href="raptor2-section-www.html#raptor-www-set-proxy2">raptor_www_set_proxy2 ()</a>
+</dt>
+<dt id="ientry-idm17447">raptor_www_set_ssl_cert_options, <a class="indexterm" href="raptor2-section-www.html#raptor-www-set-ssl-cert-options">raptor_www_set_ssl_cert_options ()</a>
+</dt>
+<dt id="ientry-idm17502">raptor_www_set_ssl_verify_options, <a class="indexterm" href="raptor2-section-www.html#raptor-www-set-ssl-verify-options">raptor_www_set_ssl_verify_options ()</a>
+</dt>
+<dt id="ientry-idm17145">raptor_www_set_uri_filter, <a class="indexterm" href="raptor2-section-www.html#raptor-www-set-uri-filter">raptor_www_set_uri_filter ()</a>
+</dt>
+<dt id="ientry-idm16715">raptor_www_set_user_agent, <a class="indexterm" href="raptor2-section-www.html#raptor-www-set-user-agent">raptor_www_set_user_agent ()</a>
+</dt>
+<dt id="ientry-idm16668">raptor_www_set_user_agent2, <a class="indexterm" href="raptor2-section-www.html#raptor-www-set-user-agent2">raptor_www_set_user_agent2 ()</a>
+</dt>
+<dt id="ientry-idm16979">raptor_www_set_write_bytes_handler, <a class="indexterm" href="raptor2-section-www.html#raptor-www-set-write-bytes-handler">raptor_www_set_write_bytes_handler ()</a>
+</dt>
+<dt id="ientry-idm16554">raptor_www_write_bytes_handler, <a class="indexterm" href="raptor2-section-www.html#raptor-www-write-bytes-handler">raptor_www_write_bytes_handler ()</a>
+</dt>
+<dt id="ientry-idm2772">raptor_xmlschema_datatypes_namespace_uri, <a class="indexterm" href="raptor2-section-general.html#raptor-xmlschema-datatypes-namespace-uri">raptor_xmlschema_datatypes_namespace_uri</a>
+</dt>
+<dt id="ientry-idm4198">RAPTOR_XMLSCHEMA_DATATYPES_URI, <a class="indexterm" href="raptor2-section-constants.html#RAPTOR-XMLSCHEMA-DATATYPES-URI:CAPS">RAPTOR_XMLSCHEMA_DATATYPES_URI</a>
+</dt>
+<dt id="ientry-idm21043">raptor_xml_element, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-element">raptor_xml_element</a>
+</dt>
+<dt id="ientry-idm19866">raptor_xml_element_declare_namespace, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-element-declare-namespace">raptor_xml_element_declare_namespace ()</a>
+</dt>
+<dt id="ientry-idm19762">raptor_xml_element_get_attributes, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-element-get-attributes">raptor_xml_element_get_attributes ()</a>
+</dt>
+<dt id="ientry-idm19793">raptor_xml_element_get_attributes_count, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-element-get-attributes-count">raptor_xml_element_get_attributes_count ()</a>
+</dt>
+<dt id="ientry-idm19931">raptor_xml_element_get_language, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-element-get-language">raptor_xml_element_get_language ()</a>
+</dt>
+<dt id="ientry-idm19734">raptor_xml_element_get_name, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-element-get-name">raptor_xml_element_get_name ()</a>
+</dt>
+<dt id="ientry-idm19903">raptor_xml_element_is_empty, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-element-is-empty">raptor_xml_element_is_empty ()</a>
+</dt>
+<dt id="ientry-idm19821">raptor_xml_element_set_attributes, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-element-set-attributes">raptor_xml_element_set_attributes ()</a>
+</dt>
+<dt id="ientry-idm19959">raptor_xml_element_write, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-element-write">raptor_xml_element_write ()</a>
+</dt>
+<dt id="ientry-idm20856">raptor_xml_escape_string, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-escape-string">raptor_xml_escape_string ()</a>
+</dt>
+<dt id="ientry-idm20662">raptor_xml_escape_string_any, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-escape-string-any">raptor_xml_escape_string_any ()</a>
+</dt>
+<dt id="ientry-idm20785">raptor_xml_escape_string_any_write, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-escape-string-any-write">raptor_xml_escape_string_any_write ()</a>
+</dt>
+<dt id="ientry-idm20932">raptor_xml_escape_string_write, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-escape-string-write">raptor_xml_escape_string_write ()</a>
+</dt>
+<dt id="ientry-idm2760">raptor_xml_literal_datatype_uri_string, <a class="indexterm" href="raptor2-section-general.html#raptor-xml-literal-datatype-uri-string">raptor_xml_literal_datatype_uri_string</a>
+</dt>
+<dt id="ientry-idm4172">raptor_xml_literal_datatype_uri_string_len, <a class="indexterm" href="raptor2-section-constants.html#raptor-xml-literal-datatype-uri-string-len">raptor_xml_literal_datatype_uri_string_len</a>
+</dt>
+<dt id="ientry-idm18582">raptor_xml_namespace_string_parse, <a class="indexterm" href="raptor2-section-xml-namespace.html#raptor-xml-namespace-string-parse">raptor_xml_namespace_string_parse ()</a>
+</dt>
+<dt id="ientry-idm2766">raptor_xml_namespace_uri, <a class="indexterm" href="raptor2-section-general.html#raptor-xml-namespace-uri">raptor_xml_namespace_uri</a>
+</dt>
+<dt id="ientry-idm20994">raptor_xml_name_check, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-name-check">raptor_xml_name_check ()</a>
+</dt>
+<dt id="ientry-idm21049">raptor_xml_writer, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-writer">raptor_xml_writer</a>
+</dt>
+<dt id="ientry-idm20213">raptor_xml_writer_cdata, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-writer-cdata">raptor_xml_writer_cdata ()</a>
+</dt>
+<dt id="ientry-idm20248">raptor_xml_writer_cdata_counted, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-writer-cdata-counted">raptor_xml_writer_cdata_counted ()</a>
+</dt>
+<dt id="ientry-idm20371">raptor_xml_writer_comment, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-writer-comment">raptor_xml_writer_comment ()</a>
+</dt>
+<dt id="ientry-idm20406">raptor_xml_writer_comment_counted, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-writer-comment-counted">raptor_xml_writer_comment_counted ()</a>
+</dt>
+<dt id="ientry-idm20107">raptor_xml_writer_empty_element, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-writer-empty-element">raptor_xml_writer_empty_element ()</a>
+</dt>
+<dt id="ientry-idm20178">raptor_xml_writer_end_element, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-writer-end-element">raptor_xml_writer_end_element ()</a>
+</dt>
+<dt id="ientry-idm20450">raptor_xml_writer_flush, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-writer-flush">raptor_xml_writer_flush ()</a>
+</dt>
+<dt id="ientry-idm20501">raptor_xml_writer_get_depth, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-writer-get-depth">raptor_xml_writer_get_depth ()</a>
+</dt>
+<dt id="ientry-idm20600">raptor_xml_writer_get_option, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-writer-get-option">raptor_xml_writer_get_option ()</a>
+</dt>
+<dt id="ientry-idm20475">raptor_xml_writer_newline, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-writer-newline">raptor_xml_writer_newline ()</a>
+</dt>
+<dt id="ientry-idm20292">raptor_xml_writer_raw, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-writer-raw">raptor_xml_writer_raw ()</a>
+</dt>
+<dt id="ientry-idm20327">raptor_xml_writer_raw_counted, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-writer-raw-counted">raptor_xml_writer_raw_counted ()</a>
+</dt>
+<dt id="ientry-idm20531">raptor_xml_writer_set_option, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-writer-set-option">raptor_xml_writer_set_option ()</a>
+</dt>
+<dt id="ientry-idm20142">raptor_xml_writer_start_element, <a class="indexterm" href="raptor2-section-xml.html#raptor-xml-writer-start-element">raptor_xml_writer_start_element ()</a>
+</dt>
+</dl>
+</div></div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/left-insensitive.png b/docs/html/left-insensitive.png
new file mode 100644
index 0000000..2cd8c16
--- /dev/null
+++ b/docs/html/left-insensitive.png
Binary files differ
diff --git a/docs/html/left.png b/docs/html/left.png
new file mode 100644
index 0000000..1ca1664
--- /dev/null
+++ b/docs/html/left.png
Binary files differ
diff --git a/docs/html/parser-grddl.html b/docs/html/parser-grddl.html
new file mode 100644
index 0000000..cd429cf
--- /dev/null
+++ b/docs/html/parser-grddl.html
@@ -0,0 +1,102 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>GRDDL parser (name grddl): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-parsers.html" title="Parsers in Raptor (syntax to triples)">
+<link rel="prev" href="raptor-parsers.html" title="Parsers in Raptor (syntax to triples)">
+<link rel="next" href="parser-guess.html" title="Guess parser (name guess)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-parsers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor-parsers.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="parser-guess.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="parser-grddl"></a>GRDDL parser (name <code class="literal">grddl</code>)</h2></div></div></div>
+<p>A parser for the
+<a class="ulink" href="http://www.w3.org/TR/2007/PR-grddl-20070716/" target="_top">Gleaning Resource Descriptions from Dialects of Languages (GRDDL)</a>,
+W3C Proposed Recommendation of 2007-07-16 which allows reading XHTML
+and XML as RDF triples by using profiles in the document that declare
+XSLT transforms from the XHTML or XML content into RDF/XML or other
+RDF syntax which can then be parsed.</p>
+<p>The GRDDL parser is rather complex and different from the other
+parsers in that it retrieves URIs, reads HTML documents (possibly
+with errors), transforms the documents with XSLT and turns the result
+into a single graph. The default configuration of the GRDDL parser
+also reads microformats (hcard, hcalendar) and follows &lt;link&gt;
+tags that point to RDF/XML. Parts of the GRDDL process can be
+altered by configuration, which are describe below.
+</p>
+<p>The GRDDL parser defines 'base', 'Base' and 'url' XSLT parameters
+with the value of the base URI to allow some XSLT sheets to work. These
+set of parameters cannot be disabled.
+</p>
+<p>If the XSLT transform returns an empty string, no further
+processing of the result is done, and a warning is generated. The
+xsl:output method is mapped to result document mime types as follows:
+'text' to text/plain; 'xml' to application/xml and 'html' to text/html.
+Any result that is of type 'application/xml' or unknown mime type
+is assumed to be RDF/XML.
+</p>
+<p>The URIs that are processed during GRDDL operations can be checked
+and skipped if required using a handler set with the
+<a class="link" href="raptor2-section-parser.html#raptor-parser-set-uri-filter" title="raptor_parser_set_uri_filter ()"><code class="function">raptor_parser_set_uri_filter()</code></a>
+function. If the handler returns non-0, the URI is rejected.
+This uses
+<a class="link" href="raptor2-section-www.html#raptor-www-set-uri-filter" title="raptor_www_set_uri_filter ()"><code class="function">raptor_www_set_uri_filter()</code></a>
+internally.
+</p>
+<p>If the value of option
+<a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-WWW-TIMEOUT:CAPS"><code class="literal">RAPTOR_OPTION_WWW_TIMEOUT</code></a>
+if set to a number &gt;0, it is used as the timeout in seconds
+for retrieving of URIs during GRDDL processing.
+This uses
+<a class="link" href="raptor2-section-www.html#raptor-www-set-connection-timeout" title="raptor_www_set_connection_timeout ()"><code class="function">raptor_www_set_connection_timeout()</code></a>
+internally.
+</p>
+<p>The hardcoded support for hcard and hcalendar
+microformats can be disabled by setting parser option
+<a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-MICROFORMATS:CAPS"><code class="literal">RAPTOR_OPTION_MICROFORMATS</code></a>
+to 0
+or using
+<a class="link" href="raptor2-section-parser.html#raptor-parser-set-option" title="raptor_parser_set_option ()"><code class="function">raptor_parser_set_option()</code></a>
+with option
+<a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-STRICT:CAPS"><code class="literal">RAPTOR_OPTION_STRICT</code></a>
+and a boolean value of 1.
+</p>
+<p>The GRDDL parser by default will try an XML parser on the
+content followed by a lax HTML parser. This can be disabled by
+setting parser option
+<a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-HTML-TAG-SOUP:CAPS"><code class="literal">RAPTOR_OPTION_HTML_TAG_SOUP</code></a>
+to 0
+or using
+<a class="link" href="raptor2-section-parser.html#raptor-parser-set-option" title="raptor_parser_set_option ()"><code class="function">raptor_parser_set_option()</code></a>
+with option
+<a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-STRICT:CAPS"><code class="literal">RAPTOR_OPTION_STRICT</code></a>
+and a boolean value of 1.
+</p>
+<p>The GRDDL parser by default will try to look for an HTML
+&lt;link&gt; tag that points to RDF/XML. This can be disabled by
+setting parser option
+<a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-HTML-LINK:CAPS"><code class="literal">RAPTOR_OPTION_HTML_LINK</code></a>
+to 0
+or using
+<a class="link" href="raptor2-section-parser.html#raptor-parser-set-option" title="raptor_parser_set_option ()"><code class="function">raptor_parser_set_option()</code></a>
+with option
+<a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-STRICT:CAPS"><code class="literal">RAPTOR_OPTION_STRICT</code></a>
+and a boolean value of 1.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/parser-guess.html b/docs/html/parser-guess.html
new file mode 100644
index 0000000..98730ff
--- /dev/null
+++ b/docs/html/parser-guess.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Guess parser (name guess): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-parsers.html" title="Parsers in Raptor (syntax to triples)">
+<link rel="prev" href="parser-grddl.html" title="GRDDL parser (name grddl)">
+<link rel="next" href="parser-json.html" title="JSON parser (name json)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-parsers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="parser-grddl.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="parser-json.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="parser-guess"></a>Guess parser (name <code class="literal">guess</code>)</h2></div></div></div>
+<p>
+This is a special parser that picks the actual parser to use based
+on the content type, the content bytes or the content identifier. The
+content name can be either from a local file or from a URI.
+</p>
+<p>If the protocol that delivered the content (such as HTTP)
+provided a <span class="emphasis"><em>Content Type</em></span> (aka MIME Type) then
+this will be the primary means for identifying th ecotnent.
+</p>
+<p>The secondary means to identify the content are the bytes of
+the content (if available), otherwise the content identifier is used,
+which is the least reliable.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/parser-json.html b/docs/html/parser-json.html
new file mode 100644
index 0000000..4c88093
--- /dev/null
+++ b/docs/html/parser-json.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>JSON parser (name json): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-parsers.html" title="Parsers in Raptor (syntax to triples)">
+<link rel="prev" href="parser-guess.html" title="Guess parser (name guess)">
+<link rel="next" href="parser-ntriples.html" title="N-Triples parser (name ntriples)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-parsers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="parser-guess.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="parser-ntriples.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="parser-json"></a>JSON parser (name <code class="literal">json</code>)</h2></div></div></div>
+<p>A parser for both the
+resource-centric RDF/JSON syntax as defined by Talis at
+<a class="ulink" href="http://n2.talis.com/wiki/RDF_JSON_Specification" target="_top">RDF/JSON Specification</a>
+and the triples-centric format based on the SPARQL results in JSON format.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/parser-ntriples.html b/docs/html/parser-ntriples.html
new file mode 100644
index 0000000..59f55bf
--- /dev/null
+++ b/docs/html/parser-ntriples.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>N-Triples parser (name ntriples): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-parsers.html" title="Parsers in Raptor (syntax to triples)">
+<link rel="prev" href="parser-json.html" title="JSON parser (name json)">
+<link rel="next" href="parser-rdfa.html" title="RDFa parser - (name rdfa)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-parsers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="parser-json.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="parser-rdfa.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="parser-ntriples"></a>N-Triples parser (name <code class="literal">ntriples</code>)</h2></div></div></div>
+<p>A parser for the
+<a class="ulink" href="http://www.w3.org/TR/rdf-testcases/#ntriples" target="_top">N-Triples</a>
+syntax as used by the
+<a class="ulink" href="http://www.w3.org/2001/sw/RDFCore/" target="_top">W3C RDF Core working group</a>
+for the <a class="ulink" href="http://www.w3.org/TR/rdf-testcases/" target="_top">RDF Test Cases</a>.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/parser-rdfa.html b/docs/html/parser-rdfa.html
new file mode 100644
index 0000000..8a47fc3
--- /dev/null
+++ b/docs/html/parser-rdfa.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RDFa parser - (name rdfa): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-parsers.html" title="Parsers in Raptor (syntax to triples)">
+<link rel="prev" href="parser-ntriples.html" title="N-Triples parser (name ntriples)">
+<link rel="next" href="parser-rdfxml.html" title="RDF/XML parser - default (name rdfxml)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-parsers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="parser-ntriples.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="parser-rdfxml.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="parser-rdfa"></a>RDFa parser - (name <code class="literal">rdfa</code>)</h2></div></div></div>
+<p>
+A parser for the
+<a class="ulink" href="http://www.w3.org/TR/2008/CR-rdfa-syntax-20080620/" target="_top">RDFa</a>
+syntax, W3C Candidate Recommendation 20 June 2008 which allows reading XHTML
+and XML as RDF triples by interpreting attributes on elements to
+describe which ones have RDF semantics. This is implemented via
+<a class="ulink" href="http://rdfa.digitalbazaar.com/librdfa/" target="_top">librdfa</a>
+linked inside Raptor, written by Manu Sporny of Digital Bazaar,
+and licensed with the same license as Raptor.
+</p>
+<p>
+This parser is beta quality and passes all but 4 of the RDFa tests as
+of Raptor 1.4.18.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/parser-rdfxml.html b/docs/html/parser-rdfxml.html
new file mode 100644
index 0000000..437de0d
--- /dev/null
+++ b/docs/html/parser-rdfxml.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RDF/XML parser - default (name rdfxml): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-parsers.html" title="Parsers in Raptor (syntax to triples)">
+<link rel="prev" href="parser-rdfa.html" title="RDFa parser - (name rdfa)">
+<link rel="next" href="parser-rss-tag-soup.html" title="RSS Tag Soup parser (name rss-tag-soup)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-parsers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="parser-rdfa.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="parser-rss-tag-soup.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="parser-rdfxml"></a>RDF/XML parser - default (name <code class="literal">rdfxml</code>)</h2></div></div></div>
+<p>
+A parser for the standard
+<a class="ulink" href="http://www.w3.org/TR/rdf-syntax-grammar/" target="_top">RDF/XML syntax</a>
+as revised by the
+<a class="ulink" href="http://www.w3.org/2001/sw/RDFCore/" target="_top">W3C RDF Core working group</a>.</p>
+<p>This is the default parser in Raptor.</p>
+<p>Features of this parser:</p>
+<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>Fully handles the <a class="ulink" href="http://www.w3.org/TR/rdf-syntax-grammar/" target="_top">RDF/XML syntax updates</a> for <a class="ulink" href="http://www.w3.org/TR/xmlbase/" target="_top">XML Base</a>, <code class="literal">xml:lang</code>, RDF datatyping and Collections.</p></li>
+<li class="listitem"><p>Handles all RDF vocabularies such as <a class="ulink" href="http://www.foaf-project.org/" target="_top">FOAF</a>, <a class="ulink" href="http://www.purl.org/rss/1.0/" target="_top">RSS 1.0</a>, <a class="ulink" href="http://dublincore.org/" target="_top">Dublin Core</a>, <a class="ulink" href="http://www.w3.org/TR/owl-features/" target="_top">OWL</a>, <a class="ulink" href="http://usefulinc.com/doap" target="_top">DOAP</a></p></li>
+<li class="listitem"><p>Handles <code class="literal">rdf:resource</code> / <code class="literal">resource</code> attributes</p></li>
+<li class="listitem"><p>Uses <a class="ulink" href="http://expat.sourceforge.net/" target="_top">expat</a> and/or (GNOME) <a class="ulink" href="http://xmlsoft.org/" target="_top">libxml</a> XML parsers as available or required</p></li>
+</ul></div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/parser-rss-tag-soup.html b/docs/html/parser-rss-tag-soup.html
new file mode 100644
index 0000000..f6215c4
--- /dev/null
+++ b/docs/html/parser-rss-tag-soup.html
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RSS Tag Soup parser (name rss-tag-soup): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-parsers.html" title="Parsers in Raptor (syntax to triples)">
+<link rel="prev" href="parser-rdfxml.html" title="RDF/XML parser - default (name rdfxml)">
+<link rel="next" href="parser-trig.html" title="TRiG parser (name trig)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-parsers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="parser-rdfxml.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="parser-trig.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="parser-rss-tag-soup"></a>RSS Tag Soup parser (name <code class="literal">rss-tag-soup</code>)</h2></div></div></div>
+<p>A parser for the multiple XML RSS formats that use the elements
+such as <code class="literal">channel</code>, <code class="literal">item</code>,
+<code class="literal">title</code>, <code class="literal">description</code>
+in different ways.
+This includes support for the Atom 1.0 syndication format defined in IETF
+<a class="ulink" href="http://www.ietf.org/rfc/rfc4287.txt" target="_top">RFC 4287</a>
+</p>
+<p>The parser attempts to turn the input into
+<a class="ulink" href="http://www.purl.org/rss/1.0/" target="_top">RSS 1.0</a>
+RDF triples in the RSS 1.0 model of a syndication feed.
+This includes triples for RSS Enclosures.
+</p>
+<p>
+True <a class="ulink" href="http://www.purl.org/rss/1.0/" target="_top">RSS 1.0</a> when
+wanted to be used as a full RDF vocabulary, is best parsed by the
+RDF/XML parser (name <code class="literal">rdfxml</code>).
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/parser-trig.html b/docs/html/parser-trig.html
new file mode 100644
index 0000000..6ddd213
--- /dev/null
+++ b/docs/html/parser-trig.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>TRiG parser (name trig): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-parsers.html" title="Parsers in Raptor (syntax to triples)">
+<link rel="prev" href="parser-rss-tag-soup.html" title="RSS Tag Soup parser (name rss-tag-soup)">
+<link rel="next" href="parser-turtle.html" title="Turtle Terse RDF Triple Language parser (name turtle)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-parsers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="parser-rss-tag-soup.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="parser-turtle.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="parser-trig"></a>TRiG parser (name <code class="literal">trig</code>)</h2></div></div></div>
+<p>A parser for the
+<a class="ulink" href="http://www.wiwiss.fu-berlin.de/suhl/bizer/TriG/Spec/" target="_top">TriG - Turtle with Named Graphs</a>
+syntax.
+</p>
+<p>The parser is alpha quality and may not support the entire TRiG
+specification.</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/parser-turtle.html b/docs/html/parser-turtle.html
new file mode 100644
index 0000000..6eea534
--- /dev/null
+++ b/docs/html/parser-turtle.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Turtle Terse RDF Triple Language parser (name turtle): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-parsers.html" title="Parsers in Raptor (syntax to triples)">
+<link rel="prev" href="parser-trig.html" title="TRiG parser (name trig)">
+<link rel="next" href="raptor-serializers.html" title="Serializers in Raptor (triples to syntax)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-parsers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="parser-trig.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor-serializers.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="parser-turtle"></a>Turtle Terse RDF Triple Language parser (name <code class="literal">turtle</code>)</h2></div></div></div>
+<p>A parser for the
+<a class="ulink" href="http://www.dajobe.org/2004/01/turtle/" target="_top">Turtle Terse RDF Triple Language</a>
+syntax, designed as a useful subset of
+<a class="ulink" href="http://www.w3.org/DesignIssues/Notation3" target="_top">Notation 3</a>.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor-formats-types-by-parser.html b/docs/html/raptor-formats-types-by-parser.html
new file mode 100644
index 0000000..b9b3237
--- /dev/null
+++ b/docs/html/raptor-formats-types-by-parser.html
@@ -0,0 +1,102 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>MIME Types by Parser: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-formats.html" title="Syntax Formats supported in Raptor">
+<link rel="prev" href="raptor-formats.html" title="Syntax Formats supported in Raptor">
+<link rel="next" href="raptor-formats-types-by-serializer.html" title="MIME Types by Serializer">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-formats.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor-formats.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor-formats-types-by-serializer.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="raptor-formats-types-by-parser"></a>MIME Types by Parser</h2></div></div></div>
+<div class="variablelist"><table border="0" class="variablelist">
+<colgroup>
+<col align="left" valign="top">
+<col>
+</colgroup>
+<tbody>
+<tr>
+<td><p><span class="term">Gleaning Resource Descriptions from Dialects of Languages (<code class="literal">grddl</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p><code class="literal">text/html</code> with q 0.2</p></li>
+<li class="listitem"><p><code class="literal">application/xhtml+xml</code> with q 0.4</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term">N-Quads (<code class="literal">nquads</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><code class="literal">text/x-nquads</code> with q 1.0</p></li></ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term">N-Triples (<code class="literal">ntriples</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p><code class="literal">application/n-triples</code> with q 1.0</p></li>
+<li class="listitem"><p><code class="literal">text/plain</code> with q 0.1</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term">RDF/A via librdfa (<code class="literal">rdfa</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p><code class="literal">text/html</code> with q 0.6</p></li>
+<li class="listitem"><p><code class="literal">application/xhtml+xml</code> with q 0.8</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term">RDF/JSON (either Triples or Resource-Centric) (<code class="literal">json</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p><code class="literal">application/json</code> with q 0.1</p></li>
+<li class="listitem"><p><code class="literal">text/json</code> with q 0.1</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term">RDF/XML (<code class="literal">rdfxml</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p><code class="literal">application/rdf+xml</code> with q 1.0</p></li>
+<li class="listitem"><p><code class="literal">text/rdf</code> with q 0.6</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term">RSS Tag Soup (<code class="literal">rss-tag-soup</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p><code class="literal">application/rss</code> with q 0.8</p></li>
+<li class="listitem"><p><code class="literal">application/rss+xml</code> with q 0.8</p></li>
+<li class="listitem"><p><code class="literal">text/rss</code> with q 0.8</p></li>
+<li class="listitem"><p><code class="literal">application/xml</code> with q 0.3</p></li>
+<li class="listitem"><p><code class="literal">text/xml</code> with q 0.3</p></li>
+<li class="listitem"><p><code class="literal">application/atom+xml</code> with q 0.3</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term">TriG - Turtle with Named Graphs (<code class="literal">trig</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><code class="literal">application/x-trig</code> with q 1.0</p></li></ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term">Turtle Terse RDF Triple Language (<code class="literal">turtle</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p><code class="literal">text/turtle</code> with q 1.0</p></li>
+<li class="listitem"><p><code class="literal">application/x-turtle</code> with q 1.0</p></li>
+<li class="listitem"><p><code class="literal">application/turtle</code> with q 1.0</p></li>
+<li class="listitem"><p><code class="literal">text/n3</code> with q 0.3</p></li>
+<li class="listitem"><p><code class="literal">text/rdf+n3</code> with q 0.3</p></li>
+<li class="listitem"><p><code class="literal">application/rdf+n3</code> with q 0.3</p></li>
+</ul></div></td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor-formats-types-by-serializer.html b/docs/html/raptor-formats-types-by-serializer.html
new file mode 100644
index 0000000..91155ba
--- /dev/null
+++ b/docs/html/raptor-formats-types-by-serializer.html
@@ -0,0 +1,124 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>MIME Types by Serializer: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-formats.html" title="Syntax Formats supported in Raptor">
+<link rel="prev" href="raptor-formats-types-by-parser.html" title="MIME Types by Parser">
+<link rel="next" href="raptor-formats-types-index.html" title="MIME Types Index">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-formats.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor-formats-types-by-parser.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor-formats-types-index.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="raptor-formats-types-by-serializer"></a>MIME Types by Serializer</h2></div></div></div>
+<div class="variablelist"><table border="0" class="variablelist">
+<colgroup>
+<col align="left" valign="top">
+<col>
+</colgroup>
+<tbody>
+<tr>
+<td><p><span class="term">Atom 1.0 (<code class="literal">atom</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><code class="literal">application/atom+xml</code> with q 1.0</p></li></ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term">GraphViz DOT format (<code class="literal">dot</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><code class="literal">text/x-graphviz</code> with q 0.5</p></li></ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term">HTML Table (<code class="literal">html</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p><code class="literal">application/xhtml+xml</code> with q 1.0</p></li>
+<li class="listitem"><p><code class="literal">text/html</code> with q 1.0</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term">N-Quads (<code class="literal">nquads</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><code class="literal">text/x-nquads</code> with q 1.0</p></li></ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term">N-Triples (<code class="literal">ntriples</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p><code class="literal">application/n-triples</code> with q 1.0</p></li>
+<li class="listitem"><p><code class="literal">text/plain</code> with q 0.1</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term">RDF/JSON Resource-Centric (<code class="literal">json</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p><code class="literal">application/json</code> with q 1.0</p></li>
+<li class="listitem"><p><code class="literal">text/json</code> with q 0.1</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term">RDF/JSON Triples (<code class="literal">json-triples</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p><code class="literal">application/json</code> with q 0.0</p></li>
+<li class="listitem"><p><code class="literal">text/json</code> with q 0.1</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term">RDF/XML (<code class="literal">rdfxml</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p><code class="literal">application/rdf+xml</code> with q 1.0</p></li>
+<li class="listitem"><p><code class="literal">text/rdf</code> with q 0.6</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term">RDF/XML (Abbreviated) (<code class="literal">rdfxml-abbrev</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><code class="literal">application/rdf+xml</code> with q 0.0</p></li></ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term">RDF/XML (XMP Profile) (<code class="literal">rdfxml-xmp</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><code class="literal">application/rdf+xml</code> with q 0.0</p></li></ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term">RSS 1.0 (<code class="literal">rss-1.0</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p><code class="literal">application/rss+xml</code> with q 1.0</p></li>
+<li class="listitem"><p><code class="literal">application/rss</code> with q 0.3</p></li>
+<li class="listitem"><p><code class="literal">text/rss</code> with q 0.3</p></li>
+<li class="listitem"><p><code class="literal">application/xml</code> with q 0.3</p></li>
+<li class="listitem"><p><code class="literal">text/xml</code> with q 0.3</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term">Turtle Terse RDF Triple Language (<code class="literal">turtle</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p><code class="literal">text/turtle</code> with q 1.0</p></li>
+<li class="listitem"><p><code class="literal">application/turtle</code> with q 1.0</p></li>
+<li class="listitem"><p><code class="literal">application/x-turtle</code> with q 0.8</p></li>
+<li class="listitem"><p><code class="literal">text/n3</code> with q 0.3</p></li>
+<li class="listitem"><p><code class="literal">text/rdf+n3</code> with q 0.3</p></li>
+<li class="listitem"><p><code class="literal">application/rdf+n3</code> with q 0.3</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term">mKR my Knowledge Representation Language (<code class="literal">mkr</code>)</span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p><code class="literal">text/mkr</code> with q 1.0</p></li>
+<li class="listitem"><p><code class="literal">application/mkr</code> with q 1.0</p></li>
+<li class="listitem"><p><code class="literal">application/x-mkr</code> with q 0.8</p></li>
+<li class="listitem"><p><code class="literal">text/n3</code> with q 0.3</p></li>
+<li class="listitem"><p><code class="literal">text/rdf+n3</code> with q 0.3</p></li>
+<li class="listitem"><p><code class="literal">application/rdf+n3</code> with q 0.3</p></li>
+</ul></div></td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor-formats-types-index.html b/docs/html/raptor-formats-types-index.html
new file mode 100644
index 0000000..5efbec2
--- /dev/null
+++ b/docs/html/raptor-formats-types-index.html
@@ -0,0 +1,228 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>MIME Types Index: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-formats.html" title="Syntax Formats supported in Raptor">
+<link rel="prev" href="raptor-formats-types-by-serializer.html" title="MIME Types by Serializer">
+<link rel="next" href="raptor2-changes.html" title="API Changes">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-formats.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor-formats-types-by-serializer.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-changes.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="raptor-formats-types-index"></a>MIME Types Index</h2></div></div></div>
+<div class="variablelist"><table border="0" class="variablelist">
+<colgroup>
+<col align="left" valign="top">
+<col>
+</colgroup>
+<tbody>
+<tr>
+<td><p><span class="term"><code class="literal">application/atom+xml</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>Atom 1.0 Serializer (<code class="literal">atom</code>) with q 1.0</p></li>
+<li class="listitem"><p>RSS Tag Soup Parser (<code class="literal">rss-tag-soup</code>) with q 0.3</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">application/json</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>RDF/JSON Resource-Centric Serializer (<code class="literal">json</code>) with q 1.0</p></li>
+<li class="listitem"><p>RDF/JSON (either Triples or Resource-Centric) Parser (<code class="literal">json</code>) with q 0.1</p></li>
+<li class="listitem"><p>RDF/JSON Triples Serializer (<code class="literal">json-triples</code>) with q 0.0</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">application/mkr</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>mKR my Knowledge Representation Language Serializer (<code class="literal">mkr</code>) with q 1.0</p></li>
+<li class="listitem"><p>No parser.</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">application/n-triples</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>N-Triples Parser (<code class="literal">ntriples</code>) with q 1.0</p></li>
+<li class="listitem"><p>N-Triples Serializer (<code class="literal">ntriples</code>) with q 1.0</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">application/rdf+n3</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>Turtle Terse RDF Triple Language Parser (<code class="literal">turtle</code>) with q 0.3</p></li>
+<li class="listitem"><p>Turtle Terse RDF Triple Language Serializer (<code class="literal">turtle</code>) with q 0.3</p></li>
+<li class="listitem"><p>mKR my Knowledge Representation Language Serializer (<code class="literal">mkr</code>) with q 0.3</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">application/rdf+xml</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>RDF/XML Parser (<code class="literal">rdfxml</code>) with q 1.0</p></li>
+<li class="listitem"><p>RDF/XML Serializer (<code class="literal">rdfxml</code>) with q 1.0</p></li>
+<li class="listitem"><p>RDF/XML (XMP Profile) Serializer (<code class="literal">rdfxml-xmp</code>) with q 0.0</p></li>
+<li class="listitem"><p>RDF/XML (Abbreviated) Serializer (<code class="literal">rdfxml-abbrev</code>) with q 0.0</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">application/rss</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>RSS Tag Soup Parser (<code class="literal">rss-tag-soup</code>) with q 0.8</p></li>
+<li class="listitem"><p>RSS 1.0 Serializer (<code class="literal">rss-1.0</code>) with q 0.3</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">application/rss+xml</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>RSS 1.0 Serializer (<code class="literal">rss-1.0</code>) with q 1.0</p></li>
+<li class="listitem"><p>RSS Tag Soup Parser (<code class="literal">rss-tag-soup</code>) with q 0.8</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">application/turtle</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>Turtle Terse RDF Triple Language Parser (<code class="literal">turtle</code>) with q 1.0</p></li>
+<li class="listitem"><p>Turtle Terse RDF Triple Language Serializer (<code class="literal">turtle</code>) with q 1.0</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">application/x-mkr</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>mKR my Knowledge Representation Language Serializer (<code class="literal">mkr</code>) with q 0.8</p></li>
+<li class="listitem"><p>No parser.</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">application/x-trig</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>TriG - Turtle with Named Graphs Parser (<code class="literal">trig</code>) with q 1.0</p></li>
+<li class="listitem"><p>No serializer.</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">application/x-turtle</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>Turtle Terse RDF Triple Language Parser (<code class="literal">turtle</code>) with q 1.0</p></li>
+<li class="listitem"><p>Turtle Terse RDF Triple Language Serializer (<code class="literal">turtle</code>) with q 0.8</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">application/xhtml+xml</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>HTML Table Serializer (<code class="literal">html</code>) with q 1.0</p></li>
+<li class="listitem"><p>RDF/A via librdfa Parser (<code class="literal">rdfa</code>) with q 0.8</p></li>
+<li class="listitem"><p>Gleaning Resource Descriptions from Dialects of Languages Parser (<code class="literal">grddl</code>) with q 0.4</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">application/xml</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>RSS Tag Soup Parser (<code class="literal">rss-tag-soup</code>) with q 0.3</p></li>
+<li class="listitem"><p>RSS 1.0 Serializer (<code class="literal">rss-1.0</code>) with q 0.3</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">text/html</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>HTML Table Serializer (<code class="literal">html</code>) with q 1.0</p></li>
+<li class="listitem"><p>RDF/A via librdfa Parser (<code class="literal">rdfa</code>) with q 0.6</p></li>
+<li class="listitem"><p>Gleaning Resource Descriptions from Dialects of Languages Parser (<code class="literal">grddl</code>) with q 0.2</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">text/json</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>RDF/JSON (either Triples or Resource-Centric) Parser (<code class="literal">json</code>) with q 0.1</p></li>
+<li class="listitem"><p>RDF/JSON Triples Serializer (<code class="literal">json-triples</code>) with q 0.1</p></li>
+<li class="listitem"><p>RDF/JSON Resource-Centric Serializer (<code class="literal">json</code>) with q 0.1</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">text/mkr</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>mKR my Knowledge Representation Language Serializer (<code class="literal">mkr</code>) with q 1.0</p></li>
+<li class="listitem"><p>No parser.</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">text/n3</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>Turtle Terse RDF Triple Language Parser (<code class="literal">turtle</code>) with q 0.3</p></li>
+<li class="listitem"><p>Turtle Terse RDF Triple Language Serializer (<code class="literal">turtle</code>) with q 0.3</p></li>
+<li class="listitem"><p>mKR my Knowledge Representation Language Serializer (<code class="literal">mkr</code>) with q 0.3</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">text/plain</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>N-Triples Parser (<code class="literal">ntriples</code>) with q 0.1</p></li>
+<li class="listitem"><p>N-Triples Serializer (<code class="literal">ntriples</code>) with q 0.1</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">text/rdf</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>RDF/XML Parser (<code class="literal">rdfxml</code>) with q 0.6</p></li>
+<li class="listitem"><p>RDF/XML Serializer (<code class="literal">rdfxml</code>) with q 0.6</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">text/rdf+n3</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>Turtle Terse RDF Triple Language Parser (<code class="literal">turtle</code>) with q 0.3</p></li>
+<li class="listitem"><p>Turtle Terse RDF Triple Language Serializer (<code class="literal">turtle</code>) with q 0.3</p></li>
+<li class="listitem"><p>mKR my Knowledge Representation Language Serializer (<code class="literal">mkr</code>) with q 0.3</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">text/rss</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>RSS Tag Soup Parser (<code class="literal">rss-tag-soup</code>) with q 0.8</p></li>
+<li class="listitem"><p>RSS 1.0 Serializer (<code class="literal">rss-1.0</code>) with q 0.3</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">text/turtle</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>Turtle Terse RDF Triple Language Parser (<code class="literal">turtle</code>) with q 1.0</p></li>
+<li class="listitem"><p>Turtle Terse RDF Triple Language Serializer (<code class="literal">turtle</code>) with q 1.0</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">text/x-graphviz</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>GraphViz DOT format Serializer (<code class="literal">dot</code>) with q 0.5</p></li>
+<li class="listitem"><p>No parser.</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">text/x-nquads</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>N-Quads Parser (<code class="literal">nquads</code>) with q 1.0</p></li>
+<li class="listitem"><p>N-Quads Serializer (<code class="literal">nquads</code>) with q 1.0</p></li>
+</ul></div></td>
+</tr>
+<tr>
+<td><p><span class="term"><code class="literal">text/xml</code></span></p></td>
+<td><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>RSS Tag Soup Parser (<code class="literal">rss-tag-soup</code>) with q 0.3</p></li>
+<li class="listitem"><p>RSS 1.0 Serializer (<code class="literal">rss-1.0</code>) with q 0.3</p></li>
+</ul></div></td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor-formats.html b/docs/html/raptor-formats.html
new file mode 100644
index 0000000..adf86ae
--- /dev/null
+++ b/docs/html/raptor-formats.html
@@ -0,0 +1,44 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Syntax Formats supported in Raptor: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor2-section-xml.html" title="section-xml">
+<link rel="next" href="raptor-formats-types-by-parser.html" title="MIME Types by Parser">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-section-xml.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor-formats-types-by-parser.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="chapter">
+<div class="titlepage"><div><div><h2 class="title">
+<a name="raptor-formats"></a>Syntax Formats supported in Raptor</h2></div></div></div>
+<div class="toc"><dl class="toc">
+<dt><span class="section"><a href="raptor-formats.html#raptor-formats-intro">Introduction</a></span></dt>
+<dt><span class="section"><a href="raptor-formats-types-by-parser.html">MIME Types by Parser</a></span></dt>
+<dt><span class="section"><a href="raptor-formats-types-by-serializer.html">MIME Types by Serializer</a></span></dt>
+<dt><span class="section"><a href="raptor-formats-types-index.html">MIME Types Index</a></span></dt>
+</dl></div>
+<p>This chapter describes the syntax formats supported
+by parsers and serializers in Raptor.
+</p>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="raptor-formats-intro"></a>Introduction</h2></div></div></div>
+<p>
+The parsers and serializers in raptor can handle different MIME Types with different levels of quality (Q). A Q of 1.0 indicates that the parser or serializer will be able to read or write the full format with high quality, and it should be the prefered parser or serializer for that mime type. Lower Q values indicate either additional mime type support (for parsing) or less-preferred mime types (for serializing). A serializer typically has just 1 mime type of Q 1.0; the preferred type.</p>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor-parsers.html b/docs/html/raptor-parsers.html
new file mode 100644
index 0000000..d230eeb
--- /dev/null
+++ b/docs/html/raptor-parsers.html
@@ -0,0 +1,55 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Parsers in Raptor (syntax to triples): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="next" href="parser-grddl.html" title="GRDDL parser (name grddl)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="reference-manual.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="parser-grddl.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="chapter">
+<div class="titlepage"><div><div><h2 class="title">
+<a name="raptor-parsers"></a>Parsers in Raptor (syntax to triples)</h2></div></div></div>
+<div class="toc"><dl class="toc">
+<dt><span class="section"><a href="raptor-parsers.html#raptor-parsers-intro">Introduction</a></span></dt>
+<dt><span class="section"><a href="parser-grddl.html">GRDDL parser (name <code class="literal">grddl</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-guess.html">Guess parser (name <code class="literal">guess</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-json.html">JSON parser (name <code class="literal">json</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-ntriples.html">N-Triples parser (name <code class="literal">ntriples</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-rdfa.html">RDFa parser - (name <code class="literal">rdfa</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-rdfxml.html">RDF/XML parser - default (name <code class="literal">rdfxml</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-rss-tag-soup.html">RSS Tag Soup parser (name <code class="literal">rss-tag-soup</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-trig.html">TRiG parser (name <code class="literal">trig</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-turtle.html">Turtle Terse RDF Triple Language parser (name <code class="literal">turtle</code>)</a></span></dt>
+</dl></div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="raptor-parsers-intro"></a>Introduction</h2></div></div></div>
+<p>This section describes the parsers that can be compiled into
+Raptor and their options. The exact parsers supported may vary
+by different builds of raptor and can be queried at run-time by
+use of the
+<a class="link" href="raptor2-section-world.html#raptor-world-get-parser-description" title="raptor_world_get_parser_description ()"><code class="function">raptor_world_get_parser_description</code></a>
+function</p>
+<p>The options that may be set on parsers can also
+be queried at run-time with the
+<a class="link" href="raptor2-section-option.html#raptor-world-get-option-description" title="raptor_world_get_option_description ()"><code class="function">raptor_world_get_option_description</code></a>
+function.</p>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor-serializers.html b/docs/html/raptor-serializers.html
new file mode 100644
index 0000000..6c23693
--- /dev/null
+++ b/docs/html/raptor-serializers.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Serializers in Raptor (triples to syntax): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="parser-turtle.html" title="Turtle Terse RDF Triple Language parser (name turtle)">
+<link rel="next" href="serializer-atom.html" title="Atom 1.0 serializer (name atom)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="parser-turtle.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="serializer-atom.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="chapter">
+<div class="titlepage"><div><div><h2 class="title">
+<a name="raptor-serializers"></a>Serializers in Raptor (triples to syntax)</h2></div></div></div>
+<div class="toc"><dl class="toc">
+<dt><span class="section"><a href="raptor-serializers.html#raptor-serializers-intro">Introduction</a></span></dt>
+<dt><span class="section"><a href="serializer-atom.html">Atom 1.0 serializer (name <code class="literal">atom</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-json.html">JSON serializers (name <code class="literal">json</code> and name <code class="literal">json-triples</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-mkr.html">mKR serializer - default (name <code class="literal">mkr</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-nquads.html">N-Quads serializer - default (name <code class="literal">nquads</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-ntriples.html">N-Triples serializer - default (name <code class="literal">ntriples</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-rdfxml.html">RDF/XML serializer (name <code class="literal">rdfxml</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-rdfxml-abbrev.html">RDF/XML (Abbreviated) serializer (name <code class="literal">rdfxml-abbrev</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-rdfxml-xmp.html">RDF/XML (XMP Profile) serializer (name <code class="literal">rdfxml-xmp</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-turtle.html">Turtle serializer (name <code class="literal">turtle</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-rss-1-0.html">RSS 1.0 serializer (name <code class="literal">rss-1.0</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-dot.html">GraphViz dot serializer (name <code class="literal">dot</code>)</a></span></dt>
+</dl></div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="raptor-serializers-intro"></a>Introduction</h2></div></div></div>
+<p>This section describes the serializers that can be compiled into
+Raptor and their options. The exact serializers supported may vary
+by different builds of raptor and can be queried at run-time by use of the
+<a class="link" href="raptor2-section-world.html#raptor-world-get-serializer-description" title="raptor_world_get_serializer_description ()"><code class="function">raptor_world_get_serializer_description</code></a>
+function</p>
+<p>The optional options that may be set on parsers can also
+be queried at run-time with the
+<a class="link" href="raptor2-section-option.html#raptor-world-get-option-description" title="raptor_world_get_option_description ()"><code class="function">raptor_world_get_option_description</code></a>
+function.</p>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-changes-1-4-21-to-2-0-0.html b/docs/html/raptor2-changes-1-4-21-to-2-0-0.html
new file mode 100644
index 0000000..00874ca
--- /dev/null
+++ b/docs/html/raptor2-changes-1-4-21-to-2-0-0.html
@@ -0,0 +1,968 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Changes between raptor2 1.4.21 and 2.0.0: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor2-changes.html" title="API Changes">
+<link rel="prev" href="raptor2-changes.html" title="API Changes">
+<link rel="next" href="raptor2-changes-2-0-3-to-2-0-4.html" title="Changes between raptor2 2.0.3 and 2.0.4">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor2-changes.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-changes.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-changes-2-0-3-to-2-0-4.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="raptor2-changes-1-4-21-to-2-0-0"></a>Changes between raptor2 1.4.21 and 2.0.0</h2></div></div></div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="raptor2-changes-new-1-4-21-to-2-0-0"></a>New functions, types, enums and constants</h3></div></div></div>
+<div class="itemizedlist">
+<p class="title"><b>Functions</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>int <a class="link" href="raptor2-section-avltree.html#raptor-avltree-add" title="raptor_avltree_add ()"><code class="function">raptor_avltree_add</code></a>(raptor_avltree* tree, void* p_data) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-avltree.html#raptor-avltree-delete" title="raptor_avltree_delete ()"><code class="function">raptor_avltree_delete</code></a>(raptor_avltree* tree, void* p_data) </p></li>
+<li class="listitem"><p>void* <a class="link" href="raptor2-section-avltree.html#raptor-avltree-iterator-get" title="raptor_avltree_iterator_get ()"><code class="function">raptor_avltree_iterator_get</code></a>(raptor_avltree_iterator* iterator) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-avltree.html#raptor-avltree-iterator-is-end" title="raptor_avltree_iterator_is_end ()"><code class="function">raptor_avltree_iterator_is_end</code></a>(raptor_avltree_iterator* iterator) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-avltree.html#raptor-avltree-iterator-next" title="raptor_avltree_iterator_next ()"><code class="function">raptor_avltree_iterator_next</code></a>(raptor_avltree_iterator* iterator) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-avltree.html#raptor-avltree-print" title="raptor_avltree_print ()"><code class="function">raptor_avltree_print</code></a>(raptor_avltree* tree, FILE* stream) </p></li>
+<li class="listitem"><p>void* <a class="link" href="raptor2-section-avltree.html#raptor-avltree-remove" title="raptor_avltree_remove ()"><code class="function">raptor_avltree_remove</code></a>(raptor_avltree* tree, void* p_data) </p></li>
+<li class="listitem"><p>void* <a class="link" href="raptor2-section-avltree.html#raptor-avltree-search" title="raptor_avltree_search ()"><code class="function">raptor_avltree_search</code></a>(raptor_avltree* tree, const void* p_data) </p></li>
+<li class="listitem"><p>void <a class="link" href="raptor2-section-avltree.html#raptor-avltree-set-print-handler" title="raptor_avltree_set_print_handler ()"><code class="function">raptor_avltree_set_print_handler</code></a>(raptor_avltree* tree, raptor_data_print_handler print_handler) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-avltree.html#raptor-avltree-size" title="raptor_avltree_size ()"><code class="function">raptor_avltree_size</code></a>(raptor_avltree* tree) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-avltree.html#raptor-avltree-visit" title="raptor_avltree_visit ()"><code class="function">raptor_avltree_visit</code></a>(raptor_avltree* tree, raptor_avltree_visit_handler visit_handler, void* user_data) </p></li>
+<li class="listitem"><p>const char* <a class="link" href="raptor2-section-general.html#raptor-domain-get-label" title="raptor_domain_get_label ()"><code class="function">raptor_domain_get_label</code></a>(raptor_domain domain) </p></li>
+<li class="listitem"><p>void <a class="link" href="raptor2-section-avltree.html#raptor-free-avltree" title="raptor_free_avltree ()"><code class="function">raptor_free_avltree</code></a>(raptor_avltree* tree) </p></li>
+<li class="listitem"><p>void <a class="link" href="raptor2-section-avltree.html#raptor-free-avltree-iterator" title="raptor_free_avltree_iterator ()"><code class="function">raptor_free_avltree_iterator</code></a>(raptor_avltree_iterator* iterator) </p></li>
+<li class="listitem"><p>void <a class="link" href="raptor2-section-option.html#raptor-free-option-description" title="raptor_free_option_description ()"><code class="function">raptor_free_option_description</code></a>(raptor_option_description* option_description) </p></li>
+<li class="listitem"><p>void <a class="link" href="raptor2-section-triples.html#raptor-free-statement" title="raptor_free_statement ()"><code class="function">raptor_free_statement</code></a>(raptor_statement *statement) </p></li>
+<li class="listitem"><p>void <a class="link" href="raptor2-section-triples.html#raptor-free-term" title="raptor_free_term ()"><code class="function">raptor_free_term</code></a>(raptor_term *term) </p></li>
+<li class="listitem"><p>const char* <a class="link" href="raptor2-section-general.html#raptor-log-level-get-label" title="raptor_log_level_get_label ()"><code class="function">raptor_log_level_get_label</code></a>(raptor_log_level level) </p></li>
+<li class="listitem"><p>raptor_avltree* <a class="link" href="raptor2-section-avltree.html#raptor-new-avltree" title="raptor_new_avltree ()"><code class="function">raptor_new_avltree</code></a>(raptor_data_compare_handler compare_handler, raptor_data_free_handler free_handler, unsigned int flags) </p></li>
+<li class="listitem"><p>raptor_avltree_iterator* <a class="link" href="raptor2-section-avltree.html#raptor-new-avltree-iterator" title="raptor_new_avltree_iterator ()"><code class="function">raptor_new_avltree_iterator</code></a>(raptor_avltree* tree, void* range, raptor_data_free_handler range_free_handler, int direction) </p></li>
+<li class="listitem"><p>raptor_sequence* <a class="link" href="raptor2-section-sequence.html#raptor-new-sequence-with-context" title="raptor_new_sequence_with_context ()"><code class="function">raptor_new_sequence_with_context</code></a>(raptor_data_context_free_handler* free_handler, raptor_data_context_print_handler* print_handler, void* handler_context) </p></li>
+<li class="listitem"><p>raptor_statement* <a class="link" href="raptor2-section-triples.html#raptor-new-statement" title="raptor_new_statement ()"><code class="function">raptor_new_statement</code></a>(raptor_world *world) </p></li>
+<li class="listitem"><p>raptor_statement* <a class="link" href="raptor2-section-triples.html#raptor-new-statement-from-nodes" title="raptor_new_statement_from_nodes ()"><code class="function">raptor_new_statement_from_nodes</code></a>(raptor_world* world, raptor_term *subject, raptor_term *predicate, raptor_term *object, raptor_term *graph) </p></li>
+<li class="listitem"><p>raptor_term* <a class="link" href="raptor2-section-triples.html#raptor-new-term-from-blank" title="raptor_new_term_from_blank ()"><code class="function">raptor_new_term_from_blank</code></a>(raptor_world* world, const unsigned char* blank) </p></li>
+<li class="listitem"><p>raptor_term* <a class="link" href="raptor2-section-triples.html#raptor-new-term-from-counted-blank" title="raptor_new_term_from_counted_blank ()"><code class="function">raptor_new_term_from_counted_blank</code></a>(raptor_world* world, const unsigned char* blank, size_t length) </p></li>
+<li class="listitem"><p>raptor_term* <a class="link" href="raptor2-section-triples.html#raptor-new-term-from-counted-literal" title="raptor_new_term_from_counted_literal ()"><code class="function">raptor_new_term_from_counted_literal</code></a>(raptor_world* world, const unsigned char* literal, size_t literal_len, raptor_uri* datatype, const unsigned char* language, unsigned char language_len) </p></li>
+<li class="listitem"><p>raptor_term* <a class="link" href="raptor2-section-triples.html#raptor-new-term-from-literal" title="raptor_new_term_from_literal ()"><code class="function">raptor_new_term_from_literal</code></a>(raptor_world* world, const unsigned char* literal, raptor_uri* datatype, const unsigned char* language) </p></li>
+<li class="listitem"><p>raptor_term* <a class="link" href="raptor2-section-triples.html#raptor-new-term-from-uri" title="raptor_new_term_from_uri ()"><code class="function">raptor_new_term_from_uri</code></a>(raptor_world* world, raptor_uri* uri) </p></li>
+<li class="listitem"><p>raptor_uri* <a class="link" href="raptor2-section-uri.html#raptor-new-uri-from-counted-string" title="raptor_new_uri_from_counted_string ()"><code class="function">raptor_new_uri_from_counted_string</code></a>(raptor_world* world, const unsigned char* uri_string, size_t length) </p></li>
+<li class="listitem"><p>const char* <a class="link" href="raptor2-section-option.html#raptor-option-get-value-type-label" title="raptor_option_get_value_type_label ()"><code class="function">raptor_option_get_value_type_label</code></a>(const raptor_option_value_type type) </p></li>
+<li class="listitem"><p>raptor_uri* <a class="link" href="raptor2-section-parser.html#raptor-parser-get-graph" title="raptor_parser_get_graph ()"><code class="function">raptor_parser_get_graph</code></a>(raptor_parser* rdf_parser) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-parser.html#raptor-parser-parse-iostream" title="raptor_parser_parse_iostream ()"><code class="function">raptor_parser_parse_iostream</code></a>(raptor_parser* rdf_parser, raptor_iostream *iostr, raptor_uri *base_uri) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-serializer.html#raptor-serializer-flush" title="raptor_serializer_flush ()"><code class="function">raptor_serializer_flush</code></a>(raptor_serializer *rdf_serializer) </p></li>
+<li class="listitem"><p>raptor_syntax_description* <a class="link" href="raptor2-section-serializer.html#raptor-serializer-get-description" title="raptor_serializer_get_description ()"><code class="function">raptor_serializer_get_description</code></a>(raptor_serializer* rdf_serializer) </p></li>
+<li class="listitem"><p>void <a class="link" href="raptor2-section-triples.html#raptor-statement-clear" title="raptor_statement_clear ()"><code class="function">raptor_statement_clear</code></a>(raptor_statement *statement) </p></li>
+<li class="listitem"><p>raptor_statement* <a class="link" href="raptor2-section-triples.html#raptor-statement-copy" title="raptor_statement_copy ()"><code class="function">raptor_statement_copy</code></a>(raptor_statement *statement) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-triples.html#raptor-statement-equals" title="raptor_statement_equals ()"><code class="function">raptor_statement_equals</code></a>(const raptor_statement* s1, const raptor_statement* s2) </p></li>
+<li class="listitem"><p>void <a class="link" href="raptor2-section-triples.html#raptor-statement-init" title="raptor_statement_init ()"><code class="function">raptor_statement_init</code></a>(raptor_statement *statement, raptor_world *world) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-general.html#raptor-syntax-description-validate" title="raptor_syntax_description_validate ()"><code class="function">raptor_syntax_description_validate</code></a> (raptor_syntax_description* desc) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-triples.html#raptor-term-compare" title="raptor_term_compare ()"><code class="function">raptor_term_compare</code></a>(const raptor_term *t1, const raptor_term *t2) </p></li>
+<li class="listitem"><p>raptor_term* <a class="link" href="raptor2-section-triples.html#raptor-term-copy" title="raptor_term_copy ()"><code class="function">raptor_term_copy</code></a>(raptor_term* term) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-triples.html#raptor-term-equals" title="raptor_term_equals ()"><code class="function">raptor_term_equals</code></a>(raptor_term* term1, raptor_term* term2) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-triples.html#raptor-term-ntriples-write" title="raptor_term_ntriples_write ()"><code class="function">raptor_term_ntriples_write</code></a>(const raptor_term *term, raptor_iostream* iostr) </p></li>
+<li class="listitem"><p>unsigned char* <a class="link" href="raptor2-section-triples.html#raptor-term-to-counted-string" title="raptor_term_to_counted_string ()"><code class="function">raptor_term_to_counted_string</code></a>(raptor_term *term, size_t* len_p) </p></li>
+<li class="listitem"><p>unsigned char* <a class="link" href="raptor2-section-triples.html#raptor-term-to-string" title="raptor_term_to_string ()"><code class="function">raptor_term_to_string</code></a>(raptor_term *term) </p></li>
+<li class="listitem"><p>raptor_world* <a class="link" href="raptor2-section-uri.html#raptor-uri-get-world" title="raptor_uri_get_world ()"><code class="function">raptor_uri_get_world</code></a>(raptor_uri *uri) </p></li>
+<li class="listitem"><p>unsigned char* <a class="link" href="raptor2-section-world.html#raptor-world-generate-bnodeid" title="raptor_world_generate_bnodeid ()"><code class="function">raptor_world_generate_bnodeid</code></a>(raptor_world *world) </p></li>
+<li class="listitem"><p>raptor_option_description* <a class="link" href="raptor2-section-option.html#raptor-world-get-option-description" title="raptor_world_get_option_description ()"><code class="function">raptor_world_get_option_description</code></a>(raptor_world* world, const raptor_domain domain, const raptor_option option) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-world.html#raptor-world-is-parser-name" title="raptor_world_is_parser_name ()"><code class="function">raptor_world_is_parser_name</code></a>(raptor_world* world, const char* name) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-world.html#raptor-world-set-log-handler" title="raptor_world_set_log_handler ()"><code class="function">raptor_world_set_log_handler</code></a>(raptor_world *world, void *user_data, raptor_log_handler handler) </p></li>
+</ul>
+</div>
+<div class="itemizedlist">
+<p class="title"><b>Types</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p><a class="link" href="raptor2-section-avltree.html#raptor-avltree" title="raptor_avltree"><span class="type">raptor_avltree</span></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-avltree.html#raptor-avltree-bitflags" title="enum raptor_avltree_bitflags"><span class="type">raptor_avltree_bitflags</span></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-avltree.html#raptor-avltree-iterator" title="raptor_avltree_iterator"><span class="type">raptor_avltree_iterator</span></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-avltree.html#raptor-avltree-visit-handler" title="raptor_avltree_visit_handler ()"><span class="type">raptor_avltree_visit_handler</span></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#raptor-data-compare-handler" title="raptor_data_compare_handler ()"><span class="type">raptor_data_compare_handler</span></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#raptor-data-context-free-handler" title="raptor_data_context_free_handler ()"><span class="type">raptor_data_context_free_handler</span></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#raptor-data-malloc-handler" title="raptor_data_malloc_handler ()"><span class="type">raptor_data_malloc_handler</span></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#raptor-domain" title="enum raptor_domain"><span class="type">raptor_domain</span></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-parser.html#raptor-graph-mark-flags" title="enum raptor_graph_mark_flags"><span class="type">raptor_graph_mark_flags</span></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#raptor-log-message" title="raptor_log_message"><span class="type">raptor_log_message</span></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-option.html#raptor-option-description" title="raptor_option_description"><span class="type">raptor_option_description</span></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-option.html#raptor-option-value-type" title="enum raptor_option_value_type"><span class="type">raptor_option_value_type</span></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#raptor-syntax-bitflags" title="enum raptor_syntax_bitflags"><span class="type">raptor_syntax_bitflags</span></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#raptor-syntax-description" title="raptor_syntax_description"><span class="type">raptor_syntax_description</span></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-triples.html#raptor-term-blank-value" title="raptor_term_blank_value"><span class="type">raptor_term_blank_value</span></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-triples.html#raptor-term-literal-value" title="raptor_term_literal_value"><span class="type">raptor_term_literal_value</span></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-triples.html#raptor-term-value" title="raptor_term_value"><span class="type">raptor_term_value</span></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#raptor-type-q" title="raptor_type_q"><span class="type">raptor_type_q</span></a> </p></li>
+</ul>
+</div>
+<div class="itemizedlist">
+<p class="title"><b>Enums and Constants</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-IOSTREAM:CAPS"><code class="literal">RAPTOR_DOMAIN_IOSTREAM</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-LAST:CAPS"><code class="literal">RAPTOR_DOMAIN_LAST</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-NAMESPACE:CAPS"><code class="literal">RAPTOR_DOMAIN_NAMESPACE</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-NONE:CAPS"><code class="literal">RAPTOR_DOMAIN_NONE</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-PARSER:CAPS"><code class="literal">RAPTOR_DOMAIN_PARSER</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-QNAME:CAPS"><code class="literal">RAPTOR_DOMAIN_QNAME</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-SAX2:CAPS"><code class="literal">RAPTOR_DOMAIN_SAX2</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-SERIALIZER:CAPS"><code class="literal">RAPTOR_DOMAIN_SERIALIZER</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-TERM:CAPS"><code class="literal">RAPTOR_DOMAIN_TERM</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-TURTLE-WRITER:CAPS"><code class="literal">RAPTOR_DOMAIN_TURTLE_WRITER</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-URI:CAPS"><code class="literal">RAPTOR_DOMAIN_URI</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-WORLD:CAPS"><code class="literal">RAPTOR_DOMAIN_WORLD</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-WWW:CAPS"><code class="literal">RAPTOR_DOMAIN_WWW</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-XML-WRITER:CAPS"><code class="literal">RAPTOR_DOMAIN_XML_WRITER</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-parser.html#RAPTOR-GRAPH-MARK-DECLARED:CAPS"><code class="literal">RAPTOR_GRAPH_MARK_DECLARED</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-parser.html#RAPTOR-GRAPH-MARK-START:CAPS"><code class="literal">RAPTOR_GRAPH_MARK_START</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#RAPTOR-LOG-LEVEL-DEBUG:CAPS"><code class="literal">RAPTOR_LOG_LEVEL_DEBUG</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#RAPTOR-LOG-LEVEL-INFO:CAPS"><code class="literal">RAPTOR_LOG_LEVEL_INFO</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-general.html#RAPTOR-LOG-LEVEL-TRACE:CAPS"><code class="literal">RAPTOR_LOG_LEVEL_TRACE</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-VALUE-TYPE-BOOL:CAPS"><code class="literal">RAPTOR_OPTION_VALUE_TYPE_BOOL</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-VALUE-TYPE-INT:CAPS"><code class="literal">RAPTOR_OPTION_VALUE_TYPE_INT</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-VALUE-TYPE-LAST:CAPS"><code class="literal">RAPTOR_OPTION_VALUE_TYPE_LAST</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-VALUE-TYPE-STRING:CAPS"><code class="literal">RAPTOR_OPTION_VALUE_TYPE_STRING</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-VALUE-TYPE-URI:CAPS"><code class="literal">RAPTOR_OPTION_VALUE_TYPE_URI</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-world.html#RAPTOR-WORLD-FLAG-URI-INTERNING:CAPS"><code class="literal">RAPTOR_WORLD_FLAG_URI_INTERNING</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-world.html#RAPTOR-WORLD-FLAG-WWW-SKIP-INIT-FINISH:CAPS"><code class="literal">RAPTOR_WORLD_FLAG_WWW_SKIP_INIT_FINISH</code></a> </p></li>
+</ul>
+</div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="raptor2-changes-deleted-1-4-21-to-2-0-0"></a>Deleted functions, types, enums and constants</h3></div></div></div>
+<div class="itemizedlist">
+<p class="title"><b>Functions</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>raptor_compare_strings - Trivial utility function removed.</p></li>
+<li class="listitem"><p>raptor_copy_identifier - Use <a class="link" href="raptor2-section-triples.html#raptor-term-copy" title="raptor_term_copy ()"><code class="function">raptor_term_copy</code></a>() with <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> objects.</p></li>
+<li class="listitem"><p>raptor_error_handlers_init - Replaced by generic raptor log mechanism. See <a class="link" href="raptor2-section-world.html#raptor-world-set-log-handler" title="raptor_world_set_log_handler ()"><code class="function">raptor_world_set_log_handler</code></a>()</p></li>
+<li class="listitem"><p>raptor_error_handlers_init_v2 - Replaced by generic raptor log mechanism. See <a class="link" href="raptor2-section-world.html#raptor-world-set-log-handler" title="raptor_world_set_log_handler ()"><code class="function">raptor_world_set_log_handler</code></a>()</p></li>
+<li class="listitem"><p>raptor_feature_value_type - Use <a class="link" href="raptor2-section-option.html#raptor-world-get-option-description" title="raptor_world_get_option_description ()"><code class="function">raptor_world_get_option_description</code></a>() for the option and access the value_type field.</p></li>
+<li class="listitem"><p>raptor_finish - Use <a class="link" href="raptor2-section-world.html#raptor-free-world" title="raptor_free_world ()"><code class="function">raptor_free_world</code></a>() with <a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> object.</p></li>
+<li class="listitem"><p>raptor_free_identifier - Use <a class="link" href="raptor2-section-triples.html#raptor-free-term" title="raptor_free_term ()"><code class="function">raptor_free_term</code></a>() with <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> objects.</p></li>
+<li class="listitem"><p>raptor_init - Use <a class="link" href="raptor2-section-world.html#raptor-new-world" title="raptor_new_world"><code class="function">raptor_new_world</code></a>() to create a new <a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> object.</p></li>
+<li class="listitem"><p>raptor_iostream_get_bytes_written_count - Deprecated for <a class="link" href="raptor2-section-iostream.html#raptor-iostream-tell" title="raptor_iostream_tell ()"><code class="function">raptor_iostream_tell</code></a>().</p></li>
+<li class="listitem"><p>raptor_iostream_write_string_turtle - Deprecated for <a class="link" href="raptor2-section-iostream.html#raptor-string-python-write" title="raptor_string_python_write ()"><code class="function">raptor_string_python_write</code></a>().</p></li>
+<li class="listitem"><p>raptor_new_identifier - Replaced by <a class="link" href="raptor2-section-triples.html#raptor-new-term-from-blank" title="raptor_new_term_from_blank ()"><code class="function">raptor_new_term_from_blank</code></a>(), <a class="link" href="raptor2-section-triples.html#raptor-new-term-from-literal" title="raptor_new_term_from_literal ()"><code class="function">raptor_new_term_from_literal</code></a>() or <a class="link" href="raptor2-section-triples.html#raptor-new-term-from-blank" title="raptor_new_term_from_blank ()"><code class="function">raptor_new_term_from_blank</code></a>() and <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> class.</p></li>
+<li class="listitem"><p>raptor_new_identifier_v2 - Replaced by <a class="link" href="raptor2-section-triples.html#raptor-new-term-from-blank" title="raptor_new_term_from_blank ()"><code class="function">raptor_new_term_from_blank</code></a>(), <a class="link" href="raptor2-section-triples.html#raptor-new-term-from-literal" title="raptor_new_term_from_literal ()"><code class="function">raptor_new_term_from_literal</code></a>() or <a class="link" href="raptor2-section-triples.html#raptor-new-term-from-blank" title="raptor_new_term_from_blank ()"><code class="function">raptor_new_term_from_blank</code></a>() and <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> class.</p></li>
+<li class="listitem"><p>raptor_ntriples_string_as_utf8_string - Deprecated internal debug function.</p></li>
+<li class="listitem"><p>raptor_ntriples_term_as_string - Deprecated internal debug function.</p></li>
+<li class="listitem"><p>raptor_print_ntriples_string - Use <a class="link" href="raptor2-section-iostream.html#raptor-string-ntriples-write" title="raptor_string_ntriples_write ()"><code class="function">raptor_string_ntriples_write</code></a>() with a <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a></p></li>
+<li class="listitem"><p>raptor_print_statement_detailed - Deprecated internal function.</p></li>
+<li class="listitem"><p>raptor_sequence_print_string - Trivial utility function removed.</p></li>
+<li class="listitem"><p>raptor_sequence_print_uri - Deprecated for <a class="link" href="raptor2-section-uri.html#raptor-uri-print" title="raptor_uri_print ()"><code class="function">raptor_uri_print</code></a>()</p></li>
+<li class="listitem"><p>raptor_sequence_set_print_handler - Use the argument in the <a class="link" href="raptor2-section-sequence.html#raptor-new-sequence" title="raptor_new_sequence ()"><code class="function">raptor_new_sequence</code></a>() constructor instead.</p></li>
+<li class="listitem"><p>raptor_sequence_set_print_handler_v2 - Use the argument in the <a class="link" href="raptor2-section-sequence.html#raptor-new-sequence" title="raptor_new_sequence ()"><code class="function">raptor_new_sequence</code></a>() constructor instead.</p></li>
+<li class="listitem"><p>raptor_serializer_set_error_handler - Replaced by <a class="link" href="raptor2-section-world.html#raptor-world-set-log-handler" title="raptor_world_set_log_handler ()"><code class="function">raptor_world_set_log_handler</code></a>() on the <a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> object.</p></li>
+<li class="listitem"><p>raptor_serializer_set_warning_handler - Replaced by <a class="link" href="raptor2-section-world.html#raptor-world-set-log-handler" title="raptor_world_set_log_handler ()"><code class="function">raptor_world_set_log_handler</code></a>() on the <a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> object.</p></li>
+<li class="listitem"><p>raptor_set_error_handler - Replaced by <a class="link" href="raptor2-section-world.html#raptor-world-set-log-handler" title="raptor_world_set_log_handler ()"><code class="function">raptor_world_set_log_handler</code></a>() on the <a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> object.</p></li>
+<li class="listitem"><p>raptor_set_fatal_error_handler - Replaced by <a class="link" href="raptor2-section-world.html#raptor-world-set-log-handler" title="raptor_world_set_log_handler ()"><code class="function">raptor_world_set_log_handler</code></a>() on the <a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> object.</p></li>
+<li class="listitem"><p>raptor_set_parser_strict - Replaced by <a class="link" href="raptor2-section-parser.html#raptor-parser-set-option" title="raptor_parser_set_option ()"><code class="function">raptor_parser_set_option</code></a>() with option <a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-STRICT:CAPS"><code class="literal">RAPTOR_OPTION_STRICT</code></a></p></li>
+<li class="listitem"><p>raptor_set_warning_handler - Replaced by <a class="link" href="raptor2-section-world.html#raptor-world-set-log-handler" title="raptor_world_set_log_handler ()"><code class="function">raptor_world_set_log_handler</code></a>() on the <a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> object.</p></li>
+<li class="listitem"><p>raptor_statement_part_as_counted_string - Better done via methods of <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> class such as <a class="link" href="raptor2-section-triples.html#raptor-term-to-counted-string" title="raptor_term_to_counted_string ()"><code class="function">raptor_term_to_counted_string</code></a>().</p></li>
+<li class="listitem"><p>raptor_statement_part_as_counted_string_v2 - Better done via methods of <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> class such as <a class="link" href="raptor2-section-triples.html#raptor-term-to-counted-string" title="raptor_term_to_counted_string ()"><code class="function">raptor_term_to_counted_string</code></a>().</p></li>
+<li class="listitem"><p>raptor_statement_part_as_string - Better done via methods of <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> class such as <a class="link" href="raptor2-section-triples.html#raptor-term-to-string" title="raptor_term_to_string ()"><code class="function">raptor_term_to_string</code></a>().</p></li>
+<li class="listitem"><p>raptor_statement_part_as_string_v2 - Better done via methods of <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> class such as <a class="link" href="raptor2-section-triples.html#raptor-term-to-string" title="raptor_term_to_string ()"><code class="function">raptor_term_to_string</code></a>().</p></li>
+<li class="listitem"><p>raptor_uri_get_handler - Entire URI implementation is internal and not replaceable.</p></li>
+<li class="listitem"><p>raptor_uri_get_handler_v2 - Entire URI implementation is internal and not replaceable.</p></li>
+<li class="listitem"><p>raptor_uri_set_handler - Entire URI implementation is internal and not replaceable.</p></li>
+<li class="listitem"><p>raptor_uri_set_handler_v2 - Entire URI implementation is internal and not replaceable.</p></li>
+<li class="listitem"><p>raptor_www_finish - No need for this to be public.</p></li>
+<li class="listitem"><p>raptor_www_finish_v2 - No need for this to be public.</p></li>
+<li class="listitem"><p>raptor_www_init - No need for this to be public.</p></li>
+<li class="listitem"><p>raptor_www_init_v2 - No need for this to be public.</p></li>
+<li class="listitem"><p>raptor_www_no_www_library_init_finish - Deprecated for <a class="link" href="raptor2-section-world.html#raptor-world-set-flag" title="raptor_world_set_flag ()"><code class="function">raptor_world_set_flag</code></a>().</p></li>
+<li class="listitem"><p>raptor_www_no_www_library_init_finish_v2 - Deprecated for <a class="link" href="raptor2-section-world.html#raptor-world-set-flag" title="raptor_world_set_flag ()"><code class="function">raptor_world_set_flag</code></a>().</p></li>
+<li class="listitem"><p>raptor_www_set_error_handler - Replaced by <a class="link" href="raptor2-section-world.html#raptor-world-set-log-handler" title="raptor_world_set_log_handler ()"><code class="function">raptor_world_set_log_handler</code></a>() on the <a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> object.</p></li>
+</ul>
+</div>
+<div class="itemizedlist">
+<p class="title"><b>Types</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>raptor_error_handlers - Replaced by generic raptor log mechanism. See <a class="link" href="raptor2-section-world.html#raptor-world-set-log-handler" title="raptor_world_set_log_handler ()"><code class="function">raptor_world_set_log_handler</code></a>()</p></li>
+<li class="listitem"><p>raptor_free_uri_func - Entire URI implementation is internal and not replaceable.</p></li>
+<li class="listitem"><p>raptor_libxml_flags - replaced by <a href="raptor2-section-world.html#raptor-world-set-flag"><code class="function">raptor_world_set_flags</code></a>() with <a class="link" href="raptor2-section-world.html#raptor-world-flag" title="enum raptor_world_flag"><span class="type">raptor_world_flag</span></a></p></li>
+<li class="listitem"><p>raptor_message_handler - Replaced by generic raptor log mechanism. See <a class="link" href="raptor2-section-world.html#raptor-world-set-log-handler" title="raptor_world_set_log_handler ()"><code class="function">raptor_world_set_log_handler</code></a>()</p></li>
+<li class="listitem"><p>raptor_message_handler_closure - Replaced by generic raptor log mechanism. See <a class="link" href="raptor2-section-world.html#raptor-world-set-log-handler" title="raptor_world_set_log_handler ()"><code class="function">raptor_world_set_log_handler</code></a>()</p></li>
+<li class="listitem"><p>raptor_new_uri_for_rdf_concept_func - Entire URI implementation is internal and not replaceable.</p></li>
+<li class="listitem"><p>raptor_new_uri_from_uri_local_name_func - Entire URI implementation is internal and not replaceable.</p></li>
+<li class="listitem"><p>raptor_new_uri_func - Entire URI implementation is internal and not replaceable.</p></li>
+<li class="listitem"><p>raptor_new_uri_relative_to_base_func - Entire URI implementation is internal and not replaceable.</p></li>
+<li class="listitem"><p>raptor_ntriples_parser - replaced by <a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a></p></li>
+<li class="listitem"><p>raptor_ntriples_term_type - replaced by <a class="link" href="raptor2-section-triples.html#raptor-term-type" title="enum raptor_term_type"><span class="type">raptor_term_type</span></a></p></li>
+<li class="listitem"><p>raptor_uri_as_counted_string_func - Entire URI implementation is internal and not replaceable.</p></li>
+<li class="listitem"><p>raptor_uri_as_string_func - Entire URI implementation is internal and not replaceable.</p></li>
+<li class="listitem"><p>raptor_uri_compare_func - Entire URI implementation is internal and not replaceable.</p></li>
+<li class="listitem"><p>raptor_uri_copy_func - Entire URI implementation is internal and not replaceable.</p></li>
+<li class="listitem"><p>raptor_uri_equals_func - Entire URI implementation is internal and not replaceable.</p></li>
+<li class="listitem"><p>raptor_uri_handler - Entire URI implementation is internal and not replaceable.</p></li>
+<li class="listitem"><p>raptor_uri_source - URI source was useless.</p></li>
+</ul>
+</div>
+<div class="itemizedlist">
+<p class="title"><b>Enums and Constants</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>RAPTOR_FEATURE_ASSUME_IS_RDF - Never used.</p></li>
+<li class="listitem"><p>RAPTOR_FEATURE_START_URI - Never used.</p></li>
+<li class="listitem"><p>RAPTOR_GENID_TYPE_BAGID - There is just one type of generated ID now.</p></li>
+<li class="listitem"><p>RAPTOR_GENID_TYPE_BNODEID - There is just one type of generated ID now.</p></li>
+<li class="listitem"><p>RAPTOR_IDENTIFIER_TYPE_ORDINAL - Deprecated value deleted.</p></li>
+<li class="listitem"><p>RAPTOR_URI_SOURCE_ATTRIBUTE - URI source concept removed.</p></li>
+<li class="listitem"><p>RAPTOR_URI_SOURCE_BLANK_ID - URI source concept removed.</p></li>
+<li class="listitem"><p>RAPTOR_URI_SOURCE_ELEMENT - URI source concept removed.</p></li>
+<li class="listitem"><p>RAPTOR_URI_SOURCE_GENERATED - URI source concept removed.</p></li>
+<li class="listitem"><p>RAPTOR_URI_SOURCE_ID - URI source concept removed.</p></li>
+<li class="listitem"><p>RAPTOR_URI_SOURCE_NOT_URI - URI source concept removed.</p></li>
+<li class="listitem"><p>RAPTOR_URI_SOURCE_UNKNOWN - URI source concept removed.</p></li>
+<li class="listitem"><p>RAPTOR_URI_SOURCE_URI - URI source concept removed.</p></li>
+</ul>
+</div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="raptor2-changes-renamed-1-4-21-to-2-0-0"></a>Renamed functions, enums and constants</h3></div></div></div>
+<div class="table"><table border="1">
+<thead></thead>
+<tbody>
+<tr>
+ <th>1.4.21 function</th>
+ <th>2.0.0 function</th>
+ <th>Notes</th>
+ </tr>
+<tr valign="top">
+ <td>raptor_format_locator</td> <td><a class="link" href="raptor2-section-locator.html#raptor-locator-format" title="raptor_locator_format ()"><code class="function">raptor_locator_format</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_get_feature_count</td> <td><a class="link" href="raptor2-section-option.html#raptor-option-get-count" title="raptor_option_get_count ()"><code class="function">raptor_option_get_count</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_get_locator</td> <td><a class="link" href="raptor2-section-parser.html#raptor-parser-get-locator" title="raptor_parser_get_locator ()"><code class="function">raptor_parser_get_locator</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_get_name</td> <td><a class="link" href="raptor2-section-parser.html#raptor-parser-get-name" title="raptor_parser_get_name ()"><code class="function">raptor_parser_get_name</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_guess_parser_name_v2</td> <td><a class="link" href="raptor2-section-world.html#raptor-world-guess-parser-name" title="raptor_world_guess_parser_name ()"><code class="function">raptor_world_guess_parser_name</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_namespace_copy</td> <td><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack-start-namespace" title="raptor_namespace_stack_start_namespace ()"><code class="function">raptor_namespace_stack_start_namespace</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_namespaces_format</td> <td><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-format-as-xml" title="raptor_namespace_format_as_xml ()"><code class="function">raptor_namespace_format_as_xml</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_namespaces_qname_from_uri</td> <td><a class="link" href="raptor2-section-xml-qname.html#raptor-new-qname-from-namespace-uri" title="raptor_new_qname_from_namespace_uri ()"><code class="function">raptor_new_qname_from_namespace_uri</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_new_namespace_parts_from_string</td> <td><a class="link" href="raptor2-section-xml-namespace.html#raptor-xml-namespace-string-parse" title="raptor_xml_namespace_string_parse ()"><code class="function">raptor_xml_namespace_string_parse</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_new_parser_for_content_v2</td> <td><a class="link" href="raptor2-section-parser.html#raptor-new-parser-for-content" title="raptor_new_parser_for_content ()"><code class="function">raptor_new_parser_for_content</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_new_parser_v2</td> <td><a class="link" href="raptor2-section-parser.html#raptor-new-parser" title="raptor_new_parser ()"><code class="function">raptor_new_parser</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_new_qname_from_namespace_local_name_v2</td> <td><a class="link" href="raptor2-section-xml-qname.html#raptor-new-qname-from-namespace-local-name" title="raptor_new_qname_from_namespace_local_name ()"><code class="function">raptor_new_qname_from_namespace_local_name</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_new_serializer_v2</td> <td><a class="link" href="raptor2-section-serializer.html#raptor-new-serializer" title="raptor_new_serializer ()"><code class="function">raptor_new_serializer</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_new_uri_from_id_v2</td> <td><a class="link" href="raptor2-section-uri.html#raptor-new-uri-from-id" title="raptor_new_uri_from_id ()"><code class="function">raptor_new_uri_from_id</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_new_uri_from_uri_local_name_v2</td> <td><a class="link" href="raptor2-section-uri.html#raptor-new-uri-from-uri-local-name" title="raptor_new_uri_from_uri_local_name ()"><code class="function">raptor_new_uri_from_uri_local_name</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_new_uri_relative_to_base_v2</td> <td><a class="link" href="raptor2-section-uri.html#raptor-new-uri-relative-to-base" title="raptor_new_uri_relative_to_base ()"><code class="function">raptor_new_uri_relative_to_base</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_new_uri_v2</td> <td><a class="link" href="raptor2-section-uri.html#raptor-new-uri" title="raptor_new_uri ()"><code class="function">raptor_new_uri</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_parse_abort</td> <td><a class="link" href="raptor2-section-parser.html#raptor-parser-parse-abort" title="raptor_parser_parse_abort ()"><code class="function">raptor_parser_parse_abort</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_parse_chunk</td> <td><a class="link" href="raptor2-section-parser.html#raptor-parser-parse-chunk" title="raptor_parser_parse_chunk ()"><code class="function">raptor_parser_parse_chunk</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_parse_file</td> <td><a class="link" href="raptor2-section-parser.html#raptor-parser-parse-file" title="raptor_parser_parse_file ()"><code class="function">raptor_parser_parse_file</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_parse_file_stream</td> <td><a class="link" href="raptor2-section-parser.html#raptor-parser-parse-file-stream" title="raptor_parser_parse_file_stream ()"><code class="function">raptor_parser_parse_file_stream</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_parse_uri</td> <td><a class="link" href="raptor2-section-parser.html#raptor-parser-parse-uri" title="raptor_parser_parse_uri ()"><code class="function">raptor_parser_parse_uri</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_parse_uri_with_connection</td> <td><a class="link" href="raptor2-section-parser.html#raptor-parser-parse-uri-with-connection" title="raptor_parser_parse_uri_with_connection ()"><code class="function">raptor_parser_parse_uri_with_connection</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_serialize_end</td> <td><a class="link" href="raptor2-section-serializer.html#raptor-serializer-serialize-end" title="raptor_serializer_serialize_end ()"><code class="function">raptor_serializer_serialize_end</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_serialize_set_namespace</td> <td><a class="link" href="raptor2-section-serializer.html#raptor-serializer-set-namespace" title="raptor_serializer_set_namespace ()"><code class="function">raptor_serializer_set_namespace</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_serialize_set_namespace_from_namespace</td> <td><a class="link" href="raptor2-section-serializer.html#raptor-serializer-set-namespace-from-namespace" title="raptor_serializer_set_namespace_from_namespace ()"><code class="function">raptor_serializer_set_namespace_from_namespace</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_serialize_start</td> <td><a class="link" href="raptor2-section-serializer.html#raptor-serializer-start-to-iostream" title="raptor_serializer_start_to_iostream ()"><code class="function">raptor_serializer_start_to_iostream</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_serialize_start_to_file_handle</td> <td><a class="link" href="raptor2-section-serializer.html#raptor-serializer-start-to-file-handle" title="raptor_serializer_start_to_file_handle ()"><code class="function">raptor_serializer_start_to_file_handle</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_serialize_start_to_filename</td> <td><a class="link" href="raptor2-section-serializer.html#raptor-serializer-start-to-filename" title="raptor_serializer_start_to_filename ()"><code class="function">raptor_serializer_start_to_filename</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_serialize_start_to_iostream</td> <td><a class="link" href="raptor2-section-serializer.html#raptor-serializer-start-to-iostream" title="raptor_serializer_start_to_iostream ()"><code class="function">raptor_serializer_start_to_iostream</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_serialize_start_to_string</td> <td><a class="link" href="raptor2-section-serializer.html#raptor-serializer-start-to-string" title="raptor_serializer_start_to_string ()"><code class="function">raptor_serializer_start_to_string</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_serializer_syntax_name_check_v2</td> <td><a class="link" href="raptor2-section-world.html#raptor-world-is-serializer-name" title="raptor_world_is_serializer_name ()"><code class="function">raptor_world_is_serializer_name</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_set_namespace_handler</td> <td><a class="link" href="raptor2-section-parser.html#raptor-parser-set-namespace-handler" title="raptor_parser_set_namespace_handler ()"><code class="function">raptor_parser_set_namespace_handler</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_set_statement_handler</td> <td><a class="link" href="raptor2-section-parser.html#raptor-parser-set-statement-handler" title="raptor_parser_set_statement_handler ()"><code class="function">raptor_parser_set_statement_handler</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_start_parse</td> <td><a class="link" href="raptor2-section-parser.html#raptor-parser-parse-start" title="raptor_parser_parse_start ()"><code class="function">raptor_parser_parse_start</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_uri_is_file_uri</td> <td><a class="link" href="raptor2-section-uri.html#raptor-uri-uri-string-is-file-uri" title="raptor_uri_uri_string_is_file_uri ()"><code class="function">raptor_uri_uri_string_is_file_uri</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_utf8_check</td> <td><a class="link" href="raptor2-section-unicode.html#raptor-unicode-check-utf8-string" title="raptor_unicode_check_utf8_string ()"><code class="function">raptor_unicode_check_utf8_string</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_www_free</td> <td><a class="link" href="raptor2-section-www.html#raptor-free-www" title="raptor_free_www ()"><code class="function">raptor_free_www</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_www_new_v2</td> <td><a class="link" href="raptor2-section-www.html#raptor-new-www" title="raptor_new_www ()"><code class="function">raptor_new_www</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_www_new_with_connection_v2</td> <td><a class="link" href="raptor2-section-www.html#raptor-new-www-with-connection" title="raptor_new_www_with_connection ()"><code class="function">raptor_new_www_with_connection</code></a></td> <td> </td>
+ </tr>
+</tbody>
+</table></div>
+<div class="table"><table border="1">
+<thead></thead>
+<tbody>
+<tr>
+ <th>1.4.21 enum / constant</th>
+ <th>2.0.0 enum / constant</th>
+ <th>Notes</th>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_ALLOW_BAGID</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-ALLOW-BAGID:CAPS"><code class="literal">RAPTOR_OPTION_ALLOW_BAGID</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_ALLOW_NON_NS_ATTRIBUTES</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-ALLOW-NON-NS-ATTRIBUTES:CAPS"><code class="literal">RAPTOR_OPTION_ALLOW_NON_NS_ATTRIBUTES</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_ALLOW_OTHER_PARSETYPES</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-ALLOW-OTHER-PARSETYPES:CAPS"><code class="literal">RAPTOR_OPTION_ALLOW_OTHER_PARSETYPES</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_ALLOW_RDF_TYPE_RDF_LIST</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-ALLOW-RDF-TYPE-RDF-LIST:CAPS"><code class="literal">RAPTOR_OPTION_ALLOW_RDF_TYPE_RDF_LIST</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_ATOM_ENTRY_URI</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-ATOM-ENTRY-URI:CAPS"><code class="literal">RAPTOR_OPTION_ATOM_ENTRY_URI</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_BNODE_BORDER</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-BNODE-BORDER:CAPS"><code class="literal">RAPTOR_OPTION_BNODE_BORDER</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_BNODE_FILL</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-BNODE-FILL:CAPS"><code class="literal">RAPTOR_OPTION_BNODE_FILL</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_CHECK_RDF_ID</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-CHECK-RDF-ID:CAPS"><code class="literal">RAPTOR_OPTION_CHECK_RDF_ID</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_HTML_LINK</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-HTML-LINK:CAPS"><code class="literal">RAPTOR_OPTION_HTML_LINK</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_HTML_TAG_SOUP</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-HTML-TAG-SOUP:CAPS"><code class="literal">RAPTOR_OPTION_HTML_TAG_SOUP</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_JSON_CALLBACK</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-JSON-CALLBACK:CAPS"><code class="literal">RAPTOR_OPTION_JSON_CALLBACK</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_JSON_EXTRA_DATA</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-JSON-EXTRA-DATA:CAPS"><code class="literal">RAPTOR_OPTION_JSON_EXTRA_DATA</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_LAST</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-LAST:CAPS"><code class="literal">RAPTOR_OPTION_LAST</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_LITERAL_BORDER</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-LITERAL-BORDER:CAPS"><code class="literal">RAPTOR_OPTION_LITERAL_BORDER</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_LITERAL_FILL</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-LITERAL-FILL:CAPS"><code class="literal">RAPTOR_OPTION_LITERAL_FILL</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_MICROFORMATS</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-MICROFORMATS:CAPS"><code class="literal">RAPTOR_OPTION_MICROFORMATS</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_NON_NFC_FATAL</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-NON-NFC-FATAL:CAPS"><code class="literal">RAPTOR_OPTION_NON_NFC_FATAL</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_NORMALIZE_LANGUAGE</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-NORMALIZE-LANGUAGE:CAPS"><code class="literal">RAPTOR_OPTION_NORMALIZE_LANGUAGE</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_NO_NET</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-NO-NET:CAPS"><code class="literal">RAPTOR_OPTION_NO_NET</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_PREFIX_ELEMENTS</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-PREFIX-ELEMENTS:CAPS"><code class="literal">RAPTOR_OPTION_PREFIX_ELEMENTS</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_RELATIVE_URIS</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-RELATIVE-URIS:CAPS"><code class="literal">RAPTOR_OPTION_RELATIVE_URIS</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_RESOURCE_BORDER</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-RESOURCE-BORDER:CAPS"><code class="literal">RAPTOR_OPTION_RESOURCE_BORDER</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_RESOURCE_FILL</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-RESOURCE-FILL:CAPS"><code class="literal">RAPTOR_OPTION_RESOURCE_FILL</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_RSS_TRIPLES</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-RSS-TRIPLES:CAPS"><code class="literal">RAPTOR_OPTION_RSS_TRIPLES</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_SCANNING </td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-SCANNING:CAPS"><code class="literal">RAPTOR_OPTION_SCANNING</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_WARN_OTHER_PARSETYPES</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-WARN-OTHER-PARSETYPES:CAPS"><code class="literal">RAPTOR_OPTION_WARN_OTHER_PARSETYPES</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_WRITER_AUTO_EMPTY</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-WRITER-AUTO-EMPTY:CAPS"><code class="literal">RAPTOR_OPTION_WRITER_AUTO_EMPTY</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_WRITER_AUTO_INDENT</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-WRITER-AUTO-INDENT:CAPS"><code class="literal">RAPTOR_OPTION_WRITER_AUTO_INDENT</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_WRITER_INDENT_WIDTH</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-WRITER-INDENT-WIDTH:CAPS"><code class="literal">RAPTOR_OPTION_WRITER_INDENT_WIDTH</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_WRITER_XML_DECLARATION</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-WRITER-XML-DECLARATION:CAPS"><code class="literal">RAPTOR_OPTION_WRITER_XML_DECLARATION</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_WRITER_XML_VERSION</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-WRITER-XML-VERSION:CAPS"><code class="literal">RAPTOR_OPTION_WRITER_XML_VERSION</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_WRITE_BASE_URI</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-WRITE-BASE-URI:CAPS"><code class="literal">RAPTOR_OPTION_WRITE_BASE_URI</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_WWW_HTTP_CACHE_CONTROL</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-WWW-HTTP-CACHE-CONTROL:CAPS"><code class="literal">RAPTOR_OPTION_WWW_HTTP_CACHE_CONTROL</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_WWW_HTTP_USER_AGENT</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-WWW-HTTP-USER-AGENT:CAPS"><code class="literal">RAPTOR_OPTION_WWW_HTTP_USER_AGENT</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_FEATURE_WWW_TIMEOUT</td> <td><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-WWW-TIMEOUT:CAPS"><code class="literal">RAPTOR_OPTION_WWW_TIMEOUT</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_IDENTIFIER_TYPE_ANONYMOUS</td> <td><a class="link" href="raptor2-section-triples.html#RAPTOR-TERM-TYPE-BLANK:CAPS"><code class="literal">RAPTOR_TERM_TYPE_BLANK</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_IDENTIFIER_TYPE_LITERAL</td> <td><a class="link" href="raptor2-section-triples.html#RAPTOR-TERM-TYPE-LITERAL:CAPS"><code class="literal">RAPTOR_TERM_TYPE_LITERAL</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_IDENTIFIER_TYPE_PREDICATE</td> <td><a class="link" href="raptor2-section-triples.html#RAPTOR-TERM-TYPE-URI:CAPS"><code class="literal">RAPTOR_TERM_TYPE_URI</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_IDENTIFIER_TYPE_RESOURCE</td> <td><a class="link" href="raptor2-section-triples.html#RAPTOR-TERM-TYPE-URI:CAPS"><code class="literal">RAPTOR_TERM_TYPE_URI</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_IDENTIFIER_TYPE_UNKNOWN</td> <td><a class="link" href="raptor2-section-triples.html#RAPTOR-TERM-TYPE-UNKNOWN:CAPS"><code class="literal">RAPTOR_TERM_TYPE_UNKNOWN</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_IDENTIFIER_TYPE_XML_LITERAL</td> <td><a class="link" href="raptor2-section-triples.html#RAPTOR-TERM-TYPE-LITERAL:CAPS"><code class="literal">RAPTOR_TERM_TYPE_LITERAL</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_LIBXML_FLAGS_GENERIC_ERROR_SAVE</td> <td><a class="link" href="raptor2-section-world.html#RAPTOR-WORLD-FLAG-LIBXML-GENERIC-ERROR-SAVE:CAPS"><code class="literal">RAPTOR_WORLD_FLAG_LIBXML_GENERIC_ERROR_SAVE</code></a></td> <td>Flag setting is done by <a href="raptor2-section-world.html#raptor-world-set-flag"><code class="function">raptor_world_set_flags</code></a>()</td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_LIBXML_FLAGS_STRUCTURED_ERROR_SAVE</td> <td><a class="link" href="raptor2-section-world.html#RAPTOR-WORLD-FLAG-LIBXML-STRUCTURED-ERROR-SAVE:CAPS"><code class="literal">RAPTOR_WORLD_FLAG_LIBXML_STRUCTURED_ERROR_SAVE</code></a></td> <td>Flag setting is done by <a href="raptor2-section-world.html#raptor-world-set-flag"><code class="function">raptor_world_set_flags</code></a>()</td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_LOG_LEVEL_WARNING</td> <td><a class="link" href="raptor2-section-general.html#RAPTOR-LOG-LEVEL-WARN:CAPS"><code class="literal">RAPTOR_LOG_LEVEL_WARN</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_NTRIPLES_TERM_TYPE_BLANK_NODE</td> <td><a class="link" href="raptor2-section-triples.html#RAPTOR-TERM-TYPE-BLANK:CAPS"><code class="literal">RAPTOR_TERM_TYPE_BLANK</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_NTRIPLES_TERM_TYPE_LITERAL</td> <td><a class="link" href="raptor2-section-triples.html#RAPTOR-TERM-TYPE-LITERAL:CAPS"><code class="literal">RAPTOR_TERM_TYPE_LITERAL</code></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>RAPTOR_NTRIPLES_TERM_TYPE_URI_REF</td> <td><a class="link" href="raptor2-section-triples.html#RAPTOR-TERM-TYPE-URI:CAPS"><code class="literal">RAPTOR_TERM_TYPE_URI</code></a></td> <td> </td>
+ </tr>
+</tbody>
+</table></div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="raptor2-changes-changed-1-4-21-to-2-0-0"></a>Changed functions and types</h3></div></div></div>
+<div class="table"><table border="1">
+<thead></thead>
+<tbody>
+<tr>
+ <th>1.4.21 function</th>
+ <th>2.0.0 function</th>
+ <th>Notes</th>
+ </tr>
+<tr valign="top">
+ <td>raptor_feature raptor_feature_from_uri(raptor_uri *uri)</td> <td>raptor_option <a class="link" href="raptor2-section-option.html#raptor-world-get-option-from-uri" title="raptor_world_get_option_from_uri ()"><code class="function">raptor_world_get_option_from_uri</code></a>(raptor_world* world, raptor_uri *uri)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_feature raptor_feature_from_uri_v2(raptor_world* world, raptor_uri *uri)</td> <td>raptor_option <a class="link" href="raptor2-section-option.html#raptor-world-get-option-from-uri" title="raptor_world_get_option_from_uri ()"><code class="function">raptor_world_get_option_from_uri</code></a>(raptor_world* world, raptor_uri *uri)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_features_enumerate(const raptor_feature feature, const char* *name, raptor_uri **uri, const char* *label)</td> <td>raptor_option_description* <a class="link" href="raptor2-section-option.html#raptor-world-get-option-description" title="raptor_world_get_option_description ()"><code class="function">raptor_world_get_option_description</code></a>(raptor_world* world, const raptor_domain domain, const raptor_option option)</td> <td>Call with domain = <a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-PARSER:CAPS"><code class="literal">RAPTOR_DOMAIN_PARSER</code></a>
+</td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_features_enumerate_v2(raptor_world* world, const raptor_feature feature, const char* *name, raptor_uri **uri, const char* *label)</td> <td>raptor_option_description* <a class="link" href="raptor2-section-option.html#raptor-world-get-option-description" title="raptor_world_get_option_description ()"><code class="function">raptor_world_get_option_description</code></a>(raptor_world* world, const raptor_domain domain, const raptor_option option)</td> <td>Call with domain = <a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-PARSER:CAPS"><code class="literal">RAPTOR_DOMAIN_PARSER</code></a>
+</td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_format_locator_v2(raptor_world* world, char* buffer, size_t length, raptor_locator* locator)</td> <td>int <a class="link" href="raptor2-section-locator.html#raptor-locator-format" title="raptor_locator_format ()"><code class="function">raptor_locator_format</code></a>(char* buffer, size_t length, raptor_locator* locator)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>void raptor_free_uri_v2(raptor_world* world, raptor_uri *uri)</td> <td>void <a class="link" href="raptor2-section-uri.html#raptor-free-uri" title="raptor_free_uri ()"><code class="function">raptor_free_uri</code></a>(raptor_uri *uri)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_get_feature(raptor_parser *parser, raptor_feature feature)</td> <td>int <a class="link" href="raptor2-section-parser.html#raptor-parser-get-option" title="raptor_parser_get_option ()"><code class="function">raptor_parser_get_option</code></a>(raptor_parser *parser, raptor_option option, char** string_p, int* integer_p)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>const char* raptor_get_label(raptor_parser *rdf_parser)</td> <td>raptor_syntax_description* <a class="link" href="raptor2-section-parser.html#raptor-parser-get-description" title="raptor_parser_get_description ()"><code class="function">raptor_parser_get_description</code></a>(raptor_parser* rdf_parser)</td> <td>Use label field of returned description.</td>
+ </tr>
+<tr valign="top">
+ <td>const char* raptor_get_mime_type(raptor_parser *rdf_parser)</td> <td>raptor_syntax_description* <a class="link" href="raptor2-section-parser.html#raptor-parser-get-description" title="raptor_parser_get_description ()"><code class="function">raptor_parser_get_description</code></a>(raptor_parser* rdf_parser)</td> <td>Use the mime_types array field of returned <a class="link" href="raptor2-section-general.html#raptor-syntax-description" title="raptor_syntax_description"><span class="type">raptor_syntax_description</span></a>
+</td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_get_need_base_uri(raptor_parser *rdf_parser)</td> <td>raptor_syntax_description* <a class="link" href="raptor2-section-parser.html#raptor-parser-get-description" title="raptor_parser_get_description ()"><code class="function">raptor_parser_get_description</code></a>(raptor_parser* rdf_parser)</td> <td>Use the <a class="link" href="raptor2-section-general.html#RAPTOR-SYNTAX-NEED-BASE-URI:CAPS"><code class="literal">RAPTOR_SYNTAX_NEED_BASE_URI</code></a> bitflag in the flags field of the returned <a class="link" href="raptor2-section-general.html#raptor-syntax-description" title="raptor_syntax_description"><span class="type">raptor_syntax_description</span></a>
+</td>
+ </tr>
+<tr valign="top">
+ <td>const char* raptor_guess_parser_name(raptor_uri *uri, const char* mime_type, const unsigned char* buffer, size_t len, const unsigned char* identifier)</td> <td>const char* <a class="link" href="raptor2-section-world.html#raptor-world-guess-parser-name" title="raptor_world_guess_parser_name ()"><code class="function">raptor_world_guess_parser_name</code></a>(raptor_world* world, raptor_uri *uri, const char* mime_type, const unsigned char* buffer, size_t len, const unsigned char* identifier)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_iostream_format_hexadecimal(raptor_iostream* iostr, unsigned int integer, int width)</td> <td>int <a class="link" href="raptor2-section-iostream.html#raptor-iostream-hexadecimal-write" title="raptor_iostream_hexadecimal_write ()"><code class="function">raptor_iostream_hexadecimal_write</code></a>(unsigned int integer, int width, raptor_iostream* iostr)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_iostream_read_bytes(raptor_iostream* iostr, void *ptr, size_t size, size_t nmemb)</td> <td>int <a class="link" href="raptor2-section-iostream.html#raptor-iostream-read-bytes" title="raptor_iostream_read_bytes ()"><code class="function">raptor_iostream_read_bytes</code></a>(void *ptr, size_t size, size_t nmemb, raptor_iostream* iostr)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_iostream_write_byte(raptor_iostream *iostr, const int byte)</td> <td>int <a class="link" href="raptor2-section-iostream.html#raptor-iostream-write-byte" title="raptor_iostream_write_byte ()"><code class="function">raptor_iostream_write_byte</code></a>(const int byte, raptor_iostream *iostr)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_iostream_write_bytes(raptor_iostream *iostr, const void *ptr, size_t size, size_t nmemb)</td> <td>int <a class="link" href="raptor2-section-iostream.html#raptor-iostream-write-bytes" title="raptor_iostream_write_bytes ()"><code class="function">raptor_iostream_write_bytes</code></a>(const void *ptr, size_t size, size_t nmemb, raptor_iostream *iostr)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_iostream_write_counted_string(raptor_iostream *iostr, const void *string, size_t len)</td> <td>int <a class="link" href="raptor2-section-iostream.html#raptor-iostream-counted-string-write" title="raptor_iostream_counted_string_write ()"><code class="function">raptor_iostream_counted_string_write</code></a>(const void *string, size_t len, raptor_iostream *iostr)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_iostream_write_decimal(raptor_iostream* iostr, int integer)</td> <td>int <a class="link" href="raptor2-section-iostream.html#raptor-iostream-decimal-write" title="raptor_iostream_decimal_write ()"><code class="function">raptor_iostream_decimal_write</code></a>(int integer, raptor_iostream* iostr)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>void raptor_iostream_write_end(raptor_iostream *iostr)</td> <td>int <a class="link" href="raptor2-section-iostream.html#raptor-iostream-write-end" title="raptor_iostream_write_end ()"><code class="function">raptor_iostream_write_end</code></a>(raptor_iostream *iostr)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_iostream_write_namespace(raptor_iostream* iostr, raptor_namespace *ns)</td> <td>int <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-write" title="raptor_namespace_write ()"><code class="function">raptor_namespace_write</code></a>(raptor_namespace *ns, raptor_iostream* iostr)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_iostream_write_qname(raptor_iostream* iostr, raptor_qname *qname)</td> <td>int <a class="link" href="raptor2-section-xml-qname.html#raptor-qname-write" title="raptor_qname_write ()"><code class="function">raptor_qname_write</code></a>(raptor_qname *qname, raptor_iostream* iostr)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>void raptor_iostream_write_statement_ntriples(raptor_iostream* iostr, const raptor_statement *statement)</td> <td>int <a class="link" href="raptor2-section-triples.html#raptor-statement-ntriples-write" title="raptor_statement_ntriples_write ()"><code class="function">raptor_statement_ntriples_write</code></a>(const raptor_statement *statement, raptor_iostream* iostr, int write_graph_term)</td> <td>Gains extra flag arg to decide whether to write any graph term.</td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_iostream_write_string(raptor_iostream *iostr, const void *string)</td> <td>int <a class="link" href="raptor2-section-iostream.html#raptor-iostream-string-write" title="raptor_iostream_string_write ()"><code class="function">raptor_iostream_string_write</code></a>(const void *string, raptor_iostream *iostr)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_iostream_write_string_ntriples(raptor_iostream *iostr, const unsigned char* string, size_t len, const char delim)</td> <td>int <a class="link" href="raptor2-section-iostream.html#raptor-string-ntriples-write" title="raptor_string_ntriples_write ()"><code class="function">raptor_string_ntriples_write</code></a>(const unsigned char* string, size_t len, const char delim, raptor_iostream *iostr)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_iostream_write_string_python(raptor_iostream *iostr, const unsigned char* string, size_t len, const char delim, int flags)</td> <td>int <a class="link" href="raptor2-section-iostream.html#raptor-string-python-write" title="raptor_string_python_write ()"><code class="function">raptor_string_python_write</code></a>(const unsigned char* string, size_t len, const char delim, int flags, raptor_iostream *iostr)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_iostream_write_stringbuffer(raptor_iostream* iostr, raptor_stringbuffer *sb)</td> <td>int <a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-write" title="raptor_stringbuffer_write ()"><code class="function">raptor_stringbuffer_write</code></a>(raptor_stringbuffer *sb, raptor_iostream* iostr)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_iostream_write_uri(raptor_iostream *iostr, raptor_uri *uri)</td> <td>int <a class="link" href="raptor2-section-uri.html#raptor-uri-write" title="raptor_uri_write ()"><code class="function">raptor_uri_write</code></a>(raptor_uri *uri, raptor_iostream *iostr)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_iostream_write_uri_v2(raptor_world* world, raptor_iostream *iostr, raptor_uri *uri)</td> <td>int <a class="link" href="raptor2-section-uri.html#raptor-uri-write" title="raptor_uri_write ()"><code class="function">raptor_uri_write</code></a>(raptor_uri *uri, raptor_iostream *iostr)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_iostream_write_xml_any_escaped_string(raptor_iostream* iostr, const unsigned char* string, size_t len, char quote, int xml_version, raptor_simple_message_handler error_handler, void *error_data)</td> <td>int <a class="link" href="raptor2-section-xml.html#raptor-xml-escape-string-any-write" title="raptor_xml_escape_string_any_write ()"><code class="function">raptor_xml_escape_string_any_write</code></a>(const unsigned char* string, size_t len, char quote, int xml_version, raptor_iostream* iostr)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_iostream_write_xml_element(raptor_iostream *iostr, raptor_xml_element *element, raptor_namespace_stack *nstack, int is_empty, int is_end, raptor_simple_message_handler error_handler, void *error_data, int depth)</td> <td>int <a class="link" href="raptor2-section-xml.html#raptor-xml-element-write" title="raptor_xml_element_write ()"><code class="function">raptor_xml_element_write</code></a>(raptor_xml_element *element, raptor_namespace_stack *nstack, int is_empty, int is_end, int depth, raptor_iostream *iostr)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_iostream_write_xml_escaped_string(raptor_iostream* iostr, const unsigned char* string, size_t len, char quote, raptor_simple_message_handler error_handler, void *error_data)</td> <td>int <a class="link" href="raptor2-section-xml.html#raptor-xml-escape-string-write" title="raptor_xml_escape_string_write ()"><code class="function">raptor_xml_escape_string_write</code></a>(const unsigned char* string, size_t len, char quote, raptor_iostream* iostr)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>const char* raptor_locator_uri_v2(raptor_world* world, raptor_locator *locator)</td> <td>const char* <a class="link" href="raptor2-section-locator.html#raptor-locator-uri" title="raptor_locator_uri ()"><code class="function">raptor_locator_uri</code></a>(raptor_locator *locator)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_namespaces_init(raptor_namespace_stack *nstack, const raptor_uri_handler *uri_handler, void *uri_context, raptor_simple_message_handler error_handler, void *error_data, int defaults)</td> <td>int <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespaces-init" title="raptor_namespaces_init ()"><code class="function">raptor_namespaces_init</code></a>(raptor_world* world, raptor_namespace_stack *nstack, int defaults)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_namespaces_init_v2(raptor_world* world, raptor_namespace_stack *nstack, raptor_simple_message_handler error_handler, void *error_data, int defaults)</td> <td>int <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespaces-init" title="raptor_namespaces_init ()"><code class="function">raptor_namespaces_init</code></a>(raptor_world* world, raptor_namespace_stack *nstack, int defaults)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_iostream* raptor_new_iostream_from_file_handle(FILE *handle)</td> <td>raptor_iostream* <a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-from-file-handle" title="raptor_new_iostream_from_file_handle ()"><code class="function">raptor_new_iostream_from_file_handle</code></a>(raptor_world* world, FILE *handle)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_iostream* raptor_new_iostream_from_filename(const char* filename)</td> <td>raptor_iostream* <a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-from-filename" title="raptor_new_iostream_from_filename ()"><code class="function">raptor_new_iostream_from_filename</code></a>(raptor_world* world, const char* filename)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_iostream* raptor_new_iostream_from_handler(void *context, const raptor_iostream_handler *handler)</td> <td>raptor_iostream* <a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-from-handler" title="raptor_new_iostream_from_handler ()"><code class="function">raptor_new_iostream_from_handler</code></a>(raptor_world* world, void *user_data, const raptor_iostream_handler* const handler)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_iostream* raptor_new_iostream_from_handler2(void *user_data, const raptor_iostream_handler2* const handler2)</td> <td>raptor_iostream* <a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-from-handler" title="raptor_new_iostream_from_handler ()"><code class="function">raptor_new_iostream_from_handler</code></a>(raptor_world* world, void *user_data, const raptor_iostream_handler* const handler)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_iostream* raptor_new_iostream_from_sink(void)</td> <td>raptor_iostream* <a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-from-sink" title="raptor_new_iostream_from_sink ()"><code class="function">raptor_new_iostream_from_sink</code></a>(raptor_world* world)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_iostream* raptor_new_iostream_from_string(void *string, size_t length)</td> <td>raptor_iostream* <a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-from-string" title="raptor_new_iostream_from_string ()"><code class="function">raptor_new_iostream_from_string</code></a>(raptor_world* world, void *string, size_t length)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_iostream* raptor_new_iostream_to_file_handle(FILE *handle)</td> <td>raptor_iostream* <a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-to-file-handle" title="raptor_new_iostream_to_file_handle ()"><code class="function">raptor_new_iostream_to_file_handle</code></a>(raptor_world* world, FILE *handle)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_iostream* raptor_new_iostream_to_filename(const char* filename)</td> <td>raptor_iostream* <a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-to-filename" title="raptor_new_iostream_to_filename ()"><code class="function">raptor_new_iostream_to_filename</code></a>(raptor_world* world, const char* filename)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_iostream* raptor_new_iostream_to_sink(void)</td> <td>raptor_iostream* <a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-to-sink" title="raptor_new_iostream_to_sink ()"><code class="function">raptor_new_iostream_to_sink</code></a>(raptor_world* world)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_iostream* raptor_new_iostream_to_string(void **string_p, size_t *length_p, void *(*malloc_handler)(size_t size))</td> <td>raptor_iostream* <a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-to-string" title="raptor_new_iostream_to_string ()"><code class="function">raptor_new_iostream_to_string</code></a>(raptor_world* world, void **string_p, size_t *length_p, void *(*malloc_handler)(size_t size))</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_namespace_stack* raptor_new_namespaces(const raptor_uri_handler *uri_handler, void *uri_context, raptor_simple_message_handler error_handler, void *error_data, int defaults)</td> <td>raptor_namespace_stack* <a class="link" href="raptor2-section-xml-namespace.html#raptor-new-namespaces" title="raptor_new_namespaces ()"><code class="function">raptor_new_namespaces</code></a>(raptor_world* world, int defaults)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_namespace_stack* raptor_new_namespaces_v2(raptor_world* world, raptor_simple_message_handler error_handler, void *error_data, int defaults)</td> <td>raptor_namespace_stack* <a class="link" href="raptor2-section-xml-namespace.html#raptor-new-namespaces" title="raptor_new_namespaces ()"><code class="function">raptor_new_namespaces</code></a>(raptor_world* world, int defaults)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_parser* raptor_new_parser(const char* name)</td> <td>raptor_parser* <a class="link" href="raptor2-section-parser.html#raptor-new-parser" title="raptor_new_parser ()"><code class="function">raptor_new_parser</code></a>(raptor_world* world, const char* name)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_parser* raptor_new_parser_for_content(raptor_uri *uri, const char* mime_type, const unsigned char* buffer, size_t len, const unsigned char* identifier)</td> <td>raptor_parser* <a class="link" href="raptor2-section-parser.html#raptor-new-parser-for-content" title="raptor_new_parser_for_content ()"><code class="function">raptor_new_parser_for_content</code></a>(raptor_world* world, raptor_uri *uri, const char* mime_type, const unsigned char* buffer, size_t len, const unsigned char* identifier)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_qname* raptor_new_qname(raptor_namespace_stack *nstack, const unsigned char* name, const unsigned char* value, raptor_simple_message_handler error_handler, void *error_data)</td> <td>raptor_qname* <a class="link" href="raptor2-section-xml-qname.html#raptor-new-qname" title="raptor_new_qname ()"><code class="function">raptor_new_qname</code></a>(raptor_namespace_stack *nstack, const unsigned char* name, const unsigned char* value)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_qname* raptor_new_qname_from_namespace_local_name(raptor_namespace *ns, const unsigned char* local_name, const unsigned char* value)</td> <td>raptor_qname* <a class="link" href="raptor2-section-xml-qname.html#raptor-new-qname-from-namespace-local-name" title="raptor_new_qname_from_namespace_local_name ()"><code class="function">raptor_new_qname_from_namespace_local_name</code></a>(raptor_world* world, raptor_namespace *ns, const unsigned char* local_name, const unsigned char* value)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_sax2* raptor_new_sax2(void *user_data, raptor_error_handlers* error_handlers)</td> <td>raptor_sax2* <a class="link" href="raptor2-section-sax2.html#raptor-new-sax2" title="raptor_new_sax2 ()"><code class="function">raptor_new_sax2</code></a>(raptor_world *world, raptor_locator *locator, void* user_data)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_sequence* raptor_new_sequence(raptor_sequence_free_handler* free_handler, raptor_sequence_print_handler* print_handler)</td> <td>raptor_sequence* <a class="link" href="raptor2-section-sequence.html#raptor-new-sequence" title="raptor_new_sequence ()"><code class="function">raptor_new_sequence</code></a>(raptor_data_free_handler free_handler, raptor_data_print_handler print_handler)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_sequence* raptor_new_sequence_v2(raptor_sequence_free_handler_v2* free_handler, raptor_sequence_print_handler_v2* print_handler, void* handler_context)</td> <td>raptor_sequence* <a class="link" href="raptor2-section-sequence.html#raptor-new-sequence" title="raptor_new_sequence ()"><code class="function">raptor_new_sequence</code></a>(raptor_data_free_handler free_handler, raptor_data_print_handler print_handler)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_serializer* raptor_new_serializer(const char* name)</td> <td>raptor_serializer* <a class="link" href="raptor2-section-serializer.html#raptor-new-serializer" title="raptor_new_serializer ()"><code class="function">raptor_new_serializer</code></a>(raptor_world* world, const char* name)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_uri* raptor_new_uri(const unsigned char* uri_string)</td> <td>raptor_uri* <a class="link" href="raptor2-section-uri.html#raptor-new-uri" title="raptor_new_uri ()"><code class="function">raptor_new_uri</code></a>(raptor_world* world, const unsigned char* uri_string)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_uri* raptor_new_uri_for_rdf_concept(const char* name)</td> <td>raptor_uri* <a class="link" href="raptor2-section-uri.html#raptor-new-uri-for-rdf-concept" title="raptor_new_uri_for_rdf_concept ()"><code class="function">raptor_new_uri_for_rdf_concept</code></a>(raptor_world* world, const unsigned char* name)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_uri* raptor_new_uri_for_rdf_concept_v2(raptor_world* world, const char* name)</td> <td>raptor_uri* <a class="link" href="raptor2-section-uri.html#raptor-new-uri-for-rdf-concept" title="raptor_new_uri_for_rdf_concept ()"><code class="function">raptor_new_uri_for_rdf_concept</code></a>(raptor_world* world, const unsigned char* name)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_uri* raptor_new_uri_for_retrieval_v2(raptor_world* world, raptor_uri* old_uri)</td> <td>raptor_uri* <a class="link" href="raptor2-section-uri.html#raptor-new-uri-for-retrieval" title="raptor_new_uri_for_retrieval ()"><code class="function">raptor_new_uri_for_retrieval</code></a>(raptor_uri* old_uri)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_uri* raptor_new_uri_for_xmlbase_v2(raptor_world* world, raptor_uri* old_uri)</td> <td>raptor_uri* <a class="link" href="raptor2-section-uri.html#raptor-new-uri-for-xmlbase" title="raptor_new_uri_for_xmlbase ()"><code class="function">raptor_new_uri_for_xmlbase</code></a>(raptor_uri* old_uri)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_uri* raptor_new_uri_from_id(raptor_uri *base_uri, const unsigned char* id)</td> <td>raptor_uri* <a class="link" href="raptor2-section-uri.html#raptor-new-uri-from-id" title="raptor_new_uri_from_id ()"><code class="function">raptor_new_uri_from_id</code></a>(raptor_world* world, raptor_uri *base_uri, const unsigned char* id)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_uri* raptor_new_uri_from_uri_local_name(raptor_uri *uri, const unsigned char* local_name)</td> <td>raptor_uri* <a class="link" href="raptor2-section-uri.html#raptor-new-uri-from-uri-local-name" title="raptor_new_uri_from_uri_local_name ()"><code class="function">raptor_new_uri_from_uri_local_name</code></a>(raptor_world* world, raptor_uri *uri, const unsigned char* local_name)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_uri* raptor_new_uri_relative_to_base(raptor_uri *base_uri, const unsigned char* uri_string)</td> <td>raptor_uri* <a class="link" href="raptor2-section-uri.html#raptor-new-uri-relative-to-base" title="raptor_new_uri_relative_to_base ()"><code class="function">raptor_new_uri_relative_to_base</code></a>(raptor_world* world, raptor_uri *base_uri, const unsigned char* uri_string)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_xml_writer* raptor_new_xml_writer(raptor_namespace_stack *nstack, const raptor_uri_handler *uri_handler, void *uri_context, raptor_iostream* iostr, raptor_simple_message_handler error_handler, void *error_data, int canonicalize)</td> <td>raptor_xml_writer* <a class="link" href="raptor2-section-xml.html#raptor-new-xml-writer" title="raptor_new_xml_writer ()"><code class="function">raptor_new_xml_writer</code></a>(raptor_world* world, raptor_namespace_stack *nstack, raptor_iostream* iostr)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_xml_writer* raptor_new_xml_writer_v2(raptor_world* world, raptor_namespace_stack *nstack, raptor_iostream* iostr, raptor_simple_message_handler error_handler, void *error_data, int canonicalize)</td> <td>raptor_xml_writer* <a class="link" href="raptor2-section-xml.html#raptor-new-xml-writer" title="raptor_new_xml_writer ()"><code class="function">raptor_new_xml_writer</code></a>(raptor_world* world, raptor_namespace_stack *nstack, raptor_iostream* iostr)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>const unsigned char* raptor_parser_get_feature_string(raptor_parser *parser, raptor_feature feature)</td> <td>const unsigned char* <a class="link" href="raptor2-section-parser.html#raptor-parser-get-option" title="raptor_parser_get_option ()"><code class="function">raptor_parser_get_option</code></a>(raptor_parser *parser, raptor_option option, char** string_p, int* integer_p)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_parser_set_feature_string(raptor_parser *parser, raptor_feature feature, const unsigned char* value)</td> <td>int <a class="link" href="raptor2-section-parser.html#raptor-parser-set-option" title="raptor_parser_set_option ()"><code class="function">raptor_parser_set_option</code></a>(raptor_parser *parser, raptor_option option, char* string, int integer)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_parsers_enumerate(const unsigned int counter, const char* *name, const char* *label)</td> <td>raptor_syntax_description* <a class="link" href="raptor2-section-world.html#raptor-world-get-parser-description" title="raptor_world_get_parser_description ()"><code class="function">raptor_world_get_parser_description</code></a>(raptor_world* world, unsigned int counter)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_parsers_enumerate_v2(raptor_world* world, const unsigned int counter, const char* *name, const char* *label)</td> <td>raptor_syntax_description* <a class="link" href="raptor2-section-world.html#raptor-world-get-parser-description" title="raptor_world_get_parser_description ()"><code class="function">raptor_world_get_parser_description</code></a>(raptor_world* world, const unsigned int counter)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>void raptor_print_locator(FILE *stream, raptor_locator* locator)</td> <td>int <a class="link" href="raptor2-section-locator.html#raptor-locator-print" title="raptor_locator_print ()"><code class="function">raptor_locator_print</code></a>(raptor_locator* locator, FILE *stream)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>void raptor_print_locator_v2(raptor_world* world, FILE *stream, raptor_locator* locator)</td> <td>void <a class="link" href="raptor2-section-locator.html#raptor-locator-print" title="raptor_locator_print ()"><code class="function">raptor_locator_print</code></a>(raptor_locator* locator, FILE *stream)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>void raptor_print_statement(const raptor_statement * statement, FILE *stream)</td> <td>int <a class="link" href="raptor2-section-triples.html#raptor-statement-print" title="raptor_statement_print ()"><code class="function">raptor_statement_print</code></a>(const raptor_statement * statement, FILE *stream)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>void raptor_print_statement_as_ntriples(const raptor_statement * statement, FILE *stream)</td> <td>int <a class="link" href="raptor2-section-triples.html#raptor-statement-print-as-ntriples" title="raptor_statement_print_as_ntriples ()"><code class="function">raptor_statement_print_as_ntriples</code></a>(const raptor_statement * statement, FILE *stream)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>void raptor_print_statement_as_ntriples_v2(const raptor_statement_v2 * statement, FILE *stream)</td> <td>int <a class="link" href="raptor2-section-triples.html#raptor-statement-print-as-ntriples" title="raptor_statement_print_as_ntriples ()"><code class="function">raptor_statement_print_as_ntriples</code></a>(const raptor_statement * statement, FILE *stream)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>void raptor_print_statement_v2(const raptor_statement_v2 * statement, FILE *stream)</td> <td>int <a class="link" href="raptor2-section-triples.html#raptor-statement-print" title="raptor_statement_print ()"><code class="function">raptor_statement_print</code></a>(const raptor_statement * statement, FILE *stream)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_uri* raptor_qname_string_to_uri(raptor_namespace_stack *nstack, const unsigned char* name, size_t name_len, raptor_simple_message_handler error_handler, void *error_data)</td> <td>raptor_uri* <a class="link" href="raptor2-section-xml-qname.html#raptor-qname-string-to-uri" title="raptor_qname_string_to_uri ()"><code class="function">raptor_qname_string_to_uri</code></a>(raptor_namespace_stack *nstack, const unsigned char* name, size_t name_len)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>void raptor_sequence_print(raptor_sequence* seq, FILE* fh)</td> <td>int <a class="link" href="raptor2-section-sequence.html#raptor-sequence-print" title="raptor_sequence_print ()"><code class="function">raptor_sequence_print</code></a>(raptor_sequence* seq, FILE* fh)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>void raptor_sequence_sort(raptor_sequence* seq, int(*compare)(const void *, const void *))</td> <td>void <a class="link" href="raptor2-section-sequence.html#raptor-sequence-sort" title="raptor_sequence_sort ()"><code class="function">raptor_sequence_sort</code></a>(raptor_sequence* seq, raptor_data_compare_handler compare)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_serialize_statement(raptor_serializer* rdf_serializer, const raptor_statement *statement)</td> <td>int <a class="link" href="raptor2-section-serializer.html#raptor-serializer-serialize-statement" title="raptor_serializer_serialize_statement ()"><code class="function">raptor_serializer_serialize_statement</code></a>(raptor_serializer* rdf_serializer, raptor_statement *statement)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_serializer_features_enumerate(const raptor_feature feature, const char* *name, raptor_uri **uri, const char* *label)</td> <td>raptor_option_description* <a class="link" href="raptor2-section-option.html#raptor-world-get-option-description" title="raptor_world_get_option_description ()"><code class="function">raptor_world_get_option_description</code></a>(raptor_world* world, const raptor_domain domain, const raptor_option option)</td> <td>Call with domain = <a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-SERIALIZER:CAPS"><code class="literal">RAPTOR_DOMAIN_SERIALIZER</code></a>
+</td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_serializer_features_enumerate_v2(raptor_world* world, const raptor_feature feature, const char* *name, raptor_uri **uri, const char* *label)</td> <td>raptor_option_description* <a class="link" href="raptor2-section-option.html#raptor-world-get-option-description" title="raptor_world_get_option_description ()"><code class="function">raptor_world_get_option_description</code></a>(raptor_world* world, const raptor_domain domain, const raptor_option option)</td> <td>Call with domain = <a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-SERIALIZER:CAPS"><code class="literal">RAPTOR_DOMAIN_SERIALIZER</code></a>
+</td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_serializer_get_feature(raptor_serializer *serializer, raptor_feature feature)</td> <td>int <a class="link" href="raptor2-section-serializer.html#raptor-serializer-get-option" title="raptor_serializer_get_option ()"><code class="function">raptor_serializer_get_option</code></a>(raptor_serializer *serializer, raptor_option option)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>const unsigned char* raptor_serializer_get_feature_string(raptor_serializer *serializer, raptor_feature feature)</td> <td>int <a class="link" href="raptor2-section-serializer.html#raptor-serializer-get-option" title="raptor_serializer_get_option ()"><code class="function">raptor_serializer_get_option</code></a>(raptor_serializer *serializer, raptor_option option, char** string_p, int* integer_p)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_serializer_set_feature(raptor_serializer *serializer, raptor_feature feature, int value)</td> <td>int <a class="link" href="raptor2-section-serializer.html#raptor-serializer-set-option" title="raptor_serializer_set_option ()"><code class="function">raptor_serializer_set_option</code></a>(raptor_serializer *serializer, raptor_option option, char* string, int integer)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_serializer_set_feature_string(raptor_serializer *serializer, raptor_feature feature, const unsigned char* value)</td> <td>int <a class="link" href="raptor2-section-serializer.html#raptor-serializer-set-option" title="raptor_serializer_set_option ()"><code class="function">raptor_serializer_set_option</code></a>(raptor_serializer *serializer, raptor_option option, char* string, int integer)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_serializer_syntax_name_check(const char* name)</td> <td>int <a class="link" href="raptor2-section-world.html#raptor-world-is-serializer-name" title="raptor_world_is_serializer_name ()"><code class="function">raptor_world_is_serializer_name</code></a>(raptor_world* world, const char* name)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_serializers_enumerate(const unsigned int counter, const char* *name, const char* *label, const char* *mime_type, const unsigned char* *uri_string)</td> <td>const raptor_syntax_description* <a class="link" href="raptor2-section-world.html#raptor-world-get-serializer-description" title="raptor_world_get_serializer_description ()"><code class="function">raptor_world_get_serializer_description</code></a>(raptor_world* world, unsigned int counter)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_serializers_enumerate_v2(raptor_world* world, const unsigned int counter, const char* *name, const char* *label, const char* *mime_type, const unsigned char* *uri_string)</td> <td>const raptor_syntax_description* <a class="link" href="raptor2-section-world.html#raptor-world-get-serializer-description" title="raptor_world_get_serializer_description ()"><code class="function">raptor_world_get_serializer_description</code></a>(raptor_world* world, const unsigned int counter)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>void raptor_set_default_generate_id_parameters(raptor_parser* rdf_parser, char* prefix, int base)</td> <td>void <a class="link" href="raptor2-section-world.html#raptor-world-set-generate-bnodeid-parameters" title="raptor_world_set_generate_bnodeid_parameters ()"><code class="function">raptor_world_set_generate_bnodeid_parameters</code></a>(raptor_world* world, char* prefix, int base)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_set_feature(raptor_parser *parser, raptor_feature feature, int value)</td> <td>int <a class="link" href="raptor2-section-parser.html#raptor-parser-set-option" title="raptor_parser_set_option ()"><code class="function">raptor_parser_set_option</code></a>(raptor_parser *parser, raptor_option option, char* string, int integer)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>void raptor_set_generate_id_handler(raptor_parser* parser, void *user_data, raptor_generate_id_handler handler)</td> <td>void <a class="link" href="raptor2-section-world.html#raptor-world-set-generate-bnodeid-handler" title="raptor_world_set_generate_bnodeid_handler ()"><code class="function">raptor_world_set_generate_bnodeid_handler</code></a>(raptor_world* world, void *user_data, raptor_generate_bnodeid_handler handler)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>void raptor_set_graph_handler(raptor_parser* parser, void *user_data, raptor_graph_handler handler)</td> <td>void <a class="link" href="raptor2-section-parser.html#raptor-parser-set-graph-mark-handler" title="raptor_parser_set_graph_mark_handler ()"><code class="function">raptor_parser_set_graph_mark_handler</code></a>(raptor_parser* parser, void *user_data, raptor_graph_mark_handler handler)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>void raptor_set_libxslt_security_preferences(void *security_preferences)</td> <td>int <a class="link" href="raptor2-section-world.html#raptor-world-set-libxslt-security-preferences" title="raptor_world_set_libxslt_security_preferences ()"><code class="function">raptor_world_set_libxslt_security_preferences</code></a>(raptor_world *world, void *security_preferences)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_statement_compare_v2(const raptor_statement_v2 *s1, const raptor_statement_v2 *s2)</td> <td>int <a class="link" href="raptor2-section-triples.html#raptor-statement-compare" title="raptor_statement_compare ()"><code class="function">raptor_statement_compare</code></a>(const raptor_statement *s1, const raptor_statement *s2)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_syntax_name_check(const char* name)</td> <td>int <a class="link" href="raptor2-section-world.html#raptor-world-is-parser-name" title="raptor_world_is_parser_name ()"><code class="function">raptor_world_is_parser_name</code></a>(raptor_world* world, const char *name)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_syntax_name_check_v2(raptor_world* world, const char* name)</td> <td>int <a class="link" href="raptor2-section-world.html#raptor-world-is-parser-name" title="raptor_world_is_parser_name ()"><code class="function">raptor_world_is_parser_name</code></a>(raptor_world* world, const char *name)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_syntaxes_enumerate(const unsigned int counter, const char* *name, const char* *label, const char* *mime_type, const unsigned char* *uri_string)</td> <td>raptor_syntax_description* <a class="link" href="raptor2-section-world.html#raptor-world-get-parser-description" title="raptor_world_get_parser_description ()"><code class="function">raptor_world_get_parser_description</code></a>(raptor_world* world, const unsigned int counter)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_syntaxes_enumerate_v2(raptor_world* world, const unsigned int counter, const char* *name, const char* *label, const char* *mime_type, const unsigned char* *uri_string)</td> <td>raptor_syntax_description* <a class="link" href="raptor2-section-world.html#raptor-world-get-parser-description" title="raptor_world_get_parser_description ()"><code class="function">raptor_world_get_parser_description</code></a>(raptor_world* world, const unsigned int counter)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_unicode_char_to_utf8(raptor_unichar c, unsigned char* output)</td> <td>int <a class="link" href="raptor2-section-unicode.html#raptor-unicode-utf8-string-put-char" title="raptor_unicode_utf8_string_put_char ()"><code class="function">raptor_unicode_utf8_string_put_char</code></a>(raptor_unichar c, unsigned char* output, size_t length)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>unsigned char* raptor_uri_as_counted_string_v2(raptor_world* world, raptor_uri *uri, size_t* len_p)</td> <td>unsigned char* <a class="link" href="raptor2-section-uri.html#raptor-uri-as-counted-string" title="raptor_uri_as_counted_string ()"><code class="function">raptor_uri_as_counted_string</code></a>(raptor_uri *uri, size_t* len_p)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>unsigned char* raptor_uri_as_string_v2(raptor_world* world, raptor_uri *uri)</td> <td>unsigned char* <a class="link" href="raptor2-section-uri.html#raptor-uri-as-string" title="raptor_uri_as_string ()"><code class="function">raptor_uri_as_string</code></a>(raptor_uri *uri)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_uri_compare_v2(raptor_world* world, raptor_uri* uri1, raptor_uri* uri2)</td> <td>int <a class="link" href="raptor2-section-uri.html#raptor-uri-compare" title="raptor_uri_compare ()"><code class="function">raptor_uri_compare</code></a>(raptor_uri* uri1, raptor_uri* uri2)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_uri* raptor_uri_copy_v2(raptor_world* world, raptor_uri *uri)</td> <td>raptor_uri* <a class="link" href="raptor2-section-uri.html#raptor-uri-copy" title="raptor_uri_copy ()"><code class="function">raptor_uri_copy</code></a>(raptor_uri *uri)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_uri_equals_v2(raptor_world* world, raptor_uri* uri1, raptor_uri* uri2)</td> <td>int <a class="link" href="raptor2-section-uri.html#raptor-uri-equals" title="raptor_uri_equals ()"><code class="function">raptor_uri_equals</code></a>(raptor_uri* uri1, raptor_uri* uri2)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>void raptor_uri_print(const raptor_uri* uri, FILE *stream)</td> <td>int <a class="link" href="raptor2-section-uri.html#raptor-uri-print" title="raptor_uri_print ()"><code class="function">raptor_uri_print</code></a>(const raptor_uri* uri, FILE *stream)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>void raptor_uri_print_v2(raptor_world* world, const raptor_uri* uri, FILE *stream)</td> <td>int <a class="link" href="raptor2-section-uri.html#raptor-uri-print" title="raptor_uri_print ()"><code class="function">raptor_uri_print</code></a>(const raptor_uri* uri, FILE *stream)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>void raptor_uri_resolve_uri_reference(const unsigned char* base_uri, const unsigned char* reference_uri, unsigned char* buffer, size_t length)</td> <td>size_t <a class="link" href="raptor2-section-uri.html#raptor-uri-resolve-uri-reference" title="raptor_uri_resolve_uri_reference ()"><code class="function">raptor_uri_resolve_uri_reference</code></a>(const unsigned char* base_uri, const unsigned char* reference_uri, unsigned char* buffer, size_t length)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>unsigned char* raptor_uri_to_counted_string_v2(raptor_world* world, raptor_uri *uri, size_t *len_p)</td> <td>unsigned char* <a class="link" href="raptor2-section-uri.html#raptor-uri-to-counted-string" title="raptor_uri_to_counted_string ()"><code class="function">raptor_uri_to_counted_string</code></a>(raptor_uri *uri, size_t *len_p)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>unsigned char* raptor_uri_to_relative_counted_uri_string_v2(raptor_world* world, raptor_uri *base_uri, raptor_uri *reference_uri, size_t *length_p)</td> <td>unsigned char* <a class="link" href="raptor2-section-uri.html#raptor-uri-to-relative-counted-uri-string" title="raptor_uri_to_relative_counted_uri_string ()"><code class="function">raptor_uri_to_relative_counted_uri_string</code></a>(raptor_uri *base_uri, raptor_uri *reference_uri, size_t *length_p)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>unsigned char* raptor_uri_to_relative_uri_string_v2(raptor_world* world, raptor_uri *base_uri, raptor_uri *reference_uri)</td> <td>unsigned char* <a class="link" href="raptor2-section-uri.html#raptor-uri-to-relative-uri-string" title="raptor_uri_to_relative_uri_string ()"><code class="function">raptor_uri_to_relative_uri_string</code></a>(raptor_uri *base_uri, raptor_uri *reference_uri)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>unsigned char* raptor_uri_to_string_v2(raptor_world* world, raptor_uri *uri)</td> <td>unsigned char* <a class="link" href="raptor2-section-uri.html#raptor-uri-to-string" title="raptor_uri_to_string ()"><code class="function">raptor_uri_to_string</code></a>(raptor_uri *uri)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_utf8_to_unicode_char(raptor_unichar* output, const unsigned char* input, int length)</td> <td>int <a class="link" href="raptor2-section-unicode.html#raptor-unicode-utf8-string-get-char" title="raptor_unicode_utf8_string_get_char ()"><code class="function">raptor_unicode_utf8_string_get_char</code></a>(const unsigned char* input, size_t length, raptor_unichar* output)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>void raptor_world_set_libxml_flags(raptor_world *world, int flags)</td> <td>int <a class="link" href="raptor2-section-world.html#raptor-world-set-flag" title="raptor_world_set_flag ()"><code class="function">raptor_world_set_flag</code></a>(raptor_world *world, raptor_world_flag flag, int value)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>void raptor_world_set_libxslt_security_preferences(raptor_world *world, void *security_preferences)</td> <td>int <a class="link" href="raptor2-section-world.html#raptor-world-set-libxslt-security-preferences" title="raptor_world_set_libxslt_security_preferences ()"><code class="function">raptor_world_set_libxslt_security_preferences</code></a>(raptor_world *world, void *security_preferences)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_www_fetch_to_string(raptor_www *www, raptor_uri *uri, void **string_p, size_t *length_p, void *(*malloc_handler)(size_t size))</td> <td>int <a class="link" href="raptor2-section-www.html#raptor-www-fetch-to-string" title="raptor_www_fetch_to_string ()"><code class="function">raptor_www_fetch_to_string</code></a>(raptor_www *www, raptor_uri *uri, void **string_p, size_t *length_p, raptor_data_malloc_handler const malloc_handler)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_www* raptor_www_new(void)</td> <td>raptor_www* <a class="link" href="raptor2-section-www.html#raptor-new-www" title="raptor_new_www ()"><code class="function">raptor_new_www</code></a>(raptor_world* world)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_www* raptor_www_new_with_connection(void* connection)</td> <td>raptor_www* <a class="link" href="raptor2-section-www.html#raptor-new-www-with-connection" title="raptor_new_www_with_connection ()"><code class="function">raptor_new_www_with_connection</code></a>(raptor_world* world, void* connection)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_xml_any_escape_string(const unsigned char* string, size_t len, unsigned char* buffer, size_t length, char quote, int xml_version, raptor_simple_message_handler error_handler, void *error_data)</td> <td>int <a class="link" href="raptor2-section-xml.html#raptor-xml-escape-string-any" title="raptor_xml_escape_string_any ()"><code class="function">raptor_xml_escape_string_any</code></a>(raptor_world* world, const unsigned char* string, size_t len, unsigned char* buffer, size_t length, char quote, int xml_version)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_xml_escape_string(const unsigned char* string, size_t len, unsigned char* buffer, size_t length, char quote, raptor_simple_message_handler error_handler, void *error_data)</td> <td>int <a class="link" href="raptor2-section-xml.html#raptor-xml-escape-string" title="raptor_xml_escape_string ()"><code class="function">raptor_xml_escape_string</code></a>(raptor_world *world, const unsigned char* string, size_t len, unsigned char* buffer, size_t length, char quote)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_xml_writer_features_enumerate(const raptor_feature feature, const char* *name, raptor_uri **uri, const char* *label)</td> <td>raptor_option_description* <a class="link" href="raptor2-section-option.html#raptor-world-get-option-description" title="raptor_world_get_option_description ()"><code class="function">raptor_world_get_option_description</code></a>(raptor_world* world, const raptor_domain domain, const raptor_option option)</td> <td>Call with domain = <a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-XML-WRITER:CAPS"><code class="literal">RAPTOR_DOMAIN_XML_WRITER</code></a>
+</td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_xml_writer_features_enumerate_v2(raptor_world* world, const raptor_feature feature, const char* *name, raptor_uri **uri, const char* *label)</td> <td>raptor_option_description* <a class="link" href="raptor2-section-option.html#raptor-world-get-option-description" title="raptor_world_get_option_description ()"><code class="function">raptor_world_get_option_description</code></a>(raptor_world* world, const raptor_domain domain, const raptor_option option)</td> <td>Call with domain = <a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-XML-WRITER:CAPS"><code class="literal">RAPTOR_DOMAIN_XML_WRITER</code></a>
+</td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_xml_writer_get_feature(raptor_xml_writer *xml_writer, raptor_feature feature)</td> <td>int <a class="link" href="raptor2-section-xml.html#raptor-xml-writer-get-option" title="raptor_xml_writer_get_option ()"><code class="function">raptor_xml_writer_get_option</code></a>(raptor_xml_writer *xml_writer, raptor_option option, char** string_p, int* integer_p)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>const unsigned char* raptor_xml_writer_get_feature_string(raptor_xml_writer *xml_writer, raptor_feature feature)</td> <td>const unsigned char* <a class="link" href="raptor2-section-xml.html#raptor-xml-writer-get-option" title="raptor_xml_writer_get_option ()"><code class="function">raptor_xml_writer_get_option</code></a>(raptor_xml_writer *xml_writer, raptor_option option, char** string_p, int* integer_p)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_xml_writer_set_feature(raptor_xml_writer *xml_writer, raptor_feature feature, int value)</td> <td>int <a class="link" href="raptor2-section-xml.html#raptor-xml-writer-set-option" title="raptor_xml_writer_set_option ()"><code class="function">raptor_xml_writer_set_option</code></a>(raptor_xml_writer *xml_writer, raptor_option option, char* string, int integer)</td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>int raptor_xml_writer_set_feature_string(raptor_xml_writer *xml_writer, raptor_feature feature, const unsigned char* value)</td> <td>int <a class="link" href="raptor2-section-xml.html#raptor-xml-writer-set-option" title="raptor_xml_writer_set_option ()"><code class="function">raptor_xml_writer_set_option</code></a>(raptor_xml_writer *xml_writer, raptor_option option, char* string, int integer)</td> <td> </td>
+ </tr>
+</tbody>
+</table></div>
+<div class="table"><table border="1">
+<thead></thead>
+<tbody>
+<tr>
+ <th>1.4.21 type</th>
+ <th>2.0.0 type</th>
+ <th>Notes</th>
+ </tr>
+<tr valign="top">
+ <td>raptor_feature</td> <td><a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="type">raptor_option</span></a></td> <td>And new option <a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-STRICT:CAPS"><code class="literal">RAPTOR_OPTION_STRICT</code></a> added.</td>
+ </tr>
+<tr valign="top">
+ <td>raptor_graph_handler</td> <td><a class="link" href="raptor2-section-parser.html#raptor-graph-mark-handler" title="raptor_graph_mark_handler ()"><span class="type">raptor_graph_mark_handler</span></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_identifier</td> <td><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a></td> <td>Fields changed to be simpler <a class="link" href="raptor2-section-triples.html#raptor-term-type" title="enum raptor_term_type"><span class="type">raptor_term_type</span></a> and <a class="link" href="raptor2-section-triples.html#raptor-term-value" title="raptor_term_value"><span class="type">raptor_term_value</span></a>
+</td>
+ </tr>
+<tr valign="top">
+ <td>raptor_identifier_type</td> <td><a class="link" href="raptor2-section-triples.html#raptor-term-type" title="enum raptor_term_type"><span class="type">raptor_term_type</span></a></td> <td>Removed several enum values to leave just URI, blank and literal types.</td>
+ </tr>
+<tr valign="top">
+ <td>raptor_iostream_handler2</td> <td><a class="link" href="raptor2-section-iostream.html#raptor-iostream-handler" title="raptor_iostream_handler"><span class="type">raptor_iostream_handler</span></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_iostream_write_end_func</td> <td><a class="link" href="raptor2-section-iostream.html#raptor-iostream-write-end-func" title="raptor_iostream_write_end_func ()"><span class="type">raptor_iostream_write_end_func</span></a></td> <td>handler returns an int</td>
+ </tr>
+<tr valign="top">
+ <td>raptor_log_level</td> <td><a class="link" href="raptor2-section-general.html#raptor-log-level" title="enum raptor_log_level"><span class="type">raptor_log_level</span></a></td> <td>Added <a class="link" href="raptor2-section-general.html#RAPTOR-LOG-LEVEL-TRACE:CAPS"><code class="literal">RAPTOR_LOG_LEVEL_TRACE</code></a>, <a class="link" href="raptor2-section-general.html#RAPTOR-LOG-LEVEL-DEBUG:CAPS"><code class="literal">RAPTOR_LOG_LEVEL_DEBUG</code></a>, <a class="link" href="raptor2-section-general.html#RAPTOR-LOG-LEVEL-INFO:CAPS"><code class="literal">RAPTOR_LOG_LEVEL_INFO</code></a>. <code class="literal">RAPTOR_LOG_LEVEL_WARNING</code> renamed <a class="link" href="raptor2-section-general.html#RAPTOR-LOG-LEVEL-WARN:CAPS"><code class="literal">RAPTOR_LOG_LEVEL_WARN</code></a>
+</td>
+ </tr>
+<tr valign="top">
+ <td>raptor_sequence_free_function</td> <td><a class="link" href="raptor2-section-general.html#raptor-data-free-handler" title="raptor_data_free_handler ()"><span class="type">raptor_data_free_handler</span></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_sequence_free_handler_v2</td> <td><a class="link" href="raptor2-section-general.html#raptor-data-context-free-handler" title="raptor_data_context_free_handler ()"><span class="type">raptor_data_context_free_handler</span></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_sequence_print_handler</td> <td><a class="link" href="raptor2-section-general.html#raptor-data-print-handler" title="raptor_data_print_handler ()"><span class="type">raptor_data_print_handler</span></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_sequence_print_handler_v2</td> <td><a class="link" href="raptor2-section-general.html#raptor-data-context-print-handler" title="raptor_data_context_print_handler ()"><span class="type">raptor_data_context_print_handler</span></a></td> <td> </td>
+ </tr>
+<tr valign="top">
+ <td>raptor_simple_message_handler</td> <td><a class="link" href="raptor2-section-general.html#raptor-log-handler" title="raptor_log_handler ()"><span class="type">raptor_log_handler</span></a></td> <td>Replaced by generic raptor log mechanism. See <a class="link" href="raptor2-section-world.html#raptor-world-set-log-handler" title="raptor_world_set_log_handler ()"><code class="function">raptor_world_set_log_handler</code></a>()</td>
+ </tr>
+<tr valign="top">
+ <td>raptor_statement</td> <td><a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a></td> <td>fields changed to use <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a>
+</td>
+ </tr>
+<tr valign="top">
+ <td>raptor_statement_handler</td> <td><a class="link" href="raptor2-section-general.html#raptor-statement-handler" title="raptor_statement_handler ()"><span class="type">raptor_statement_handler</span></a></td> <td>added const</td>
+ </tr>
+<tr valign="top">
+ <td>raptor_statement_v2</td> <td><a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a></td> <td>Fields changed to be a 3 or 4 tuple of <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a>
+</td>
+ </tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-changes-2-0-10-to-2-0-11.html b/docs/html/raptor2-changes-2-0-10-to-2-0-11.html
new file mode 100644
index 0000000..e2c30e4
--- /dev/null
+++ b/docs/html/raptor2-changes-2-0-10-to-2-0-11.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Changes between raptor2 2.0.10 and 2.0.11: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor2-changes.html" title="API Changes">
+<link rel="prev" href="raptor2-changes-2-0-9-to-2-0-10.html" title="Changes between raptor2 2.0.9 and 2.0.10">
+<link rel="next" href="raptor2-changes-2-0-11-to-2-0-12.html" title="Changes between raptor2 2.0.11 and 2.0.12">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor2-changes.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-changes-2-0-9-to-2-0-10.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-changes-2-0-11-to-2-0-12.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="raptor2-changes-2-0-10-to-2-0-11"></a>Changes between raptor2 2.0.10 and 2.0.11</h2></div></div></div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="raptor2-changes-new-2-0-10-to-2-0-11"></a>New functions, types, enums and constants</h3></div></div></div>
+<div class="itemizedlist">
+<p class="title"><b>Functions</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>unsigned char* <a class="link" href="raptor2-section-xml-qname.html#raptor-qname-format-as-xml" title="raptor_qname_format_as_xml ()"><code class="function">raptor_qname_format_as_xml</code></a>(const raptor_qname *qname, size_t *length_p) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-uri.html#raptor-uri-uri-string-is-absolute" title="raptor_uri_uri_string_is_absolute ()"><code class="function">raptor_uri_uri_string_is_absolute</code></a>(const unsigned char* uri_string) </p></li>
+</ul>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-changes-2-0-11-to-2-0-12.html b/docs/html/raptor2-changes-2-0-11-to-2-0-12.html
new file mode 100644
index 0000000..c6744e7
--- /dev/null
+++ b/docs/html/raptor2-changes-2-0-11-to-2-0-12.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Changes between raptor2 2.0.11 and 2.0.12: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor2-changes.html" title="API Changes">
+<link rel="prev" href="raptor2-changes-2-0-10-to-2-0-11.html" title="Changes between raptor2 2.0.10 and 2.0.11">
+<link rel="next" href="raptor2-changes-2-0-13-to-2-0-14.html" title="Changes between raptor2 2.0.13 and 2.0.14">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor2-changes.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-changes-2-0-10-to-2-0-11.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-changes-2-0-13-to-2-0-14.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="raptor2-changes-2-0-11-to-2-0-12"></a>Changes between raptor2 2.0.11 and 2.0.12</h2></div></div></div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="raptor2-changes-new-2-0-11-to-2-0-12"></a>New functions, types, enums and constants</h3></div></div></div>
+<div class="itemizedlist">
+<p class="title"><b>Functions</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>raptor_term* <a class="link" href="raptor2-section-triples.html#raptor-new-term-from-counted-string" title="raptor_new_term_from_counted_string ()"><code class="function">raptor_new_term_from_counted_string</code></a>(raptor_world* world, unsigned char* string, size_t length) </p></li></ul>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-changes-2-0-13-to-2-0-14.html b/docs/html/raptor2-changes-2-0-13-to-2-0-14.html
new file mode 100644
index 0000000..45223da
--- /dev/null
+++ b/docs/html/raptor2-changes-2-0-13-to-2-0-14.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Changes between raptor2 2.0.13 and 2.0.14: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor2-changes.html" title="API Changes">
+<link rel="prev" href="raptor2-changes-2-0-11-to-2-0-12.html" title="Changes between raptor2 2.0.11 and 2.0.12">
+<link rel="next" href="raptor2-changes-2-0-14-to-2-0-15.html" title="Changes between raptor2 2.0.14 and 2.0.15">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor2-changes.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-changes-2-0-11-to-2-0-12.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-changes-2-0-14-to-2-0-15.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="raptor2-changes-2-0-13-to-2-0-14"></a>Changes between raptor2 2.0.13 and 2.0.14</h2></div></div></div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="raptor2-changes-new-2-0-13-to-2-0-14"></a>New functions, types, enums and constants</h3></div></div></div>
+<div class="itemizedlist">
+<p class="title"><b>Functions</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p>unsigned char* <a class="link" href="raptor2-section-uri.html#raptor-uri-counted-filename-to-uri-string" title="raptor_uri_counted_filename_to_uri_string ()"><code class="function">raptor_uri_counted_filename_to_uri_string</code></a>(const char *filename, size_t filename_len) </p></li></ul>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-changes-2-0-14-to-2-0-15.html b/docs/html/raptor2-changes-2-0-14-to-2-0-15.html
new file mode 100644
index 0000000..d3eb0c4
--- /dev/null
+++ b/docs/html/raptor2-changes-2-0-14-to-2-0-15.html
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Changes between raptor2 2.0.14 and 2.0.15: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor2-changes.html" title="API Changes">
+<link rel="prev" href="raptor2-changes-2-0-13-to-2-0-14.html" title="Changes between raptor2 2.0.13 and 2.0.14">
+<link rel="next" href="raptor2-changes-2-0-15-to-2-0-16.html" title="Changes between raptor2 2.0.15 and 2.0.16">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor2-changes.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-changes-2-0-13-to-2-0-14.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-changes-2-0-15-to-2-0-16.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="raptor2-changes-2-0-14-to-2-0-15"></a>Changes between raptor2 2.0.14 and 2.0.15</h2></div></div></div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="raptor2-changes-new-2-0-14-to-2-0-15"></a>New functions, types, enums and constants</h3></div></div></div>
+<div class="itemizedlist">
+<p class="title"><b>Functions</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>void <a class="link" href="raptor2-section-sequence.html#raptor-sequence-sort-r" title="raptor_sequence_sort_r ()"><code class="function">raptor_sequence_sort_r</code></a>(raptor_sequence* seq, raptor_data_compare_arg_handler compare, void* user_data) - Uses <a class="link" href="raptor2-section-general.html#raptor-sort-r" title="raptor_sort_r ()"><code class="function">raptor_sort_r</code></a>() internally.</p></li>
+<li class="listitem"><p>void <a class="link" href="raptor2-section-general.html#raptor-sort-r" title="raptor_sort_r ()"><code class="function">raptor_sort_r</code></a>(void *base, size_t nel, size_t width, raptor_data_compare_arg_handler compar, void *user_data) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-world.html#raptor-world-get-parsers-count" title="raptor_world_get_parsers_count ()"><code class="function">raptor_world_get_parsers_count</code></a>(raptor_world* world) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-world.html#raptor-world-get-serializers-count" title="raptor_world_get_serializers_count ()"><code class="function">raptor_world_get_serializers_count</code></a>(raptor_world* world) </p></li>
+</ul>
+</div>
+<div class="itemizedlist">
+<p class="title"><b>Types</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><a class="link" href="raptor2-section-general.html#raptor-data-compare-arg-handler" title="raptor_data_compare_arg_handler ()"><span class="type">raptor_data_compare_arg_handler</span></a> - Used by <a class="link" href="raptor2-section-general.html#raptor-sort-r" title="raptor_sort_r ()"><code class="function">raptor_sort_r</code></a>()</p></li></ul>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-changes-2-0-15-to-2-0-16.html b/docs/html/raptor2-changes-2-0-15-to-2-0-16.html
new file mode 100644
index 0000000..e223dfd
--- /dev/null
+++ b/docs/html/raptor2-changes-2-0-15-to-2-0-16.html
@@ -0,0 +1,58 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Changes between raptor2 2.0.15 and 2.0.16: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor2-changes.html" title="API Changes">
+<link rel="prev" href="raptor2-changes-2-0-14-to-2-0-15.html" title="Changes between raptor2 2.0.14 and 2.0.15">
+<link rel="next" href="ix01.html" title="Index">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor2-changes.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-changes-2-0-14-to-2-0-15.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="ix01.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="raptor2-changes-2-0-15-to-2-0-16"></a>Changes between raptor2 2.0.15 and 2.0.16</h2></div></div></div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="raptor2-changes-new-2-0-15-to-2-0-16"></a>New functions, types, enums and constants</h3></div></div></div>
+<div class="itemizedlist">
+<p class="title"><b>Functions</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>void <a class="link" href="raptor2-section-avltree.html#raptor-avltree-trim" title="raptor_avltree_trim ()"><code class="function">raptor_avltree_trim</code></a>(raptor_avltree* tree) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-www.html#raptor-www-set-http-accept2" title="raptor_www_set_http_accept2 ()"><code class="function">raptor_www_set_http_accept2</code></a>(raptor_www *www, const char *value, size_t value_len) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-www.html#raptor-www-set-proxy2" title="raptor_www_set_proxy2 ()"><code class="function">raptor_www_set_proxy2</code></a>(raptor_www *www, const char *proxy, size_t proxy_len) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-www.html#raptor-www-set-user-agent2" title="raptor_www_set_user_agent2 ()"><code class="function">raptor_www_set_user_agent2</code></a>(raptor_www *www, const char *user_agent, size_t user_agent_len) </p></li>
+</ul>
+</div>
+<div class="itemizedlist">
+<p class="title"><b>Enums and Constants</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><a class="link" href="raptor2-section-constants.html#raptor-rdf-schema-namespace-uri-len" title="raptor_rdf_schema_namespace_uri_len"><code class="literal">raptor_rdf_schema_namespace_uri_len</code></a> </p></li></ul>
+</div>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="raptor2-changes-deleted-2-0-15-to-2-0-16"></a>Deleted functions, types, enums and constants</h3></div></div></div>
+<div class="itemizedlist">
+<p class="title"><b>Functions</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>raptor_www_set_http_accept - Deprecated for raptor_www_set_http_accept2</p></li>
+<li class="listitem"><p>raptor_www_set_proxy - Deprecated for raptor_www_set_proxy2</p></li>
+<li class="listitem"><p>raptor_www_set_user_agent - Deprecated for raptor_www_set_user_agent2</p></li>
+</ul>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-changes-2-0-3-to-2-0-4.html b/docs/html/raptor2-changes-2-0-3-to-2-0-4.html
new file mode 100644
index 0000000..12d7110
--- /dev/null
+++ b/docs/html/raptor2-changes-2-0-3-to-2-0-4.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Changes between raptor2 2.0.3 and 2.0.4: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor2-changes.html" title="API Changes">
+<link rel="prev" href="raptor2-changes-1-4-21-to-2-0-0.html" title="Changes between raptor2 1.4.21 and 2.0.0">
+<link rel="next" href="raptor2-changes-2-0-4-to-2-0-5.html" title="Changes between raptor2 2.0.4 and 2.0.5">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor2-changes.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-changes-1-4-21-to-2-0-0.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-changes-2-0-4-to-2-0-5.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="raptor2-changes-2-0-3-to-2-0-4"></a>Changes between raptor2 2.0.3 and 2.0.4</h2></div></div></div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="raptor2-changes-new-2-0-3-to-2-0-4"></a>New functions, types, enums and constants</h3></div></div></div>
+<div class="itemizedlist">
+<p class="title"><b>Functions</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>int <a class="link" href="raptor2-section-iostream.html#raptor-bnodeid-ntriples-write" title="raptor_bnodeid_ntriples_write ()"><code class="function">raptor_bnodeid_ntriples_write</code></a>(const unsigned char *bnodeid, size_t len, raptor_iostream *iostr) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-www.html#raptor-www-set-ssl-cert-options" title="raptor_www_set_ssl_cert_options ()"><code class="function">raptor_www_set_ssl_cert_options</code></a>(raptor_www* www, const char* cert_filename, const char* cert_type, const char* cert_passphrase) </p></li>
+</ul>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-changes-2-0-4-to-2-0-5.html b/docs/html/raptor2-changes-2-0-4-to-2-0-5.html
new file mode 100644
index 0000000..3f3e4fe
--- /dev/null
+++ b/docs/html/raptor2-changes-2-0-4-to-2-0-5.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Changes between raptor2 2.0.4 and 2.0.5: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor2-changes.html" title="API Changes">
+<link rel="prev" href="raptor2-changes-2-0-3-to-2-0-4.html" title="Changes between raptor2 2.0.3 and 2.0.4">
+<link rel="next" href="raptor2-changes-2-0-5-to-2-0-6.html" title="Changes between raptor2 2.0.5 and 2.0.6">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor2-changes.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-changes-2-0-3-to-2-0-4.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-changes-2-0-5-to-2-0-6.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="raptor2-changes-2-0-4-to-2-0-5"></a>Changes between raptor2 2.0.4 and 2.0.5</h2></div></div></div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="raptor2-changes-new-2-0-4-to-2-0-5"></a>New functions, types, enums and constants</h3></div></div></div>
+<div class="itemizedlist">
+<p class="title"><b>Functions</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>int <a class="link" href="raptor2-section-general.html#raptor-snprintf" title="raptor_snprintf ()"><code class="function">raptor_snprintf</code></a>(char *buffer, size_t size, const char *format, ...) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-unicode.html#raptor-unicode-utf8-strlen" title="raptor_unicode_utf8_strlen ()"><code class="function">raptor_unicode_utf8_strlen</code></a>(const unsigned char *string, size_t length) </p></li>
+<li class="listitem"><p>size_t <a class="link" href="raptor2-section-unicode.html#raptor-unicode-utf8-substr" title="raptor_unicode_utf8_substr ()"><code class="function">raptor_unicode_utf8_substr</code></a>(unsigned char* dest, size_t* dest_length_p, const unsigned char* src, size_t src_length, int startingLoc, int length) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-general.html#raptor-vasprintf" title="raptor_vasprintf ()"><code class="function">raptor_vasprintf</code></a>(char **ret, const char *format, va_list arguments) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-general.html#raptor-vsnprintf2" title="raptor_vsnprintf2 ()"><code class="function">raptor_vsnprintf2</code></a>(char *buffer, size_t size, const char *format, va_list arguments) - Deprecates <a class="link" href="raptor2-section-general.html#raptor-vsnprintf" title="raptor_vsnprintf ()"><code class="function">raptor_vsnprintf</code></a>()</p></li>
+</ul>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-changes-2-0-5-to-2-0-6.html b/docs/html/raptor2-changes-2-0-5-to-2-0-6.html
new file mode 100644
index 0000000..f9dc725
--- /dev/null
+++ b/docs/html/raptor2-changes-2-0-5-to-2-0-6.html
@@ -0,0 +1,41 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Changes between raptor2 2.0.5 and 2.0.6: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor2-changes.html" title="API Changes">
+<link rel="prev" href="raptor2-changes-2-0-4-to-2-0-5.html" title="Changes between raptor2 2.0.4 and 2.0.5">
+<link rel="next" href="raptor2-changes-2-0-6-to-2-0-7.html" title="Changes between raptor2 2.0.6 and 2.0.7">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor2-changes.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-changes-2-0-4-to-2-0-5.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-changes-2-0-6-to-2-0-7.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="raptor2-changes-2-0-5-to-2-0-6"></a>Changes between raptor2 2.0.5 and 2.0.6</h2></div></div></div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="raptor2-changes-new-2-0-5-to-2-0-6"></a>New functions, types, enums and constants</h3></div></div></div>
+<div class="itemizedlist">
+<p class="title"><b>Functions</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>int <a class="link" href="raptor2-section-sequence.html#raptor-sequence-next-permutation" title="raptor_sequence_next_permutation ()"><code class="function">raptor_sequence_next_permutation</code></a>(raptor_sequence *seq, raptor_data_compare_handler compare) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-sequence.html#raptor-sequence-reverse" title="raptor_sequence_reverse ()"><code class="function">raptor_sequence_reverse</code></a>(raptor_sequence* seq, int start_index, int length) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-sequence.html#raptor-sequence-swap" title="raptor_sequence_swap ()"><code class="function">raptor_sequence_swap</code></a>(raptor_sequence* seq, int i, int j) </p></li>
+</ul>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-changes-2-0-6-to-2-0-7.html b/docs/html/raptor2-changes-2-0-6-to-2-0-7.html
new file mode 100644
index 0000000..7ec966a
--- /dev/null
+++ b/docs/html/raptor2-changes-2-0-6-to-2-0-7.html
@@ -0,0 +1,53 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Changes between raptor2 2.0.6 and 2.0.7: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor2-changes.html" title="API Changes">
+<link rel="prev" href="raptor2-changes-2-0-5-to-2-0-6.html" title="Changes between raptor2 2.0.5 and 2.0.6">
+<link rel="next" href="raptor2-changes-2-0-7-to-2-0-8.html" title="Changes between raptor2 2.0.7 and 2.0.8">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor2-changes.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-changes-2-0-5-to-2-0-6.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-changes-2-0-7-to-2-0-8.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="raptor2-changes-2-0-6-to-2-0-7"></a>Changes between raptor2 2.0.6 and 2.0.7</h2></div></div></div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="raptor2-changes-new-2-0-6-to-2-0-7"></a>New functions, types, enums and constants</h3></div></div></div>
+<div class="itemizedlist">
+<p class="title"><b>Functions</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>raptor_uri* <a class="link" href="raptor2-section-uri.html#raptor-new-uri-from-uri-or-file-string" title="raptor_new_uri_from_uri_or_file_string ()"><code class="function">raptor_new_uri_from_uri_or_file_string</code></a>(raptor_world* world, raptor_uri* base_uri, const unsigned char* uri_or_file_string) </p></li>
+<li class="listitem"><p>void <a class="link" href="raptor2-section-sax2.html#raptor-sax2-set-uri-filter" title="raptor_sax2_set_uri_filter ()"><code class="function">raptor_sax2_set_uri_filter</code></a>(raptor_sax2* sax2, raptor_uri_filter_func filter, void *user_data) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-uri.html#raptor-uri-file-exists" title="raptor_uri_file_exists ()"><code class="function">raptor_uri_file_exists</code></a>(raptor_uri* uri) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-uri.html#raptor-uri-filename-exists" title="raptor_uri_filename_exists ()"><code class="function">raptor_uri_filename_exists</code></a>(const unsigned char* path) </p></li>
+<li class="listitem"><p>char* <a class="link" href="raptor2-section-uri.html#raptor-uri-uri-string-to-counted-filename-fragment" title="raptor_uri_uri_string_to_counted_filename_fragment ()"><code class="function">raptor_uri_uri_string_to_counted_filename_fragment</code></a>(const unsigned char *uri_string, size_t* len_p, unsigned char **fragment_p, size_t* fragment_len_p) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-www.html#raptor-www-set-ssl-verify-options" title="raptor_www_set_ssl_verify_options ()"><code class="function">raptor_www_set_ssl_verify_options</code></a>(raptor_www* www, int verify_peer, int verify_host) </p></li>
+</ul>
+</div>
+<div class="itemizedlist">
+<p class="title"><b>Enums and Constants</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-LOAD-EXTERNAL-ENTITIES:CAPS"><code class="literal">RAPTOR_OPTION_LOAD_EXTERNAL_ENTITIES</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-NO-FILE:CAPS"><code class="literal">RAPTOR_OPTION_NO_FILE</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-WWW-SSL-VERIFY-HOST:CAPS"><code class="literal">RAPTOR_OPTION_WWW_SSL_VERIFY_HOST</code></a> </p></li>
+<li class="listitem"><p><a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-WWW-SSL-VERIFY-PEER:CAPS"><code class="literal">RAPTOR_OPTION_WWW_SSL_VERIFY_PEER</code></a> </p></li>
+</ul>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-changes-2-0-7-to-2-0-8.html b/docs/html/raptor2-changes-2-0-7-to-2-0-8.html
new file mode 100644
index 0000000..c14e764
--- /dev/null
+++ b/docs/html/raptor2-changes-2-0-7-to-2-0-8.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Changes between raptor2 2.0.7 and 2.0.8: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor2-changes.html" title="API Changes">
+<link rel="prev" href="raptor2-changes-2-0-6-to-2-0-7.html" title="Changes between raptor2 2.0.6 and 2.0.7">
+<link rel="next" href="raptor2-changes-2-0-9-to-2-0-10.html" title="Changes between raptor2 2.0.9 and 2.0.10">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor2-changes.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-changes-2-0-6-to-2-0-7.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-changes-2-0-9-to-2-0-10.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="raptor2-changes-2-0-7-to-2-0-8"></a>Changes between raptor2 2.0.7 and 2.0.8</h2></div></div></div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="raptor2-changes-new-2-0-7-to-2-0-8"></a>New functions, types, enums and constants</h3></div></div></div>
+<div class="itemizedlist">
+<p class="title"><b>Functions</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>raptor_uri* <a class="link" href="raptor2-section-uri.html#raptor-new-uri-relative-to-base-counted" title="raptor_new_uri_relative_to_base_counted ()"><code class="function">raptor_new_uri_relative_to_base_counted</code></a>(raptor_world* world, raptor_uri *base_uri, const unsigned char *uri_string, size_t uri_len) </p></li>
+<li class="listitem"><p>unsigned char* <a class="link" href="raptor2-section-triples.html#raptor-term-to-turtle-counted-string" title="raptor_term_to_turtle_counted_string ()"><code class="function">raptor_term_to_turtle_counted_string</code></a>(raptor_term* term, raptor_namespace_stack *nstack, raptor_uri *base_uri, size_t *len_p) </p></li>
+<li class="listitem"><p>unsigned char* <a class="link" href="raptor2-section-triples.html#raptor-term-to-turtle-string" title="raptor_term_to_turtle_string ()"><code class="function">raptor_term_to_turtle_string</code></a>(raptor_term* term, raptor_namespace_stack *nstack, raptor_uri *base_uri) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-triples.html#raptor-term-turtle-write" title="raptor_term_turtle_write ()"><code class="function">raptor_term_turtle_write</code></a>(raptor_iostream* iostr, raptor_term* term, raptor_namespace_stack *nstack, raptor_uri *base_uri) </p></li>
+<li class="listitem"><p>unsigned char* <a class="link" href="raptor2-section-uri.html#raptor-uri-to-turtle-counted-string" title="raptor_uri_to_turtle_counted_string ()"><code class="function">raptor_uri_to_turtle_counted_string</code></a>(raptor_world *world, raptor_uri* uri, raptor_namespace_stack *nstack, raptor_uri *base_uri, size_t *len_p) </p></li>
+<li class="listitem"><p>unsigned char* <a class="link" href="raptor2-section-uri.html#raptor-uri-to-turtle-string" title="raptor_uri_to_turtle_string ()"><code class="function">raptor_uri_to_turtle_string</code></a>(raptor_world *world, raptor_uri* uri, raptor_namespace_stack *nstack, raptor_uri *base_uri) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-uri.html#raptor-uri-turtle-write" title="raptor_uri_turtle_write ()"><code class="function">raptor_uri_turtle_write</code></a>(raptor_world *world, raptor_iostream* iostr, raptor_uri* uri, raptor_namespace_stack *nstack, raptor_uri *base_uri) </p></li>
+</ul>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-changes-2-0-9-to-2-0-10.html b/docs/html/raptor2-changes-2-0-9-to-2-0-10.html
new file mode 100644
index 0000000..e252cd7
--- /dev/null
+++ b/docs/html/raptor2-changes-2-0-9-to-2-0-10.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Changes between raptor2 2.0.9 and 2.0.10: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor2-changes.html" title="API Changes">
+<link rel="prev" href="raptor2-changes-2-0-7-to-2-0-8.html" title="Changes between raptor2 2.0.7 and 2.0.8">
+<link rel="next" href="raptor2-changes-2-0-10-to-2-0-11.html" title="Changes between raptor2 2.0.10 and 2.0.11">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor2-changes.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-changes-2-0-7-to-2-0-8.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-changes-2-0-10-to-2-0-11.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="raptor2-changes-2-0-9-to-2-0-10"></a>Changes between raptor2 2.0.9 and 2.0.10</h2></div></div></div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="raptor2-changes-new-2-0-9-to-2-0-10"></a>New functions, types, enums and constants</h3></div></div></div>
+<div class="itemizedlist">
+<p class="title"><b>Functions</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; ">
+<li class="listitem"><p>int <a class="link" href="raptor2-section-iostream.html#raptor-string-escaped-write" title="raptor_string_escaped_write ()"><code class="function">raptor_string_escaped_write</code></a>(const unsigned char *string, size_t len, const char delim, unsigned int flags, raptor_iostream *iostr) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-iostream.html#raptor-term-escaped-write" title="raptor_term_escaped_write ()"><code class="function">raptor_term_escaped_write</code></a>(const raptor_term *term, unsigned int flags, raptor_iostream* iostr) </p></li>
+<li class="listitem"><p>int <a class="link" href="raptor2-section-iostream.html#raptor-uri-escaped-write" title="raptor_uri_escaped_write ()"><code class="function">raptor_uri_escaped_write</code></a>(raptor_uri* uri, raptor_uri* base_uri, unsigned int flags, raptor_iostream *iostr) </p></li>
+</ul>
+</div>
+<div class="itemizedlist">
+<p class="title"><b>Types</b></p>
+<ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p><a class="link" href="raptor2-section-iostream.html#raptor-escaped-write-bitflags" title="enum raptor_escaped_write_bitflags"><span class="type">raptor_escaped_write_bitflags</span></a> </p></li></ul>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-changes.html b/docs/html/raptor2-changes.html
new file mode 100644
index 0000000..197e317
--- /dev/null
+++ b/docs/html/raptor2-changes.html
@@ -0,0 +1,76 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>API Changes: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor-formats-types-index.html" title="MIME Types Index">
+<link rel="next" href="raptor2-changes-1-4-21-to-2-0-0.html" title="Changes between raptor2 1.4.21 and 2.0.0">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor-formats-types-index.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-changes-1-4-21-to-2-0-0.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="chapter">
+<div class="titlepage"><div><div><h2 class="title">
+<a name="raptor2-changes"></a>API Changes</h2></div></div></div>
+<div class="toc"><dl class="toc">
+<dt><span class="section"><a href="raptor2-changes.html#raptor2-changes-intro">Introduction</a></span></dt>
+<dt><span class="section"><a href="raptor2-changes-1-4-21-to-2-0-0.html">Changes between raptor2 1.4.21 and 2.0.0</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="raptor2-changes-1-4-21-to-2-0-0.html#raptor2-changes-new-1-4-21-to-2-0-0">New functions, types, enums and constants</a></span></dt>
+<dt><span class="section"><a href="raptor2-changes-1-4-21-to-2-0-0.html#raptor2-changes-deleted-1-4-21-to-2-0-0">Deleted functions, types, enums and constants</a></span></dt>
+<dt><span class="section"><a href="raptor2-changes-1-4-21-to-2-0-0.html#raptor2-changes-renamed-1-4-21-to-2-0-0">Renamed functions, enums and constants</a></span></dt>
+<dt><span class="section"><a href="raptor2-changes-1-4-21-to-2-0-0.html#raptor2-changes-changed-1-4-21-to-2-0-0">Changed functions and types</a></span></dt>
+</dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-3-to-2-0-4.html">Changes between raptor2 2.0.3 and 2.0.4</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-3-to-2-0-4.html#raptor2-changes-new-2-0-3-to-2-0-4">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-4-to-2-0-5.html">Changes between raptor2 2.0.4 and 2.0.5</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-4-to-2-0-5.html#raptor2-changes-new-2-0-4-to-2-0-5">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-5-to-2-0-6.html">Changes between raptor2 2.0.5 and 2.0.6</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-5-to-2-0-6.html#raptor2-changes-new-2-0-5-to-2-0-6">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-6-to-2-0-7.html">Changes between raptor2 2.0.6 and 2.0.7</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-6-to-2-0-7.html#raptor2-changes-new-2-0-6-to-2-0-7">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-7-to-2-0-8.html">Changes between raptor2 2.0.7 and 2.0.8</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-7-to-2-0-8.html#raptor2-changes-new-2-0-7-to-2-0-8">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-9-to-2-0-10.html">Changes between raptor2 2.0.9 and 2.0.10</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-9-to-2-0-10.html#raptor2-changes-new-2-0-9-to-2-0-10">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-10-to-2-0-11.html">Changes between raptor2 2.0.10 and 2.0.11</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-10-to-2-0-11.html#raptor2-changes-new-2-0-10-to-2-0-11">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-11-to-2-0-12.html">Changes between raptor2 2.0.11 and 2.0.12</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-11-to-2-0-12.html#raptor2-changes-new-2-0-11-to-2-0-12">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-13-to-2-0-14.html">Changes between raptor2 2.0.13 and 2.0.14</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-13-to-2-0-14.html#raptor2-changes-new-2-0-13-to-2-0-14">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-14-to-2-0-15.html">Changes between raptor2 2.0.14 and 2.0.15</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-14-to-2-0-15.html#raptor2-changes-new-2-0-14-to-2-0-15">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-15-to-2-0-16.html">Changes between raptor2 2.0.15 and 2.0.16</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="raptor2-changes-2-0-15-to-2-0-16.html#raptor2-changes-new-2-0-15-to-2-0-16">New functions, types, enums and constants</a></span></dt>
+<dt><span class="section"><a href="raptor2-changes-2-0-15-to-2-0-16.html#raptor2-changes-deleted-2-0-15-to-2-0-16">Deleted functions, types, enums and constants</a></span></dt>
+</dl></dd>
+</dl></div>
+<p>This chapter describes the API changes for raptor2.
+</p>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="raptor2-changes-intro"></a>Introduction</h2></div></div></div>
+<p>
+The following sections describe the changes in the API between
+versions including additions, deletions, renames (retaining the same
+number of parameters, types and return value type) and more complex
+changes to functions, types, enums and constants.
+</p>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-section-avltree.html b/docs/html/raptor2-section-avltree.html
new file mode 100644
index 0000000..c76017d
--- /dev/null
+++ b/docs/html/raptor2-section-avltree.html
@@ -0,0 +1,799 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>section-avltree: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor2-section-memory.html" title="section-memory">
+<link rel="next" href="raptor2-section-constants.html" title="section-constants">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#raptor2-section-avltree.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-section-memory.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-section-constants.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="raptor2-section-avltree"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="raptor2-section-avltree.top_of_page"></a>section-avltree</span></h2>
+<p>section-avltree</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="raptor2-section-avltree.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-avltree.html#raptor-avltree" title="raptor_avltree"><span class="returnvalue">raptor_avltree</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-avltree.html#raptor-new-avltree" title="raptor_new_avltree ()">raptor_new_avltree</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-avltree.html#raptor-free-avltree" title="raptor_free_avltree ()">raptor_free_avltree</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-avltree.html#raptor-avltree-add" title="raptor_avltree_add ()">raptor_avltree_add</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-avltree.html#raptor-avltree-delete" title="raptor_avltree_delete ()">raptor_avltree_delete</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-avltree.html#raptor-avltree-print" title="raptor_avltree_print ()">raptor_avltree_print</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-avltree.html#raptor-avltree-remove" title="raptor_avltree_remove ()">raptor_avltree_remove</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-avltree.html#raptor-avltree-search" title="raptor_avltree_search ()">raptor_avltree_search</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-avltree.html#raptor-avltree-set-print-handler" title="raptor_avltree_set_print_handler ()">raptor_avltree_set_print_handler</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-avltree.html#raptor-avltree-size" title="raptor_avltree_size ()">raptor_avltree_size</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-avltree.html#raptor-avltree-trim" title="raptor_avltree_trim ()">raptor_avltree_trim</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-avltree.html#raptor-avltree-visit" title="raptor_avltree_visit ()">raptor_avltree_visit</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-avltree.html#raptor-avltree-iterator" title="raptor_avltree_iterator"><span class="returnvalue">raptor_avltree_iterator</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-avltree.html#raptor-new-avltree-iterator" title="raptor_new_avltree_iterator ()">raptor_new_avltree_iterator</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-avltree.html#raptor-free-avltree-iterator" title="raptor_free_avltree_iterator ()">raptor_free_avltree_iterator</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-avltree.html#raptor-avltree-iterator-get" title="raptor_avltree_iterator_get ()">raptor_avltree_iterator_get</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-avltree.html#raptor-avltree-iterator-is-end" title="raptor_avltree_iterator_is_end ()">raptor_avltree_iterator_is_end</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-avltree.html#raptor-avltree-iterator-next" title="raptor_avltree_iterator_next ()">raptor_avltree_iterator_next</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-avltree.html#raptor-avltree-visit-handler" title="raptor_avltree_visit_handler ()">*raptor_avltree_visit_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-avltree.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="other_proto_type">
+<col class="other_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="typedef_keyword">typedef</td>
+<td class="function_name"><a class="link" href="raptor2-section-avltree.html#raptor-avltree" title="raptor_avltree">raptor_avltree</a></td>
+</tr>
+<tr>
+<td class="datatype_keyword">enum</td>
+<td class="function_name"><a class="link" href="raptor2-section-avltree.html#raptor-avltree-bitflags" title="enum raptor_avltree_bitflags">raptor_avltree_bitflags</a></td>
+</tr>
+<tr>
+<td class="typedef_keyword">typedef</td>
+<td class="function_name"><a class="link" href="raptor2-section-avltree.html#raptor-avltree-iterator" title="raptor_avltree_iterator">raptor_avltree_iterator</a></td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-avltree.description"></a><h2>Description</h2>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-avltree.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="raptor-new-avltree"></a><h3>raptor_new_avltree ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-avltree.html#raptor-avltree" title="raptor_avltree"><span class="returnvalue">raptor_avltree</span></a> *
+raptor_new_avltree (<em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-data-compare-handler" title="raptor_data_compare_handler ()"><span class="type">raptor_data_compare_handler</span></a> compare_handler</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-data-free-handler" title="raptor_data_free_handler ()"><span class="type">raptor_data_free_handler</span></a> free_handler</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>);</pre>
+<p>AVL Tree Constructor</p>
+<div class="refsect3">
+<a name="raptor-new-avltree.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>compare_handler</p></td>
+<td class="parameter_description"><p>item comparison handler for ordering</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>free_handler</p></td>
+<td class="parameter_description"><p>item free handler (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>flags</p></td>
+<td class="parameter_description"><p>AVLTree flags - bitmask of <a class="link" href="raptor2-section-avltree.html#raptor-avltree-bitflags" title="enum raptor_avltree_bitflags"><span class="type">raptor_avltree_bitflags</span></a> flags.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-avltree.returns"></a><h4>Returns</h4>
+<p> new AVL Tree or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-free-avltree"></a><h3>raptor_free_avltree ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_free_avltree (<em class="parameter"><code><a class="link" href="raptor2-section-avltree.html#raptor-avltree" title="raptor_avltree"><span class="type">raptor_avltree</span></a> *tree</code></em>);</pre>
+<p>AVL Tree destructor</p>
+<div class="refsect3">
+<a name="raptor-free-avltree.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>tree</p></td>
+<td class="parameter_description"><p>AVLTree object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-avltree-add"></a><h3>raptor_avltree_add ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_avltree_add (<em class="parameter"><code><a class="link" href="raptor2-section-avltree.html#raptor-avltree" title="raptor_avltree"><span class="type">raptor_avltree</span></a> *tree</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *p_data</code></em>);</pre>
+<p>add an item to an AVL Tree</p>
+<p>The item added becomes owned by the AVL Tree, and will be freed by
+the free_handler argument given to <a class="link" href="raptor2-section-avltree.html#raptor-new-avltree" title="raptor_new_avltree ()"><code class="function">raptor_new_avltree()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-avltree-add.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>tree</p></td>
+<td class="parameter_description"><p>AVL Tree object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>p_data</p></td>
+<td class="parameter_description"><p>pointer to data item</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-avltree-add.returns"></a><h4>Returns</h4>
+<p> 0 on success, &gt;0 if equivalent item exists (and the old element remains in the tree), &lt;0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-avltree-delete"></a><h3>raptor_avltree_delete ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_avltree_delete (<em class="parameter"><code><a class="link" href="raptor2-section-avltree.html#raptor-avltree" title="raptor_avltree"><span class="type">raptor_avltree</span></a> *tree</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *p_data</code></em>);</pre>
+<p>Remove an item from an AVL Tree and free it</p>
+<div class="refsect3">
+<a name="raptor-avltree-delete.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>tree</p></td>
+<td class="parameter_description"><p>AVL Tree object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>p_data</p></td>
+<td class="parameter_description"><p>pointer to data item</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-avltree-delete.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-avltree-print"></a><h3>raptor_avltree_print ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_avltree_print (<em class="parameter"><code><a class="link" href="raptor2-section-avltree.html#raptor-avltree" title="raptor_avltree"><span class="type">raptor_avltree</span></a> *tree</code></em>,
+ <em class="parameter"><code><span class="type">FILE</span> *stream</code></em>);</pre>
+<p>Print the items in the tree in order to a stream (for debugging)</p>
+<div class="refsect3">
+<a name="raptor-avltree-print.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>tree</p></td>
+<td class="parameter_description"><p>AVL Tree</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>stream</p></td>
+<td class="parameter_description"><p>stream to print to</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-avltree-print.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-avltree-remove"></a><h3>raptor_avltree_remove ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span> *
+raptor_avltree_remove (<em class="parameter"><code><a class="link" href="raptor2-section-avltree.html#raptor-avltree" title="raptor_avltree"><span class="type">raptor_avltree</span></a> *tree</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *p_data</code></em>);</pre>
+<p>Remove an item from an AVL Tree and return it</p>
+<p>The item removed is no longer owned by the AVL Tree and is
+owned by the caller.</p>
+<div class="refsect3">
+<a name="raptor-avltree-remove.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>tree</p></td>
+<td class="parameter_description"><p>AVL Tree object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>p_data</p></td>
+<td class="parameter_description"><p>pointer to data item</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-avltree-remove.returns"></a><h4>Returns</h4>
+<p> object or NULL on failure or if not found</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-avltree-search"></a><h3>raptor_avltree_search ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span> *
+raptor_avltree_search (<em class="parameter"><code><a class="link" href="raptor2-section-avltree.html#raptor-avltree" title="raptor_avltree"><span class="type">raptor_avltree</span></a> *tree</code></em>,
+ <em class="parameter"><code>const <span class="type">void</span> *p_data</code></em>);</pre>
+<p>Find an item in an AVL Tree</p>
+<div class="refsect3">
+<a name="raptor-avltree-search.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>tree</p></td>
+<td class="parameter_description"><p>AVL Tree object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>p_data</p></td>
+<td class="parameter_description"><p>pointer to data item</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-avltree-search.returns"></a><h4>Returns</h4>
+<p> shared pointer to item (still owned by AVL Tree) or NULL on failure or if not found</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-avltree-set-print-handler"></a><h3>raptor_avltree_set_print_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_avltree_set_print_handler (<em class="parameter"><code><a class="link" href="raptor2-section-avltree.html#raptor-avltree" title="raptor_avltree"><span class="type">raptor_avltree</span></a> *tree</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-data-print-handler" title="raptor_data_print_handler ()"><span class="type">raptor_data_print_handler</span></a> print_handler</code></em>);</pre>
+<p>Set the handler for printing an item in a tree</p>
+<div class="refsect3">
+<a name="raptor-avltree-set-print-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>tree</p></td>
+<td class="parameter_description"><p>AVL Tree object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>print_handler</p></td>
+<td class="parameter_description"><p>print function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-avltree-size"></a><h3>raptor_avltree_size ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_avltree_size (<em class="parameter"><code><a class="link" href="raptor2-section-avltree.html#raptor-avltree" title="raptor_avltree"><span class="type">raptor_avltree</span></a> *tree</code></em>);</pre>
+<p>Get the number of items in the AVL Tree</p>
+<div class="refsect3">
+<a name="raptor-avltree-size.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>tree</p></td>
+<td class="parameter_description"><p>AVL Tree object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-avltree-size.returns"></a><h4>Returns</h4>
+<p> number of items in tree</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-avltree-trim"></a><h3>raptor_avltree_trim ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_avltree_trim (<em class="parameter"><code><a class="link" href="raptor2-section-avltree.html#raptor-avltree" title="raptor_avltree"><span class="type">raptor_avltree</span></a> *tree</code></em>);</pre>
+<p>Delete all nodes from an AVL tree but keep the shell.</p>
+<div class="refsect3">
+<a name="raptor-avltree-trim.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>tree</p></td>
+<td class="parameter_description"><p>AVLTree object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-avltree-visit"></a><h3>raptor_avltree_visit ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_avltree_visit (<em class="parameter"><code><a class="link" href="raptor2-section-avltree.html#raptor-avltree" title="raptor_avltree"><span class="type">raptor_avltree</span></a> *tree</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-avltree.html#raptor-avltree-visit-handler" title="raptor_avltree_visit_handler ()"><span class="type">raptor_avltree_visit_handler</span></a> visit_handler</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
+<p>Perform an in-order visit of the items in the AVL Tree</p>
+<div class="refsect3">
+<a name="raptor-avltree-visit.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>tree</p></td>
+<td class="parameter_description"><p>AVL Tree object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>visit_handler</p></td>
+<td class="parameter_description"><p>visit function to call at each item</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data pointer fo visit function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-avltree-visit.returns"></a><h4>Returns</h4>
+<p> non-0 if traversal was terminated early by <em class="parameter"><code>visit_handler</code></em>
+</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-avltree-iterator"></a><h3>raptor_new_avltree_iterator ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-avltree.html#raptor-avltree-iterator" title="raptor_avltree_iterator"><span class="returnvalue">raptor_avltree_iterator</span></a> *
+raptor_new_avltree_iterator (<em class="parameter"><code><a class="link" href="raptor2-section-avltree.html#raptor-avltree" title="raptor_avltree"><span class="type">raptor_avltree</span></a> *tree</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *range</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-data-free-handler" title="raptor_data_free_handler ()"><span class="type">raptor_data_free_handler</span></a> range_free_handler</code></em>,
+ <em class="parameter"><code><span class="type">int</span> direction</code></em>);</pre>
+<p>Get an in-order iterator for the start of a range, or the entire contents</p>
+<p>If range is NULL, the entire tree is walked in order. If range
+specifies a range (i.e. the tree comparison function will 'match'
+(return 0 for) range and /several/ nodes), the iterator will be
+placed at the leftmost child matching range, and
+raptor_avltree_iterator_next will iterate over all nodes (and only
+nodes) that match range.</p>
+<div class="refsect3">
+<a name="raptor-new-avltree-iterator.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>tree</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-avltree.html#raptor-avltree" title="raptor_avltree"><span class="type">raptor_avltree</span></a> object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>range</p></td>
+<td class="parameter_description"><p>range</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>range_free_handler</p></td>
+<td class="parameter_description"><p>function to free <em class="parameter"><code>range</code></em>
+object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>direction</p></td>
+<td class="parameter_description"><p>&lt;0 to go 'backwards' otherwise 'forwards'</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-avltree-iterator.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-avltree.html#raptor-avltree-iterator" title="raptor_avltree_iterator"><span class="type">raptor_avltree_iterator</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-free-avltree-iterator"></a><h3>raptor_free_avltree_iterator ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_free_avltree_iterator (<em class="parameter"><code><a class="link" href="raptor2-section-avltree.html#raptor-avltree-iterator" title="raptor_avltree_iterator"><span class="type">raptor_avltree_iterator</span></a> *iterator</code></em>);</pre>
+<p>AVL Tree Iterator destructor</p>
+<div class="refsect3">
+<a name="raptor-free-avltree-iterator.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>iterator</p></td>
+<td class="parameter_description"><p>AVL Tree iterator object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-avltree-iterator-get"></a><h3>raptor_avltree_iterator_get ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span> *
+raptor_avltree_iterator_get (<em class="parameter"><code><a class="link" href="raptor2-section-avltree.html#raptor-avltree-iterator" title="raptor_avltree_iterator"><span class="type">raptor_avltree_iterator</span></a> *iterator</code></em>);</pre>
+<p>Get current iteration object</p>
+<div class="refsect3">
+<a name="raptor-avltree-iterator-get.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>iterator</p></td>
+<td class="parameter_description"><p>AVL Tree iterator object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-avltree-iterator-get.returns"></a><h4>Returns</h4>
+<p> object or NULL if iteration is finished</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-avltree-iterator-is-end"></a><h3>raptor_avltree_iterator_is_end ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_avltree_iterator_is_end (<em class="parameter"><code><a class="link" href="raptor2-section-avltree.html#raptor-avltree-iterator" title="raptor_avltree_iterator"><span class="type">raptor_avltree_iterator</span></a> *iterator</code></em>);</pre>
+<p>Test if an iteration is finished</p>
+<div class="refsect3">
+<a name="raptor-avltree-iterator-is-end.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>iterator</p></td>
+<td class="parameter_description"><p>AVL Tree iterator object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-avltree-iterator-is-end.returns"></a><h4>Returns</h4>
+<p> non-0 if iteration is finished</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-avltree-iterator-next"></a><h3>raptor_avltree_iterator_next ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_avltree_iterator_next (<em class="parameter"><code><a class="link" href="raptor2-section-avltree.html#raptor-avltree-iterator" title="raptor_avltree_iterator"><span class="type">raptor_avltree_iterator</span></a> *iterator</code></em>);</pre>
+<p>Move iteration to next/prev object</p>
+<div class="refsect3">
+<a name="raptor-avltree-iterator-next.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>iterator</p></td>
+<td class="parameter_description"><p>AVL Tree iterator object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-avltree-iterator-next.returns"></a><h4>Returns</h4>
+<p> non-0 if iteration is finished</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-avltree-visit-handler"></a><h3>raptor_avltree_visit_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+<span class="c_punctuation">(</span>*raptor_avltree_visit_handler<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">int</span> depth</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *data</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
+<p>AVL Tree visitor function as given to <a class="link" href="raptor2-section-avltree.html#raptor-avltree-visit" title="raptor_avltree_visit ()"><code class="function">raptor_avltree_visit()</code></a></p>
+<div class="refsect3">
+<a name="raptor-avltree-visit-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>depth</p></td>
+<td class="parameter_description"><p>depth of object in tree</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>data</p></td>
+<td class="parameter_description"><p>data object being visited</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data arg to <a class="link" href="raptor2-section-avltree.html#raptor-avltree-visit" title="raptor_avltree_visit ()"><code class="function">raptor_avltree_visit()</code></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-avltree-visit-handler.returns"></a><h4>Returns</h4>
+<p> non-0 to terminate visit early.</p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-avltree.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="raptor-avltree"></a><h3>raptor_avltree</h3>
+<pre class="programlisting">typedef struct raptor_avltree_s raptor_avltree;
+</pre>
+<p>AVL Tree</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-avltree-bitflags"></a><h3>enum raptor_avltree_bitflags</h3>
+<p>Bit flags for AVL Tree class constructor <a class="link" href="raptor2-section-avltree.html#raptor-new-avltree" title="raptor_new_avltree ()"><code class="function">raptor_new_avltree()</code></a></p>
+<div class="refsect3">
+<a name="raptor-avltree-bitflags.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="enum_members_name">
+<col class="enum_members_description">
+<col width="200px" class="enum_members_annotations">
+</colgroup>
+<tbody><tr>
+<td class="enum_member_name"><p><a name="RAPTOR-AVLTREE-FLAG-REPLACE-DUPLICATES:CAPS"></a>RAPTOR_AVLTREE_FLAG_REPLACE_DUPLICATES</p></td>
+<td class="enum_member_description">
+<p>If set <a class="link" href="raptor2-section-avltree.html#raptor-avltree-add" title="raptor_avltree_add ()"><code class="function">raptor_avltree_add()</code></a> will replace any duplicate items. If not set, <a class="link" href="raptor2-section-avltree.html#raptor-avltree-add" title="raptor_avltree_add ()"><code class="function">raptor_avltree_add()</code></a> will not replace them and will return status &gt;0 when adding a duplicate. (Default is not set)</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-avltree-iterator"></a><h3>raptor_avltree_iterator</h3>
+<pre class="programlisting">typedef struct raptor_avltree_iterator_s raptor_avltree_iterator;
+</pre>
+<p>AVL Tree Iterator as created by <a class="link" href="raptor2-section-avltree.html#raptor-new-avltree-iterator" title="raptor_new_avltree_iterator ()"><code class="function">raptor_new_avltree_iterator()</code></a></p>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-section-constants.html b/docs/html/raptor2-section-constants.html
new file mode 100644
index 0000000..460e8ca
--- /dev/null
+++ b/docs/html/raptor2-section-constants.html
@@ -0,0 +1,138 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>section-constants: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor2-section-avltree.html" title="section-avltree">
+<link rel="next" href="raptor2-section-option.html" title="section-option">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#raptor2-section-constants.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-section-avltree.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-section-option.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="raptor2-section-constants"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="raptor2-section-constants.top_of_page"></a>section-constants</span></h2>
+<p>section-constants</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="raptor2-section-constants.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="other_proto_type">
+<col class="other_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="variable_type">extern const unsigned int </td>
+<td class="function_name"><a class="link" href="raptor2-section-constants.html#raptor-rdf-namespace-uri-len" title="raptor_rdf_namespace_uri_len">raptor_rdf_namespace_uri_len</a></td>
+</tr>
+<tr>
+<td class="variable_type">extern const unsigned int </td>
+<td class="function_name"><a class="link" href="raptor2-section-constants.html#raptor-rdf-schema-namespace-uri-len" title="raptor_rdf_schema_namespace_uri_len">raptor_rdf_schema_namespace_uri_len</a></td>
+</tr>
+<tr>
+<td class="variable_type">extern const unsigned int </td>
+<td class="function_name"><a class="link" href="raptor2-section-constants.html#raptor-xml-literal-datatype-uri-string-len" title="raptor_xml_literal_datatype_uri_string_len">raptor_xml_literal_datatype_uri_string_len</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="raptor2-section-constants.html#RAPTOR-RDF-MS-URI:CAPS" title="RAPTOR_RDF_MS_URI">RAPTOR_RDF_MS_URI</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="raptor2-section-constants.html#RAPTOR-RDF-SCHEMA-URI:CAPS" title="RAPTOR_RDF_SCHEMA_URI">RAPTOR_RDF_SCHEMA_URI</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="raptor2-section-constants.html#RAPTOR-XMLSCHEMA-DATATYPES-URI:CAPS" title="RAPTOR_XMLSCHEMA_DATATYPES_URI">RAPTOR_XMLSCHEMA_DATATYPES_URI</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="raptor2-section-constants.html#RAPTOR-OWL-URI:CAPS" title="RAPTOR_OWL_URI">RAPTOR_OWL_URI</a></td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-constants.description"></a><h2>Description</h2>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-constants.functions_details"></a><h2>Functions</h2>
+<p></p>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-constants.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="raptor-rdf-namespace-uri-len"></a><h3>raptor_rdf_namespace_uri_len</h3>
+<pre class="programlisting">extern const unsigned int raptor_rdf_namespace_uri_len;
+</pre>
+<p>Length of <a class="link" href="raptor2-section-general.html#raptor-rdf-namespace-uri" title="raptor_rdf_namespace_uri"><span class="type">raptor_rdf_namespace_uri</span></a> string</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-rdf-schema-namespace-uri-len"></a><h3>raptor_rdf_schema_namespace_uri_len</h3>
+<pre class="programlisting">extern const unsigned int raptor_rdf_schema_namespace_uri_len;
+</pre>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-literal-datatype-uri-string-len"></a><h3>raptor_xml_literal_datatype_uri_string_len</h3>
+<pre class="programlisting">extern const unsigned int raptor_xml_literal_datatype_uri_string_len;
+</pre>
+<p>Length of <a class="link" href="raptor2-section-general.html#raptor-xml-literal-datatype-uri-string" title="raptor_xml_literal_datatype_uri_string"><span class="type">raptor_xml_literal_datatype_uri_string</span></a></p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="RAPTOR-RDF-MS-URI:CAPS"></a><h3>RAPTOR_RDF_MS_URI</h3>
+<pre class="programlisting">#define RAPTOR_RDF_MS_URI raptor_rdf_namespace_uri
+</pre>
+<p>RDF Namespace URI (rdf:).</p>
+<p>Copy with <a class="link" href="raptor2-section-uri.html#raptor-uri-copy" title="raptor_uri_copy ()"><code class="function">raptor_uri_copy()</code></a> to use.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="RAPTOR-RDF-SCHEMA-URI:CAPS"></a><h3>RAPTOR_RDF_SCHEMA_URI</h3>
+<pre class="programlisting">#define RAPTOR_RDF_SCHEMA_URI raptor_rdf_schema_namespace_uri
+</pre>
+<p>RDF Schema Namespace URI (rdfs:).</p>
+<p>Copy with <a class="link" href="raptor2-section-uri.html#raptor-uri-copy" title="raptor_uri_copy ()"><code class="function">raptor_uri_copy()</code></a> to use.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="RAPTOR-XMLSCHEMA-DATATYPES-URI:CAPS"></a><h3>RAPTOR_XMLSCHEMA_DATATYPES_URI</h3>
+<pre class="programlisting">#define RAPTOR_XMLSCHEMA_DATATYPES_URI raptor_xmlschema_datatypes_namespace_uri
+</pre>
+<p>XML Schema Datatypes URI (xsd:).</p>
+<p>Copy with <a class="link" href="raptor2-section-uri.html#raptor-uri-copy" title="raptor_uri_copy ()"><code class="function">raptor_uri_copy()</code></a> to use.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="RAPTOR-OWL-URI:CAPS"></a><h3>RAPTOR_OWL_URI</h3>
+<pre class="programlisting">#define RAPTOR_OWL_URI raptor_owl_namespace_uri
+</pre>
+<p>OWL Namespace URI (owl:).</p>
+<p>Copy with <a class="link" href="raptor2-section-uri.html#raptor-uri-copy" title="raptor_uri_copy ()"><code class="function">raptor_uri_copy()</code></a> to use.</p>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-section-general.html b/docs/html/raptor2-section-general.html
new file mode 100644
index 0000000..8903e5d
--- /dev/null
+++ b/docs/html/raptor2-section-general.html
@@ -0,0 +1,1496 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>section-general: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor2-section-world.html" title="section-world">
+<link rel="next" href="raptor2-section-memory.html" title="section-memory">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#raptor2-section-general.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-section-world.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-section-memory.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="raptor2-section-general"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="raptor2-section-general.top_of_page"></a>section-general</span></h2>
+<p>section-general</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="raptor2-section-general.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-general.html#raptor-statement-handler" title="raptor_statement_handler ()">*raptor_statement_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-general.html#raptor-snprintf" title="raptor_snprintf ()">raptor_snprintf</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-general.html#raptor-vasprintf" title="raptor_vasprintf ()">raptor_vasprintf</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-general.html#raptor-vsnprintf" title="raptor_vsnprintf ()">raptor_vsnprintf</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-general.html#raptor-vsnprintf2" title="raptor_vsnprintf2 ()">raptor_vsnprintf2</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-general.html#raptor-sort-r" title="raptor_sort_r ()">raptor_sort_r</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-general.html#raptor-log-handler" title="raptor_log_handler ()">*raptor_log_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-general.html#raptor-log-level-get-label" title="raptor_log_level_get_label ()">raptor_log_level_get_label</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-general.html#raptor-domain-get-label" title="raptor_domain_get_label ()">raptor_domain_get_label</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-general.html#raptor-data-compare-handler" title="raptor_data_compare_handler ()">*raptor_data_compare_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-general.html#raptor-data-compare-arg-handler" title="raptor_data_compare_arg_handler ()">*raptor_data_compare_arg_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-general.html#raptor-data-context-free-handler" title="raptor_data_context_free_handler ()">*raptor_data_context_free_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-general.html#raptor-data-context-print-handler" title="raptor_data_context_print_handler ()">*raptor_data_context_print_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-general.html#raptor-data-free-handler" title="raptor_data_free_handler ()">*raptor_data_free_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span> *
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-general.html#raptor-data-malloc-handler" title="raptor_data_malloc_handler ()">*raptor_data_malloc_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-general.html#raptor-data-print-handler" title="raptor_data_print_handler ()">*raptor_data_print_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-general.html#raptor-generate-bnodeid-handler" title="raptor_generate_bnodeid_handler ()">*raptor_generate_bnodeid_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-general.html#raptor-syntax-description-validate" title="raptor_syntax_description_validate ()">raptor_syntax_description_validate</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-general.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="other_proto_type">
+<col class="other_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#RAPTOR-VERSION:CAPS" title="RAPTOR_VERSION">RAPTOR_VERSION</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#RAPTOR-VERSION-MAJOR:CAPS" title="RAPTOR_VERSION_MAJOR">RAPTOR_VERSION_MAJOR</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#RAPTOR-VERSION-MINOR:CAPS" title="RAPTOR_VERSION_MINOR">RAPTOR_VERSION_MINOR</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#RAPTOR-VERSION-RELEASE:CAPS" title="RAPTOR_VERSION_RELEASE">RAPTOR_VERSION_RELEASE</a></td>
+</tr>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#RAPTOR-VERSION-STRING:CAPS" title="RAPTOR_VERSION_STRING">RAPTOR_VERSION_STRING</a></td>
+</tr>
+<tr>
+<td class="variable_type">extern const unsigned int </td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-version-major" title="raptor_version_major">raptor_version_major</a></td>
+</tr>
+<tr>
+<td class="variable_type">extern const unsigned int </td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-version-minor" title="raptor_version_minor">raptor_version_minor</a></td>
+</tr>
+<tr>
+<td class="variable_type">extern const unsigned int </td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-version-release" title="raptor_version_release">raptor_version_release</a></td>
+</tr>
+<tr>
+<td class="variable_type">extern const unsigned int </td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-version-decimal" title="raptor_version_decimal">raptor_version_decimal</a></td>
+</tr>
+<tr>
+<td class="variable_type">extern const char * const </td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-copyright-string" title="raptor_copyright_string">raptor_copyright_string</a></td>
+</tr>
+<tr>
+<td class="variable_type">extern const char * const </td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-home-url-string" title="raptor_home_url_string">raptor_home_url_string</a></td>
+</tr>
+<tr>
+<td class="variable_type">extern const char * const </td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-license-string" title="raptor_license_string">raptor_license_string</a></td>
+</tr>
+<tr>
+<td class="variable_type">extern const char * const </td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-short-copyright-string" title="raptor_short_copyright_string">raptor_short_copyright_string</a></td>
+</tr>
+<tr>
+<td class="variable_type">extern const char * const </td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-version-string" title="raptor_version_string">raptor_version_string</a></td>
+</tr>
+<tr>
+<td class="variable_type">extern const unsigned char * const </td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-owl-namespace-uri" title="raptor_owl_namespace_uri">raptor_owl_namespace_uri</a></td>
+</tr>
+<tr>
+<td class="variable_type">extern const unsigned char * const </td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-rdf-namespace-uri" title="raptor_rdf_namespace_uri">raptor_rdf_namespace_uri</a></td>
+</tr>
+<tr>
+<td class="variable_type">extern const unsigned char * const </td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-rdf-schema-namespace-uri" title="raptor_rdf_schema_namespace_uri">raptor_rdf_schema_namespace_uri</a></td>
+</tr>
+<tr>
+<td class="variable_type">extern const unsigned char * const </td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-xml-literal-datatype-uri-string" title="raptor_xml_literal_datatype_uri_string">raptor_xml_literal_datatype_uri_string</a></td>
+</tr>
+<tr>
+<td class="variable_type">extern const unsigned char * const </td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-xml-namespace-uri" title="raptor_xml_namespace_uri">raptor_xml_namespace_uri</a></td>
+</tr>
+<tr>
+<td class="variable_type">extern const unsigned char * const </td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-xmlschema-datatypes-namespace-uri" title="raptor_xmlschema_datatypes_namespace_uri">raptor_xmlschema_datatypes_namespace_uri</a></td>
+</tr>
+<tr>
+<td class="datatype_keyword"> </td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-log-message" title="raptor_log_message">raptor_log_message</a></td>
+</tr>
+<tr>
+<td class="datatype_keyword">enum</td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-log-level" title="enum raptor_log_level">raptor_log_level</a></td>
+</tr>
+<tr>
+<td class="datatype_keyword">enum</td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-domain" title="enum raptor_domain">raptor_domain</a></td>
+</tr>
+<tr>
+<td class="datatype_keyword">enum</td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-syntax-bitflags" title="enum raptor_syntax_bitflags">raptor_syntax_bitflags</a></td>
+</tr>
+<tr>
+<td class="datatype_keyword"> </td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-syntax-description" title="raptor_syntax_description">raptor_syntax_description</a></td>
+</tr>
+<tr>
+<td class="datatype_keyword"> </td>
+<td class="function_name"><a class="link" href="raptor2-section-general.html#raptor-type-q" title="raptor_type_q">raptor_type_q</a></td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-general.description"></a><h2>Description</h2>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-general.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="raptor-statement-handler"></a><h3>raptor_statement_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+<span class="c_punctuation">(</span>*raptor_statement_handler<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> *statement</code></em>);</pre>
+<p>Statement (triple) reporting handler function.</p>
+<p>This handler function set with
+<a class="link" href="raptor2-section-parser.html#raptor-parser-set-statement-handler" title="raptor_parser_set_statement_handler ()"><code class="function">raptor_parser_set_statement_handler()</code></a> on a parser receives
+statements as the parsing proceeds. The <em class="parameter"><code>statement</code></em>
+ argument to the
+handler is shared and must be copied by the caller with
+<a class="link" href="raptor2-section-triples.html#raptor-statement-copy" title="raptor_statement_copy ()"><code class="function">raptor_statement_copy()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-statement-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>statement</p></td>
+<td class="parameter_description"><p>statement to report</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-snprintf"></a><h3>raptor_snprintf ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_snprintf (<em class="parameter"><code><span class="type">char</span> *buffer</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> size</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
+ <em class="parameter"><code>...</code></em>);</pre>
+<p>Format output into an allocated sized buffer</p>
+<p>This provides a portable version <code class="function">snprintf()</code> over variants on
+different systems.</p>
+<p>If <em class="parameter"><code>buffer</code></em>
+ is NULL, calculates the number of bytes needed to
+allocate for buffer and do no formatting.</p>
+<div class="refsect3">
+<a name="raptor-snprintf.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>buffer</p></td>
+<td class="parameter_description"><p>buffer (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>size</p></td>
+<td class="parameter_description"><p>bufer size (or 0)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>format</p></td>
+<td class="parameter_description"><p>printf-style format string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>...</p></td>
+<td class="parameter_description"><p>format arguments</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-snprintf.returns"></a><h4>Returns</h4>
+<p> number of bytes allocated (excluding NUL) or 0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-vasprintf"></a><h3>raptor_vasprintf ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_vasprintf (<em class="parameter"><code><span class="type">char</span> **ret</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
+ <em class="parameter"><code><span class="type">va_list</span> arguments</code></em>);</pre>
+<p>Format output into a new buffer and return it</p>
+<p>This is a wrapper around the (GNU) vasprintf function that is not
+always avaiable.</p>
+<div class="refsect3">
+<a name="raptor-vasprintf.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>ret</p></td>
+<td class="parameter_description"><p>pointer to store buffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>format</p></td>
+<td class="parameter_description"><p>printf-style format string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>arguments</p></td>
+<td class="parameter_description"><p>format arguments list</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-vasprintf.returns"></a><h4>Returns</h4>
+<p> number of bytes allocated (excluding NUL) or &lt; 0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-vsnprintf"></a><h3>raptor_vsnprintf ()</h3>
+<pre class="programlisting"><span class="returnvalue">char</span> *
+raptor_vsnprintf (<em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
+ <em class="parameter"><code><span class="type">va_list</span> arguments</code></em>);</pre>
+<div class="warning"><p><code class="literal">raptor_vsnprintf</code> is deprecated and should not be used in newly-written code.</p></div>
+<p>Format output for a variable arguments list into a newly allocated buffer</p>
+<p><em class="parameter"><code>Deprecated</code></em>
+: This does not actually conform to vsnprintf's calling
+convention and does not return the allocated buffer length. Use
+<a class="link" href="raptor2-section-general.html#raptor-vsnprintf2" title="raptor_vsnprintf2 ()"><code class="function">raptor_vsnprintf2()</code></a> or <a class="link" href="raptor2-section-general.html#raptor-vasprintf" title="raptor_vasprintf ()"><code class="function">raptor_vasprintf()</code></a> instead.</p>
+<div class="refsect3">
+<a name="raptor-vsnprintf.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>format</p></td>
+<td class="parameter_description"><p>printf-style format string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>arguments</p></td>
+<td class="parameter_description"><p>variable arguments list</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-vsnprintf.returns"></a><h4>Returns</h4>
+<p> a newly allocated string as the formatted result or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-vsnprintf2"></a><h3>raptor_vsnprintf2 ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_vsnprintf2 (<em class="parameter"><code><span class="type">char</span> *buffer</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> size</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *format</code></em>,
+ <em class="parameter"><code><span class="type">va_list</span> arguments</code></em>);</pre>
+<p>Format output for a variable arguments list into an allocated sized buffer.</p>
+<p>This is a wrapper around system versions of vsnprintf with
+different call and return conventions.</p>
+<p>If <em class="parameter"><code>buffer</code></em>
+ is NULL or size is 0 or the buffer size is too small,
+returns the number of bytes that would be needed for buffer</p>
+<div class="refsect3">
+<a name="raptor-vsnprintf2.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>buffer</p></td>
+<td class="parameter_description"><p>buffer (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>size</p></td>
+<td class="parameter_description"><p>size of buffer (or 0)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>format</p></td>
+<td class="parameter_description"><p>printf-style format string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>arguments</p></td>
+<td class="parameter_description"><p>variable arguments list</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-vsnprintf2.returns"></a><h4>Returns</h4>
+<p> number of bytes allocated (excluding NUL) or &lt;0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sort-r"></a><h3>raptor_sort_r ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_sort_r (<em class="parameter"><code><span class="type">void</span> *base</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> nel</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> width</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-data-compare-arg-handler" title="raptor_data_compare_arg_handler ()"><span class="type">raptor_data_compare_arg_handler</span></a> compar</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
+<p>Sort an array with an extra user data arg for the comparison funciton.</p>
+<p>Sorts data at <em class="parameter"><code>base</code></em>
+ of <em class="parameter"><code>nel</code></em>
+ elememnts of width <em class="parameter"><code>width</code></em>
+ using
+comparison function <em class="parameter"><code>comp</code></em>
+ that takes args (void* data1, void*
+data2, <em class="parameter"><code>user_data</code></em>
+) and returns &lt;0, 0, or &gt;0 for object comparison.</p>
+<div class="refsect3">
+<a name="raptor-sort-r.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>base</p></td>
+<td class="parameter_description"><p>the array to be sorted</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>nel</p></td>
+<td class="parameter_description"><p>the number of elements in the array</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>width</p></td>
+<td class="parameter_description"><p>the size in bytes of each element of the array</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>compar</p></td>
+<td class="parameter_description"><p>comparison function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>a pointer to be passed to the comparison function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-log-handler"></a><h3>raptor_log_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+<span class="c_punctuation">(</span>*raptor_log_handler<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-log-message" title="raptor_log_message"><span class="type">raptor_log_message</span></a> *message</code></em>);</pre>
+<p>Handler function for log messages with location</p>
+<p>Used during parsing and serializing for errors and warnings that
+may include location information. Handlers may be set
+by <a class="link" href="raptor2-section-world.html#raptor-world-set-log-handler" title="raptor_world_set_log_handler ()"><code class="function">raptor_world_set_log_handler()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-log-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>message</p></td>
+<td class="parameter_description"><p>log message</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-log-level-get-label"></a><h3>raptor_log_level_get_label ()</h3>
+<pre class="programlisting">const <span class="returnvalue">char</span> *
+raptor_log_level_get_label (<em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-log-level" title="enum raptor_log_level"><span class="type">raptor_log_level</span></a> level</code></em>);</pre>
+<p>Get label for a log message level</p>
+<div class="refsect3">
+<a name="raptor-log-level-get-label.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>level</p></td>
+<td class="parameter_description"><p>log message level</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-log-level-get-label.returns"></a><h4>Returns</h4>
+<p> label string or NULL if level is not valid</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-domain-get-label"></a><h3>raptor_domain_get_label ()</h3>
+<pre class="programlisting">const <span class="returnvalue">char</span> *
+raptor_domain_get_label (<em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-domain" title="enum raptor_domain"><span class="type">raptor_domain</span></a> domain</code></em>);</pre>
+<p>Get label for a domain</p>
+<div class="refsect3">
+<a name="raptor-domain-get-label.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>domain</p></td>
+<td class="parameter_description"><p>domain</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-domain-get-label.returns"></a><h4>Returns</h4>
+<p> label string or NULL if domain is not valid</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-data-compare-handler"></a><h3>raptor_data_compare_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+<span class="c_punctuation">(</span>*raptor_data_compare_handler<span class="c_punctuation">)</span> (<em class="parameter"><code>const <span class="type">void</span> *data1</code></em>,
+ <em class="parameter"><code>const <span class="type">void</span> *data2</code></em>);</pre>
+<p>Function to compare two data objects - signature like <code class="function">strcmp()</code> and function pssed to <code class="function">qsort()</code></p>
+<p>Designed to be passed into generic data structure constructors
+like <a class="link" href="raptor2-section-avltree.html#raptor-new-avltree" title="raptor_new_avltree ()"><code class="function">raptor_new_avltree()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-data-compare-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>data1</p></td>
+<td class="parameter_description"><p>first data object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>data2</p></td>
+<td class="parameter_description"><p>second data object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-data-compare-handler.returns"></a><h4>Returns</h4>
+<p> compare value &lt;0 if <em class="parameter"><code>data1</code></em>
+is before <em class="parameter"><code>data2</code></em>
+, =0 if equal, &gt;0 if <em class="parameter"><code>data1</code></em>
+is after <em class="parameter"><code>data2</code></em>
+</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-data-compare-arg-handler"></a><h3>raptor_data_compare_arg_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+<span class="c_punctuation">(</span>*raptor_data_compare_arg_handler<span class="c_punctuation">)</span> (<em class="parameter"><code>const <span class="type">void</span> *data1</code></em>,
+ <em class="parameter"><code>const <span class="type">void</span> *data2</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
+<p>Function to compare two data objects with a user data argument</p>
+<p>Designed to be used with <a class="link" href="raptor2-section-general.html#raptor-sort-r" title="raptor_sort_r ()"><code class="function">raptor_sort_r()</code></a> and compatible functions
+such as <a class="link" href="raptor2-section-sequence.html#raptor-sequence-sort-r" title="raptor_sequence_sort_r ()"><code class="function">raptor_sequence_sort_r()</code></a> which uses it.</p>
+<div class="refsect3">
+<a name="raptor-data-compare-arg-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>data1</p></td>
+<td class="parameter_description"><p>first object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>data2</p></td>
+<td class="parameter_description"><p>second object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data argument</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-data-compare-arg-handler.returns"></a><h4>Returns</h4>
+<p> compare value &lt;0 if <em class="parameter"><code>data1</code></em>
+is before <em class="parameter"><code>data2</code></em>
+, =0 if equal, &gt;0 if <em class="parameter"><code>data1</code></em>
+is after <em class="parameter"><code>data2</code></em>
+</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-data-context-free-handler"></a><h3>raptor_data_context_free_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+<span class="c_punctuation">(</span>*raptor_data_context_free_handler<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *context</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *object</code></em>);</pre>
+<p>Handler function for freeing a sequence item with a contextual pointer.</p>
+<p>Set by <a class="link" href="raptor2-section-sequence.html#raptor-new-sequence-with-context" title="raptor_new_sequence_with_context ()"><code class="function">raptor_new_sequence_with_context()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-data-context-free-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>context</p></td>
+<td class="parameter_description"><p>context data for the free function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>object</p></td>
+<td class="parameter_description"><p>object to free</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-data-context-print-handler"></a><h3>raptor_data_context_print_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+<span class="c_punctuation">(</span>*raptor_data_context_print_handler<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *context</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *object</code></em>,
+ <em class="parameter"><code><span class="type">FILE</span> *fh</code></em>);</pre>
+<p>Function function for printing an object with data context to a stream.</p>
+<p>Set by <a class="link" href="raptor2-section-sequence.html#raptor-new-sequence-with-context" title="raptor_new_sequence_with_context ()"><code class="function">raptor_new_sequence_with_context()</code></a></p>
+<div class="refsect3">
+<a name="raptor-data-context-print-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>context</p></td>
+<td class="parameter_description"><p>context data for the print function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>object</p></td>
+<td class="parameter_description"><p>object to print</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>fh</p></td>
+<td class="parameter_description"><p>FILE* to print to</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-data-context-print-handler.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-data-free-handler"></a><h3>raptor_data_free_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+<span class="c_punctuation">(</span>*raptor_data_free_handler<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *data</code></em>);</pre>
+<p>Typedef for function to free a data object - signature like <code class="function">free()</code></p>
+<p>Designed to be passed into generic data structure constructors
+like <a class="link" href="raptor2-section-avltree.html#raptor-new-avltree" title="raptor_new_avltree ()"><code class="function">raptor_new_avltree()</code></a>. If <em class="parameter"><code>data</code></em>
+ is NULL, nothing should be done.</p>
+<div class="refsect3">
+<a name="raptor-data-free-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>data</p></td>
+<td class="parameter_description"><p>data object or NULL</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-data-malloc-handler"></a><h3>raptor_data_malloc_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span> *
+<span class="c_punctuation">(</span>*raptor_data_malloc_handler<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">size_t</span> size</code></em>);</pre>
+<p>Typedef for a function to allocate memory - signature like <code class="function">malloc()</code></p>
+<p>Designed to be passed into constructors
+like raptor_www_fetch_to_string</p>
+<div class="refsect3">
+<a name="raptor-data-malloc-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>size</p></td>
+<td class="parameter_description"><p>data size</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-data-malloc-handler.returns"></a><h4>Returns</h4>
+<p> pointer to newly allocated memory or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-data-print-handler"></a><h3>raptor_data_print_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+<span class="c_punctuation">(</span>*raptor_data_print_handler<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *object</code></em>,
+ <em class="parameter"><code><span class="type">FILE</span> *fh</code></em>);</pre>
+<p>Handler function for printing an object to a stream.</p>
+<p>Set by <a class="link" href="raptor2-section-sequence.html#raptor-new-sequence" title="raptor_new_sequence ()"><code class="function">raptor_new_sequence()</code></a></p>
+<div class="refsect3">
+<a name="raptor-data-print-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>object</p></td>
+<td class="parameter_description"><p>object to print</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>fh</p></td>
+<td class="parameter_description"><p>FILE* to print to</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-data-print-handler.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-generate-bnodeid-handler"></a><h3>raptor_generate_bnodeid_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">char</span> *
+<span class="c_punctuation">(</span>*raptor_generate_bnodeid_handler<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">char</span> *user_bnodeid</code></em>);</pre>
+<p>Generate a blank node identifier handler function.</p>
+<div class="refsect3">
+<a name="raptor-generate-bnodeid-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_bnodeid</p></td>
+<td class="parameter_description"><p>a user-specified ID or NULL if none available.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-generate-bnodeid-handler.returns"></a><h4>Returns</h4>
+<p> new blank node ID to use</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-syntax-description-validate"></a><h3>raptor_syntax_description_validate ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_syntax_description_validate (<em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-syntax-description" title="raptor_syntax_description"><span class="type">raptor_syntax_description</span></a> *desc</code></em>);</pre>
+<p>Validate a syntax description has the required fields (name, labels) and update counts</p>
+<div class="refsect3">
+<a name="raptor-syntax-description-validate.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>desc</p></td>
+<td class="parameter_description"><p>description</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-syntax-description-validate.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-general.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="RAPTOR-VERSION:CAPS"></a><h3>RAPTOR_VERSION</h3>
+<pre class="programlisting">#define RAPTOR_VERSION 20016
+</pre>
+<p>Raptor library version number</p>
+<p>Format: major * 10000 + minor * 100 + release</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="RAPTOR-VERSION-MAJOR:CAPS"></a><h3>RAPTOR_VERSION_MAJOR</h3>
+<pre class="programlisting">#define RAPTOR_VERSION_MAJOR 2
+</pre>
+<p>Raptor library major version</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="RAPTOR-VERSION-MINOR:CAPS"></a><h3>RAPTOR_VERSION_MINOR</h3>
+<pre class="programlisting">#define RAPTOR_VERSION_MINOR 0
+</pre>
+<p>Raptor library minor version</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="RAPTOR-VERSION-RELEASE:CAPS"></a><h3>RAPTOR_VERSION_RELEASE</h3>
+<pre class="programlisting">#define RAPTOR_VERSION_RELEASE 16
+</pre>
+<p>Raptor library release</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="RAPTOR-VERSION-STRING:CAPS"></a><h3>RAPTOR_VERSION_STRING</h3>
+<pre class="programlisting">#define RAPTOR_VERSION_STRING "2.0.16"
+</pre>
+<p>Raptor library version string</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-version-major"></a><h3>raptor_version_major</h3>
+<pre class="programlisting">extern const unsigned int raptor_version_major;
+</pre>
+<p>Library major version number as a decimal integer.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-version-minor"></a><h3>raptor_version_minor</h3>
+<pre class="programlisting">extern const unsigned int raptor_version_minor;
+</pre>
+<p>Library minor version number as a decimal integer.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-version-release"></a><h3>raptor_version_release</h3>
+<pre class="programlisting">extern const unsigned int raptor_version_release;
+</pre>
+<p>Library release version number as a decimal integer.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-version-decimal"></a><h3>raptor_version_decimal</h3>
+<pre class="programlisting">extern const unsigned int raptor_version_decimal;
+</pre>
+<p>Library full version as a decimal integer.</p>
+<p>See also <a class="link" href="raptor2-section-general.html#raptor-version-string" title="raptor_version_string"><span class="type">raptor_version_string</span></a>.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-copyright-string"></a><h3>raptor_copyright_string</h3>
+<pre class="programlisting">extern const char * const raptor_copyright_string;
+</pre>
+<p>Copyright string (multiple lines).</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-home-url-string"></a><h3>raptor_home_url_string</h3>
+<pre class="programlisting">extern const char * const raptor_home_url_string;
+</pre>
+<p>Raptor home page URL.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-license-string"></a><h3>raptor_license_string</h3>
+<pre class="programlisting">extern const char * const raptor_license_string;
+</pre>
+<p>Raptor license string.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-short-copyright-string"></a><h3>raptor_short_copyright_string</h3>
+<pre class="programlisting">extern const char * const raptor_short_copyright_string;
+</pre>
+<p>Short copyright string (one line).</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-version-string"></a><h3>raptor_version_string</h3>
+<pre class="programlisting">extern const char * const raptor_version_string;
+</pre>
+<p>Library full version as a string.</p>
+<p>See also <a class="link" href="raptor2-section-general.html#raptor-version-decimal" title="raptor_version_decimal"><span class="type">raptor_version_decimal</span></a>.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-owl-namespace-uri"></a><h3>raptor_owl_namespace_uri</h3>
+<pre class="programlisting">extern const unsigned char * const raptor_owl_namespace_uri;
+</pre>
+<p>OWL (owl:) Namespace URI string.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-rdf-namespace-uri"></a><h3>raptor_rdf_namespace_uri</h3>
+<pre class="programlisting">extern const unsigned char * const raptor_rdf_namespace_uri;
+</pre>
+<p>RDF Namespace (rdf:) URI string.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-rdf-schema-namespace-uri"></a><h3>raptor_rdf_schema_namespace_uri</h3>
+<pre class="programlisting">extern const unsigned char * const raptor_rdf_schema_namespace_uri;
+</pre>
+<p>RDF Schema (rdfs:) Namespace URI string.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-literal-datatype-uri-string"></a><h3>raptor_xml_literal_datatype_uri_string</h3>
+<pre class="programlisting">extern const unsigned char * const raptor_xml_literal_datatype_uri_string;
+</pre>
+<p>XML Literal datatype (rdf:XMLLiteral) URI string.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-namespace-uri"></a><h3>raptor_xml_namespace_uri</h3>
+<pre class="programlisting">extern const unsigned char * const raptor_xml_namespace_uri;
+</pre>
+<p>XML Namespace (xml:) URI string.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xmlschema-datatypes-namespace-uri"></a><h3>raptor_xmlschema_datatypes_namespace_uri</h3>
+<pre class="programlisting">extern const unsigned char * const raptor_xmlschema_datatypes_namespace_uri;
+</pre>
+<p>XML Schema datatypes (xsd:) namespace URI string.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-log-message"></a><h3>raptor_log_message</h3>
+<pre class="programlisting">typedef struct {
+ int code;
+ raptor_domain domain;
+ raptor_log_level level;
+ raptor_locator *locator;
+ const char *text;
+} raptor_log_message;
+</pre>
+<p>Log message.</p>
+<div class="refsect3">
+<a name="raptor-log-message.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="struct_members_name">
+<col class="struct_members_description">
+<col width="200px" class="struct_members_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="struct_member_name"><p><span class="type">int</span> <em class="structfield"><code><a name="raptor-log-message.code"></a>code</code></em>;</p></td>
+<td class="struct_member_description"><p>error code or &lt; 0 if not used or known</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-general.html#raptor-domain" title="enum raptor_domain"><span class="type">raptor_domain</span></a> <em class="structfield"><code><a name="raptor-log-message.domain"></a>domain</code></em>;</p></td>
+<td class="struct_member_description"><p>message domain or <a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-NONE:CAPS"><span class="type">RAPTOR_DOMAIN_NONE</span></a> if not used or known</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-general.html#raptor-log-level" title="enum raptor_log_level"><span class="type">raptor_log_level</span></a> <em class="structfield"><code><a name="raptor-log-message.level"></a>level</code></em>;</p></td>
+<td class="struct_member_description"><p>log message level</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-locator.html#raptor-locator" title="raptor_locator"><span class="type">raptor_locator</span></a> *<em class="structfield"><code><a name="raptor-log-message.locator"></a>locator</code></em>;</p></td>
+<td class="struct_member_description"><p>location associated with message or NULL if not known</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p>const <span class="type">char</span> *<em class="structfield"><code><a name="raptor-log-message.text"></a>text</code></em>;</p></td>
+<td class="struct_member_description"><p>message string</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-log-level"></a><h3>enum raptor_log_level</h3>
+<p>Log levels</p>
+<div class="refsect3">
+<a name="raptor-log-level.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="enum_members_name">
+<col class="enum_members_description">
+<col width="200px" class="enum_members_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-LOG-LEVEL-NONE:CAPS"></a>RAPTOR_LOG_LEVEL_NONE</p></td>
+<td class="enum_member_description">
+<p>Internal</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-LOG-LEVEL-TRACE:CAPS"></a>RAPTOR_LOG_LEVEL_TRACE</p></td>
+<td class="enum_member_description">
+<p>very fine-grained tracing messages information</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-LOG-LEVEL-DEBUG:CAPS"></a>RAPTOR_LOG_LEVEL_DEBUG</p></td>
+<td class="enum_member_description">
+<p>fine-grained tracing messages suitable for debugging</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-LOG-LEVEL-INFO:CAPS"></a>RAPTOR_LOG_LEVEL_INFO</p></td>
+<td class="enum_member_description">
+<p>coarse-grained information messages</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-LOG-LEVEL-WARN:CAPS"></a>RAPTOR_LOG_LEVEL_WARN</p></td>
+<td class="enum_member_description">
+<p>warning messages of potentially harmful problems</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-LOG-LEVEL-ERROR:CAPS"></a>RAPTOR_LOG_LEVEL_ERROR</p></td>
+<td class="enum_member_description">
+<p>error messages where the application can continue</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-LOG-LEVEL-FATAL:CAPS"></a>RAPTOR_LOG_LEVEL_FATAL</p></td>
+<td class="enum_member_description">
+<p>fatal error message where the application will likely abort</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-LOG-LEVEL-LAST:CAPS"></a>RAPTOR_LOG_LEVEL_LAST</p></td>
+<td class="enum_member_description">
+<p>Internal</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-domain"></a><h3>enum raptor_domain</h3>
+<p>Log domain</p>
+<div class="refsect3">
+<a name="raptor-domain.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="enum_members_name">
+<col class="enum_members_description">
+<col width="200px" class="enum_members_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-DOMAIN-NONE:CAPS"></a>RAPTOR_DOMAIN_NONE</p></td>
+<td class="enum_member_description">
+<p>Internal</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-DOMAIN-IOSTREAM:CAPS"></a>RAPTOR_DOMAIN_IOSTREAM</p></td>
+<td class="enum_member_description">
+<p>I/O stream</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-DOMAIN-NAMESPACE:CAPS"></a>RAPTOR_DOMAIN_NAMESPACE</p></td>
+<td class="enum_member_description">
+<p>XML Namespace / namespace stack</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-DOMAIN-PARSER:CAPS"></a>RAPTOR_DOMAIN_PARSER</p></td>
+<td class="enum_member_description">
+<p>RDF Parser</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-DOMAIN-QNAME:CAPS"></a>RAPTOR_DOMAIN_QNAME</p></td>
+<td class="enum_member_description">
+<p>XML QName</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-DOMAIN-SAX2:CAPS"></a>RAPTOR_DOMAIN_SAX2</p></td>
+<td class="enum_member_description">
+<p>XML SAX2</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-DOMAIN-SERIALIZER:CAPS"></a>RAPTOR_DOMAIN_SERIALIZER</p></td>
+<td class="enum_member_description">
+<p>RDF Serializer</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-DOMAIN-TERM:CAPS"></a>RAPTOR_DOMAIN_TERM</p></td>
+<td class="enum_member_description">
+<p>RDF Term</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-DOMAIN-TURTLE-WRITER:CAPS"></a>RAPTOR_DOMAIN_TURTLE_WRITER</p></td>
+<td class="enum_member_description">
+<p>Turtle Writer</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-DOMAIN-URI:CAPS"></a>RAPTOR_DOMAIN_URI</p></td>
+<td class="enum_member_description">
+<p>RDF Uri</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-DOMAIN-WORLD:CAPS"></a>RAPTOR_DOMAIN_WORLD</p></td>
+<td class="enum_member_description">
+<p>RDF world</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-DOMAIN-WWW:CAPS"></a>RAPTOR_DOMAIN_WWW</p></td>
+<td class="enum_member_description">
+<p>WWW</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-DOMAIN-XML-WRITER:CAPS"></a>RAPTOR_DOMAIN_XML_WRITER</p></td>
+<td class="enum_member_description">
+<p>XML Writer</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-DOMAIN-LAST:CAPS"></a>RAPTOR_DOMAIN_LAST</p></td>
+<td class="enum_member_description">
+<p>Internal</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-syntax-bitflags"></a><h3>enum raptor_syntax_bitflags</h3>
+<p>Bit flags for <a class="link" href="raptor2-section-general.html#raptor-syntax-description" title="raptor_syntax_description"><span class="type">raptor_syntax_description</span></a> flags field</p>
+<div class="refsect3">
+<a name="raptor-syntax-bitflags.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="enum_members_name">
+<col class="enum_members_description">
+<col width="200px" class="enum_members_annotations">
+</colgroup>
+<tbody><tr>
+<td class="enum_member_name"><p><a name="RAPTOR-SYNTAX-NEED-BASE-URI:CAPS"></a>RAPTOR_SYNTAX_NEED_BASE_URI</p></td>
+<td class="enum_member_description">
+<p>the syntax requires a base URI</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-syntax-description"></a><h3>raptor_syntax_description</h3>
+<pre class="programlisting">typedef struct {
+ const char* names;
+ unsigned int names_count;
+
+ const char* label;
+
+ const raptor_type_q* mime_types;
+ unsigned int mime_types_count;
+
+ const char* uri_strings;
+ unsigned int uri_strings_count;
+
+ unsigned int flags;
+} raptor_syntax_description;
+</pre>
+<p>Description of a syntax or file format.</p>
+<div class="refsect3">
+<a name="raptor-syntax-description.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="struct_members_name">
+<col class="struct_members_description">
+<col width="200px" class="struct_members_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="struct_member_name"><p>const <span class="type">char</span> *<em class="structfield"><code><a name="raptor-syntax-description.names"></a>names</code></em>;</p></td>
+<td class="struct_member_description"><p>array of syntax names - the first one (required) is the public name, the rest are aliases. The array is NULL terminated.</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p>unsigned <span class="type">int</span> <em class="structfield"><code><a name="raptor-syntax-description.names-count"></a>names_count</code></em>;</p></td>
+<td class="struct_member_description"><p>size of <em class="parameter"><code>names</code></em>
+array</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p>const <span class="type">char</span> *<em class="structfield"><code><a name="raptor-syntax-description.label"></a>label</code></em>;</p></td>
+<td class="struct_member_description"><p>long descriptive label for syntax</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p>const <a class="link" href="raptor2-section-general.html#raptor-type-q" title="raptor_type_q"><span class="type">raptor_type_q</span></a> *<em class="structfield"><code><a name="raptor-syntax-description.mime-types"></a>mime_types</code></em>;</p></td>
+<td class="struct_member_description"><p>Array of (MIME type, Q) values associated with the syntax (or NULL). If present the array is NULL terminated.</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p>unsigned <span class="type">int</span> <em class="structfield"><code><a name="raptor-syntax-description.mime-types-count"></a>mime_types_count</code></em>;</p></td>
+<td class="struct_member_description"><p>size of <em class="parameter"><code>mime_types</code></em>
+array</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p>const <span class="type">char</span> *<em class="structfield"><code><a name="raptor-syntax-description.uri-strings"></a>uri_strings</code></em>;</p></td>
+<td class="struct_member_description"><p>array of URIs identifying the syntax (or NULL). The first one if present is the main URI, the rest are aliases. The array is NULL terminated.</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p>unsigned <span class="type">int</span> <em class="structfield"><code><a name="raptor-syntax-description.uri-strings-count"></a>uri_strings_count</code></em>;</p></td>
+<td class="struct_member_description"><p>size of <em class="parameter"><code>uri_strings</code></em>
+array</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p>unsigned <span class="type">int</span> <em class="structfield"><code><a name="raptor-syntax-description.flags"></a>flags</code></em>;</p></td>
+<td class="struct_member_description"><p>See <a class="link" href="raptor2-section-general.html#raptor-syntax-bitflags" title="enum raptor_syntax_bitflags"><span class="type">raptor_syntax_bitflags</span></a> for the bits</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-type-q"></a><h3>raptor_type_q</h3>
+<pre class="programlisting">typedef struct {
+ const char* mime_type;
+ size_t mime_type_len;
+ unsigned char q;
+} raptor_type_q;
+</pre>
+<p>(MIME Type, Q) pair</p>
+<div class="refsect3">
+<a name="raptor-type-q.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="struct_members_name">
+<col class="struct_members_description">
+<col width="200px" class="struct_members_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="struct_member_name"><p>const <span class="type">char</span> *<em class="structfield"><code><a name="raptor-type-q.mime-type"></a>mime_type</code></em>;</p></td>
+<td class="struct_member_description"><p>MIME type string</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><span class="type">size_t</span> <em class="structfield"><code><a name="raptor-type-q.mime-type-len"></a>mime_type_len</code></em>;</p></td>
+<td class="struct_member_description"><p>length of <em class="parameter"><code>mime_type</code></em>
+</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p>unsigned <span class="type">char</span> <em class="structfield"><code><a name="raptor-type-q.q"></a>q</code></em>;</p></td>
+<td class="struct_member_description"><p>Q value 0-10 standing for decimal 0.0-1.0</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-section-iostream.html b/docs/html/raptor2-section-iostream.html
new file mode 100644
index 0000000..6bc7eb1
--- /dev/null
+++ b/docs/html/raptor2-section-iostream.html
@@ -0,0 +1,1749 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>section-iostream: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor2-section-option.html" title="section-option">
+<link rel="next" href="raptor2-section-locator.html" title="section-locator">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#raptor2-section-iostream.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-section-option.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-section-locator.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="raptor2-section-iostream"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="raptor2-section-iostream.top_of_page"></a>section-iostream</span></h2>
+<p>section-iostream</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="raptor2-section-iostream.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-iostream.html#raptor-iostream-init-func" title="raptor_iostream_init_func ()">*raptor_iostream_init_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-iostream.html#raptor-iostream-finish-func" title="raptor_iostream_finish_func ()">*raptor_iostream_finish_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-iostream.html#raptor-iostream-write-byte-func" title="raptor_iostream_write_byte_func ()">*raptor_iostream_write_byte_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-iostream.html#raptor-iostream-write-bytes-func" title="raptor_iostream_write_bytes_func ()">*raptor_iostream_write_bytes_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-iostream.html#raptor-iostream-write-end-func" title="raptor_iostream_write_end_func ()">*raptor_iostream_write_end_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-iostream.html#raptor-iostream-read-bytes-func" title="raptor_iostream_read_bytes_func ()">*raptor_iostream_read_bytes_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-iostream.html#raptor-iostream-read-eof-func" title="raptor_iostream_read_eof_func ()">*raptor_iostream_read_eof_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="returnvalue">raptor_iostream</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-from-handler" title="raptor_new_iostream_from_handler ()">raptor_new_iostream_from_handler</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="returnvalue">raptor_iostream</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-from-sink" title="raptor_new_iostream_from_sink ()">raptor_new_iostream_from_sink</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="returnvalue">raptor_iostream</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-from-filename" title="raptor_new_iostream_from_filename ()">raptor_new_iostream_from_filename</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="returnvalue">raptor_iostream</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-from-file-handle" title="raptor_new_iostream_from_file_handle ()">raptor_new_iostream_from_file_handle</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="returnvalue">raptor_iostream</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-from-string" title="raptor_new_iostream_from_string ()">raptor_new_iostream_from_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="returnvalue">raptor_iostream</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-to-sink" title="raptor_new_iostream_to_sink ()">raptor_new_iostream_to_sink</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="returnvalue">raptor_iostream</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-to-filename" title="raptor_new_iostream_to_filename ()">raptor_new_iostream_to_filename</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="returnvalue">raptor_iostream</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-to-file-handle" title="raptor_new_iostream_to_file_handle ()">raptor_new_iostream_to_file_handle</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="returnvalue">raptor_iostream</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-to-string" title="raptor_new_iostream_to_string ()">raptor_new_iostream_to_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-free-iostream" title="raptor_free_iostream ()">raptor_free_iostream</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream-hexadecimal-write" title="raptor_iostream_hexadecimal_write ()">raptor_iostream_hexadecimal_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream-read-bytes" title="raptor_iostream_read_bytes ()">raptor_iostream_read_bytes</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream-read-eof" title="raptor_iostream_read_eof ()">raptor_iostream_read_eof</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">long</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream-tell" title="raptor_iostream_tell ()">raptor_iostream_tell</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream-counted-string-write" title="raptor_iostream_counted_string_write ()">raptor_iostream_counted_string_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream-decimal-write" title="raptor_iostream_decimal_write ()">raptor_iostream_decimal_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream-string-write" title="raptor_iostream_string_write ()">raptor_iostream_string_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream-write-byte" title="raptor_iostream_write_byte ()">raptor_iostream_write_byte</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream-write-bytes" title="raptor_iostream_write_bytes ()">raptor_iostream_write_bytes</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream-write-end" title="raptor_iostream_write_end ()">raptor_iostream_write_end</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-bnodeid-ntriples-write" title="raptor_bnodeid_ntriples_write ()">raptor_bnodeid_ntriples_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-string-escaped-write" title="raptor_string_escaped_write ()">raptor_string_escaped_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-term-escaped-write" title="raptor_term_escaped_write ()">raptor_term_escaped_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-uri-escaped-write" title="raptor_uri_escaped_write ()">raptor_uri_escaped_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-string-ntriples-write" title="raptor_string_ntriples_write ()">raptor_string_ntriples_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-iostream.html#raptor-string-python-write" title="raptor_string_python_write ()">raptor_string_python_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-iostream.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="other_proto_type">
+<col class="other_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="typedef_keyword">typedef</td>
+<td class="function_name"><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream">raptor_iostream</a></td>
+</tr>
+<tr>
+<td class="datatype_keyword"> </td>
+<td class="function_name"><a class="link" href="raptor2-section-iostream.html#raptor-iostream-handler" title="raptor_iostream_handler">raptor_iostream_handler</a></td>
+</tr>
+<tr>
+<td class="datatype_keyword">enum</td>
+<td class="function_name"><a class="link" href="raptor2-section-iostream.html#raptor-escaped-write-bitflags" title="enum raptor_escaped_write_bitflags">raptor_escaped_write_bitflags</a></td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-iostream.description"></a><h2>Description</h2>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-iostream.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="raptor-iostream-init-func"></a><h3>raptor_iostream_init_func ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+<span class="c_punctuation">(</span>*raptor_iostream_init_func<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *context</code></em>);</pre>
+<p>Handler function for <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> initialising.</p>
+<div class="refsect3">
+<a name="raptor-iostream-init-func.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>context</p></td>
+<td class="parameter_description"><p>stream context data</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-iostream-init-func.returns"></a><h4>Returns</h4>
+<p> non-0 on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-iostream-finish-func"></a><h3>raptor_iostream_finish_func ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+<span class="c_punctuation">(</span>*raptor_iostream_finish_func<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *context</code></em>);</pre>
+<p>Handler function for <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> terminating.</p>
+<div class="refsect3">
+<a name="raptor-iostream-finish-func.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>context</p></td>
+<td class="parameter_description"><p>stream context data</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-iostream-write-byte-func"></a><h3>raptor_iostream_write_byte_func ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+<span class="c_punctuation">(</span>*raptor_iostream_write_byte_func<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *context</code></em>,
+ <em class="parameter"><code>const <span class="type">int</span> byte</code></em>);</pre>
+<p>Handler function for implementing <a class="link" href="raptor2-section-iostream.html#raptor-iostream-write-byte" title="raptor_iostream_write_byte ()"><code class="function">raptor_iostream_write_byte()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-iostream-write-byte-func.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>context</p></td>
+<td class="parameter_description"><p>stream context data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>byte</p></td>
+<td class="parameter_description"><p>byte to write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-iostream-write-byte-func.returns"></a><h4>Returns</h4>
+<p> non-0 on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-iostream-write-bytes-func"></a><h3>raptor_iostream_write_bytes_func ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+<span class="c_punctuation">(</span>*raptor_iostream_write_bytes_func<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *context</code></em>,
+ <em class="parameter"><code>const <span class="type">void</span> *ptr</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> size</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> nmemb</code></em>);</pre>
+<p>Handler function for implementing <a class="link" href="raptor2-section-iostream.html#raptor-iostream-write-bytes" title="raptor_iostream_write_bytes ()"><code class="function">raptor_iostream_write_bytes()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-iostream-write-bytes-func.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>context</p></td>
+<td class="parameter_description"><p>stream context data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>ptr</p></td>
+<td class="parameter_description"><p>pointer to bytes to write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>size</p></td>
+<td class="parameter_description"><p>size of item</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>nmemb</p></td>
+<td class="parameter_description"><p>number of items</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-iostream-write-bytes-func.returns"></a><h4>Returns</h4>
+<p> non-0 on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-iostream-write-end-func"></a><h3>raptor_iostream_write_end_func ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+<span class="c_punctuation">(</span>*raptor_iostream_write_end_func<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *context</code></em>);</pre>
+<p>Handler function for implementing <a class="link" href="raptor2-section-iostream.html#raptor-iostream-write-end" title="raptor_iostream_write_end ()"><code class="function">raptor_iostream_write_end()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-iostream-write-end-func.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>context</p></td>
+<td class="parameter_description"><p>stream context data</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-iostream-write-end-func.returns"></a><h4>Returns</h4>
+<p> non-0 on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-iostream-read-bytes-func"></a><h3>raptor_iostream_read_bytes_func ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+<span class="c_punctuation">(</span>*raptor_iostream_read_bytes_func<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *context</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *ptr</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> size</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> nmemb</code></em>);</pre>
+<p>Handler function for implementing <a class="link" href="raptor2-section-iostream.html#raptor-iostream-read-bytes" title="raptor_iostream_read_bytes ()"><code class="function">raptor_iostream_read_bytes()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-iostream-read-bytes-func.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>context</p></td>
+<td class="parameter_description"><p>stream context data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>ptr</p></td>
+<td class="parameter_description"><p>pointer to buffer to read into</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>size</p></td>
+<td class="parameter_description"><p>size of buffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>nmemb</p></td>
+<td class="parameter_description"><p>number of items</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-iostream-read-bytes-func.returns"></a><h4>Returns</h4>
+<p> number of items read, 0 or &lt; <em class="parameter"><code>size</code></em>
+on EOF, &lt;0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-iostream-read-eof-func"></a><h3>raptor_iostream_read_eof_func ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+<span class="c_punctuation">(</span>*raptor_iostream_read_eof_func<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *context</code></em>);</pre>
+<p>Handler function for implementing <a class="link" href="raptor2-section-iostream.html#raptor-iostream-read-eof" title="raptor_iostream_read_eof ()"><code class="function">raptor_iostream_read_eof()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-iostream-read-eof-func.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>context</p></td>
+<td class="parameter_description"><p>stream context data</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-iostream-read-eof-func.returns"></a><h4>Returns</h4>
+<p> non-0 if EOF</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-iostream-from-handler"></a><h3>raptor_new_iostream_from_handler ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="returnvalue">raptor_iostream</span></a> *
+raptor_new_iostream_from_handler (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
+ <em class="parameter"><code>const <a class="link" href="raptor2-section-iostream.html#raptor-iostream-handler" title="raptor_iostream_handler"><span class="type">raptor_iostream_handler</span></a> * const handler</code></em>);</pre>
+<p>Create a new iostream over a user-defined handler</p>
+<div class="refsect3">
+<a name="raptor-new-iostream-from-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>pointer to context information to pass in to calls</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>handler</p></td>
+<td class="parameter_description"><p>pointer to handler methods</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-iostream-from-handler.returns"></a><h4>Returns</h4>
+<p> new <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-iostream-from-sink"></a><h3>raptor_new_iostream_from_sink ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="returnvalue">raptor_iostream</span></a> *
+raptor_new_iostream_from_sink (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>);</pre>
+<p>Create a new read iostream from a sink, returning no data.</p>
+<p>Provides an I/O source that returns end of input immediately on
+reads, and throw away all writes. Same as
+<a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-to-sink" title="raptor_new_iostream_to_sink ()"><code class="function">raptor_new_iostream_to_sink()</code></a></p>
+<div class="refsect3">
+<a name="raptor-new-iostream-from-sink.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-iostream-from-sink.returns"></a><h4>Returns</h4>
+<p> new <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-iostream-from-filename"></a><h3>raptor_new_iostream_from_filename ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="returnvalue">raptor_iostream</span></a> *
+raptor_new_iostream_from_filename (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *filename</code></em>);</pre>
+<p>Constructor - create a new iostream reading from a filename.</p>
+<div class="refsect3">
+<a name="raptor-new-iostream-from-filename.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>filename</p></td>
+<td class="parameter_description"><p>Input filename to open and read from</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-iostream-from-filename.returns"></a><h4>Returns</h4>
+<p> new <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-iostream-from-file-handle"></a><h3>raptor_new_iostream_from_file_handle ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="returnvalue">raptor_iostream</span></a> *
+raptor_new_iostream_from_file_handle (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><span class="type">FILE</span> *handle</code></em>);</pre>
+<p>Constructor - create a new iostream reading from a file_handle.</p>
+<p>The <em class="parameter"><code>handle</code></em>
+ must already be open for reading.
+NOTE: This does not fclose the <em class="parameter"><code>handle</code></em>
+ when it is finished.</p>
+<div class="refsect3">
+<a name="raptor-new-iostream-from-file-handle.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>handle</p></td>
+<td class="parameter_description"><p>Input file_handle to open and read from</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-iostream-from-file-handle.returns"></a><h4>Returns</h4>
+<p> new <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-iostream-from-string"></a><h3>raptor_new_iostream_from_string ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="returnvalue">raptor_iostream</span></a> *
+raptor_new_iostream_from_string (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> length</code></em>);</pre>
+<p>Constructor - create a new iostream reading from a string.</p>
+<div class="refsect3">
+<a name="raptor-new-iostream-from-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>pointer to string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>length of string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-iostream-from-string.returns"></a><h4>Returns</h4>
+<p> new <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-iostream-to-sink"></a><h3>raptor_new_iostream_to_sink ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="returnvalue">raptor_iostream</span></a> *
+raptor_new_iostream_to_sink (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>);</pre>
+<p>Create a new write iostream to a sink, throwing away all data.</p>
+<p>Provides an that throw away all writes and returns end of input
+immediately on reads. Same as <a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-from-sink" title="raptor_new_iostream_from_sink ()"><code class="function">raptor_new_iostream_from_sink()</code></a></p>
+<div class="refsect3">
+<a name="raptor-new-iostream-to-sink.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-iostream-to-sink.returns"></a><h4>Returns</h4>
+<p> new <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-iostream-to-filename"></a><h3>raptor_new_iostream_to_filename ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="returnvalue">raptor_iostream</span></a> *
+raptor_new_iostream_to_filename (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *filename</code></em>);</pre>
+<p>Constructor - create a new iostream writing to a filename.</p>
+<div class="refsect3">
+<a name="raptor-new-iostream-to-filename.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>filename</p></td>
+<td class="parameter_description"><p>Output filename to open and write to</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-iostream-to-filename.returns"></a><h4>Returns</h4>
+<p> new <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-iostream-to-file-handle"></a><h3>raptor_new_iostream_to_file_handle ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="returnvalue">raptor_iostream</span></a> *
+raptor_new_iostream_to_file_handle (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><span class="type">FILE</span> *handle</code></em>);</pre>
+<p>Constructor - create a new iostream writing to a FILE*.</p>
+<p>The <em class="parameter"><code>handle</code></em>
+ must already be open for writing.
+NOTE: This does not fclose the <em class="parameter"><code>handle</code></em>
+ when it is finished.</p>
+<div class="refsect3">
+<a name="raptor-new-iostream-to-file-handle.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>handle</p></td>
+<td class="parameter_description"><p>FILE* handle to write to</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-iostream-to-file-handle.returns"></a><h4>Returns</h4>
+<p> new <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-iostream-to-string"></a><h3>raptor_new_iostream_to_string ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="returnvalue">raptor_iostream</span></a> *
+raptor_new_iostream_to_string (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><span class="type">void</span> **string_p</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> *length_p</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-data-malloc-handler" title="raptor_data_malloc_handler ()"><span class="type">raptor_data_malloc_handler</span></a> const malloc_handler</code></em>);</pre>
+<p>Constructor - create a new iostream writing to a string.</p>
+<p>If <em class="parameter"><code>malloc_handler</code></em>
+ is null, raptor will allocate it using it's
+own memory allocator. *<em class="parameter"><code>string_p</code></em>
+ is set to NULL on failure (and
+*<em class="parameter"><code>length_p</code></em>
+ to 0 if <em class="parameter"><code>length_p</code></em>
+ is not NULL).</p>
+<div class="refsect3">
+<a name="raptor-new-iostream-to-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>string_p</p></td>
+<td class="parameter_description"><p>pointer to location to hold string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length_p</p></td>
+<td class="parameter_description"><p>pointer to location to hold length of string (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>malloc_handler</p></td>
+<td class="parameter_description"><p>pointer to <code class="function">malloc()</code> to use to make string (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-iostream-to-string.returns"></a><h4>Returns</h4>
+<p> new <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-free-iostream"></a><h3>raptor_free_iostream ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_free_iostream (<em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Destructor - destroy an iostream.</p>
+<div class="refsect3">
+<a name="raptor-free-iostream.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>iostream object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-iostream-hexadecimal-write"></a><h3>raptor_iostream_hexadecimal_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_iostream_hexadecimal_write (<em class="parameter"><code>unsigned <span class="type">int</span> integer</code></em>,
+ <em class="parameter"><code><span class="type">int</span> width</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Write an integer in hexadecimal to the iostream.</p>
+<p>Always 0-fills the entire field and writes in uppercase A-F</p>
+<div class="refsect3">
+<a name="raptor-iostream-hexadecimal-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>integer</p></td>
+<td class="parameter_description"><p>unsigned integer to format as hexadecimal</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>width</p></td>
+<td class="parameter_description"><p>field width</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>raptor iostream</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-iostream-hexadecimal-write.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-iostream-read-bytes"></a><h3>raptor_iostream_read_bytes ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_iostream_read_bytes (<em class="parameter"><code><span class="type">void</span> *ptr</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> size</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> nmemb</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Read bytes to the iostream.</p>
+<div class="refsect3">
+<a name="raptor-iostream-read-bytes.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>ptr</p></td>
+<td class="parameter_description"><p>start of buffer to read objects into</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>size</p></td>
+<td class="parameter_description"><p>size of object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>nmemb</p></td>
+<td class="parameter_description"><p>number of objects to read</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>raptor iostream</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-iostream-read-bytes.returns"></a><h4>Returns</h4>
+<p> number of objects read, 0 or less than nmemb on EOF, &lt;0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-iostream-read-eof"></a><h3>raptor_iostream_read_eof ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_iostream_read_eof (<em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Check if an read iostream has ended</p>
+<div class="refsect3">
+<a name="raptor-iostream-read-eof.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>raptor read iostream</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-iostream-read-eof.returns"></a><h4>Returns</h4>
+<p> non-0 if EOF (or not a read iostream)</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-iostream-tell"></a><h3>raptor_iostream_tell ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">long</span>
+raptor_iostream_tell (<em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Get the offset in the iostream.</p>
+<div class="refsect3">
+<a name="raptor-iostream-tell.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>raptor iostream</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-iostream-tell.returns"></a><h4>Returns</h4>
+<p> offset in iostream</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-iostream-counted-string-write"></a><h3>raptor_iostream_counted_string_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_iostream_counted_string_write (<em class="parameter"><code>const <span class="type">void</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> len</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Write a counted string to the iostream.</p>
+<div class="refsect3">
+<a name="raptor-iostream-counted-string-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len</p></td>
+<td class="parameter_description"><p>string length</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>raptor iostream</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-iostream-counted-string-write.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-iostream-decimal-write"></a><h3>raptor_iostream_decimal_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_iostream_decimal_write (<em class="parameter"><code><span class="type">int</span> integer</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Write an integer in decimal to the iostream.</p>
+<div class="refsect3">
+<a name="raptor-iostream-decimal-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>integer</p></td>
+<td class="parameter_description"><p>integer to format as decimal</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>raptor iostream</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-iostream-decimal-write.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-iostream-string-write"></a><h3>raptor_iostream_string_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_iostream_string_write (<em class="parameter"><code>const <span class="type">void</span> *string</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Write a NULL-terminated string to the iostream.</p>
+<div class="refsect3">
+<a name="raptor-iostream-string-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>raptor iostream</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-iostream-string-write.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-iostream-write-byte"></a><h3>raptor_iostream_write_byte ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_iostream_write_byte (<em class="parameter"><code>const <span class="type">int</span> byte</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Write a byte to the iostream.</p>
+<div class="refsect3">
+<a name="raptor-iostream-write-byte.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>byte</p></td>
+<td class="parameter_description"><p>byte to write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>raptor iostream</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-iostream-write-byte.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-iostream-write-bytes"></a><h3>raptor_iostream_write_bytes ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_iostream_write_bytes (<em class="parameter"><code>const <span class="type">void</span> *ptr</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> size</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> nmemb</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Write bytes to the iostream.</p>
+<div class="refsect3">
+<a name="raptor-iostream-write-bytes.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>ptr</p></td>
+<td class="parameter_description"><p>start of objects to write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>size</p></td>
+<td class="parameter_description"><p>size of object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>nmemb</p></td>
+<td class="parameter_description"><p>number of objects</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>raptor iostream</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-iostream-write-bytes.returns"></a><h4>Returns</h4>
+<p> number of objects actually written, which may be less than nmemb. &lt;0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-iostream-write-end"></a><h3>raptor_iostream_write_end ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_iostream_write_end (<em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>End writing to the iostream.</p>
+<div class="refsect3">
+<a name="raptor-iostream-write-end.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>raptor iostream</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-iostream-write-end.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-bnodeid-ntriples-write"></a><h3>raptor_bnodeid_ntriples_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_bnodeid_ntriples_write (<em class="parameter"><code>const <span class="type">char</span> *bnodeid</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> len</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Write a blank node ID in a form legal for N-Triples with _: prefix</p>
+<div class="refsect3">
+<a name="raptor-bnodeid-ntriples-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>bnodeid</p></td>
+<td class="parameter_description"><p>bnode ID to write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len</p></td>
+<td class="parameter_description"><p>length of bnode ID</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> to write to</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-bnodeid-ntriples-write.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-string-escaped-write"></a><h3>raptor_string_escaped_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_string_escaped_write (<em class="parameter"><code>const <span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> len</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> delim</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Write a UTF-8 string formatted using different escapes to a <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a></p>
+<p>Supports writing escapes in the Python, N-Triples, Turtle, JSON, mKR,
+SPARQL styles to an iostream.</p>
+<div class="refsect3">
+<a name="raptor-string-escaped-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>UTF-8 string to write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len</p></td>
+<td class="parameter_description"><p>length of UTF-8 string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>delim</p></td>
+<td class="parameter_description"><p>Terminating delimiter character for string (such as " or &gt;) or \0 for no escaping.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>flags</p></td>
+<td class="parameter_description"><p>bit flags - see <a class="link" href="raptor2-section-iostream.html#raptor-escaped-write-bitflags" title="enum raptor_escaped_write_bitflags"><span class="type">raptor_escaped_write_bitflags</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> to write to</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-string-escaped-write.returns"></a><h4>Returns</h4>
+<p> non-0 on failure such as bad UTF-8 encoding.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-term-escaped-write"></a><h3>raptor_term_escaped_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_term_escaped_write (<em class="parameter"><code>const <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *term</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Write a <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> formatted with escapes to a <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a></p>
+<div class="refsect3">
+<a name="raptor-term-escaped-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>term</p></td>
+<td class="parameter_description"><p>term to write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>flags</p></td>
+<td class="parameter_description"><p>bit flags - see <a class="link" href="raptor2-section-iostream.html#raptor-escaped-write-bitflags" title="enum raptor_escaped_write_bitflags"><span class="type">raptor_escaped_write_bitflags</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>raptor iostream</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-term-escaped-write.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-escaped-write"></a><h3>raptor_uri_escaped_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_uri_escaped_write (<em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *base_uri</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">int</span> flags</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Write a <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> formatted with escapes to a <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a></p>
+<div class="refsect3">
+<a name="raptor-uri-escaped-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>uri to write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>base_uri</p></td>
+<td class="parameter_description"><p>base uri to write relative to (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>flags</p></td>
+<td class="parameter_description"><p>bit flags - see <a class="link" href="raptor2-section-iostream.html#raptor-escaped-write-bitflags" title="enum raptor_escaped_write_bitflags"><span class="type">raptor_escaped_write_bitflags</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>raptor iostream</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-escaped-write.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-string-ntriples-write"></a><h3>raptor_string_ntriples_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_string_ntriples_write (<em class="parameter"><code>const <span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> len</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> delim</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Write an UTF-8 string using N-Triples escapes to an iostream.</p>
+<div class="refsect3">
+<a name="raptor-string-ntriples-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>UTF-8 string to write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len</p></td>
+<td class="parameter_description"><p>length of UTF-8 string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>delim</p></td>
+<td class="parameter_description"><p>Terminating delimiter character for string (such as " or &gt;)
+or \0 for no escaping.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> to write to</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-string-ntriples-write.returns"></a><h4>Returns</h4>
+<p> non-0 on failure such as bad UTF-8 encoding.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-string-python-write"></a><h3>raptor_string_python_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_string_python_write (<em class="parameter"><code>const <span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> len</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> delim</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">int</span> mode</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<div class="warning"><p><code class="literal">raptor_string_python_write</code> is deprecated and should not be used in newly-written code.</p></div>
+<p>Write a UTF-8 string using Python-style escapes (N-Triples, Turtle, JSON, mKR) to a <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a></p>
+<p><em class="parameter"><code>Deprecated</code></em>
+: use <a class="link" href="raptor2-section-iostream.html#raptor-string-escaped-write" title="raptor_string_escaped_write ()"><code class="function">raptor_string_escaped_write()</code></a> where the features
+requested are bits that can be individually chosen.</p>
+<div class="refsect3">
+<a name="raptor-string-python-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>UTF-8 string to write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len</p></td>
+<td class="parameter_description"><p>length of UTF-8 string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>delim</p></td>
+<td class="parameter_description"><p>Terminating delimiter character for string (such as " or &gt;)
+or \0 for no escaping.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>mode</p></td>
+<td class="parameter_description"><p>mode 0=N-Triples mode, 1=Turtle (allow raw UTF-8), 2=Turtle long string (allow raw UTF-8), 3=JSON</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> to write to</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-string-python-write.returns"></a><h4>Returns</h4>
+<p> non-0 on failure such as bad UTF-8 encoding.</p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-iostream.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="raptor-iostream"></a><h3>raptor_iostream</h3>
+<pre class="programlisting">raptor_iostream* raptor_iostream;
+</pre>
+<p>Raptor I/O Stream class</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-iostream-handler"></a><h3>raptor_iostream_handler</h3>
+<pre class="programlisting">typedef struct {
+ int version;
+
+ /* V1 functions */
+ raptor_iostream_init_func init;
+ raptor_iostream_finish_func finish;
+ raptor_iostream_write_byte_func write_byte;
+ raptor_iostream_write_bytes_func write_bytes;
+ raptor_iostream_write_end_func write_end;
+
+ /* V2 functions */
+ raptor_iostream_read_bytes_func read_bytes;
+ raptor_iostream_read_eof_func read_eof;
+} raptor_iostream_handler;
+</pre>
+<p>I/O stream implementation handler structure.</p>
+<div class="refsect3">
+<a name="raptor-iostream-handler.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="struct_members_name">
+<col class="struct_members_description">
+<col width="200px" class="struct_members_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="struct_member_name"><p><span class="type">int</span> <em class="structfield"><code><a name="raptor-iostream-handler.version"></a>version</code></em>;</p></td>
+<td class="struct_member_description"><p>interface version. Presently 1 or 2.</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-iostream.html#raptor-iostream-init-func" title="raptor_iostream_init_func ()"><span class="type">raptor_iostream_init_func</span></a> <em class="structfield"><code><a name="raptor-iostream-handler.init"></a>init</code></em>;</p></td>
+<td class="struct_member_description"><p>initialisation handler - optional, called at most once (V1)</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-iostream.html#raptor-iostream-finish-func" title="raptor_iostream_finish_func ()"><span class="type">raptor_iostream_finish_func</span></a> <em class="structfield"><code><a name="raptor-iostream-handler.finish"></a>finish</code></em>;</p></td>
+<td class="struct_member_description"><p>finishing handler - optional, called at most once (V1)</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-iostream.html#raptor-iostream-write-byte-func" title="raptor_iostream_write_byte_func ()"><span class="type">raptor_iostream_write_byte_func</span></a> <em class="structfield"><code><a name="raptor-iostream-handler.write-byte"></a>write_byte</code></em>;</p></td>
+<td class="struct_member_description"><p>write byte handler - required (for writing) (V1)</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-iostream.html#raptor-iostream-write-bytes-func" title="raptor_iostream_write_bytes_func ()"><span class="type">raptor_iostream_write_bytes_func</span></a> <em class="structfield"><code><a name="raptor-iostream-handler.write-bytes"></a>write_bytes</code></em>;</p></td>
+<td class="struct_member_description"><p>write bytes handler - required (for writing) (V1)</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-iostream.html#raptor-iostream-write-end-func" title="raptor_iostream_write_end_func ()"><span class="type">raptor_iostream_write_end_func</span></a> <em class="structfield"><code><a name="raptor-iostream-handler.write-end"></a>write_end</code></em>;</p></td>
+<td class="struct_member_description"><p>write end handler - optional (for writing), called at most once (V1)</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-iostream.html#raptor-iostream-read-bytes-func" title="raptor_iostream_read_bytes_func ()"><span class="type">raptor_iostream_read_bytes_func</span></a> <em class="structfield"><code><a name="raptor-iostream-handler.read-bytes"></a>read_bytes</code></em>;</p></td>
+<td class="struct_member_description"><p>read bytes handler - required (for reading) (V2)</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-iostream.html#raptor-iostream-read-eof-func" title="raptor_iostream_read_eof_func ()"><span class="type">raptor_iostream_read_eof_func</span></a> <em class="structfield"><code><a name="raptor-iostream-handler.read-eof"></a>read_eof</code></em>;</p></td>
+<td class="struct_member_description"><p>read EOF handler - required (for reading) (V2)</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-escaped-write-bitflags"></a><h3>enum raptor_escaped_write_bitflags</h3>
+<p>Bit flags for <a class="link" href="raptor2-section-iostream.html#raptor-string-escaped-write" title="raptor_string_escaped_write ()"><code class="function">raptor_string_escaped_write()</code></a> and friends.</p>
+<div class="refsect3">
+<a name="raptor-escaped-write-bitflags.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="enum_members_name">
+<col class="enum_members_description">
+<col width="200px" class="enum_members_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-ESCAPED-WRITE-BITFLAG-BS-ESCAPES-BF:CAPS"></a>RAPTOR_ESCAPED_WRITE_BITFLAG_BS_ESCAPES_BF</p></td>
+<td class="enum_member_description">
+<p>Allow \b \f,</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-ESCAPED-WRITE-BITFLAG-BS-ESCAPES-TNRU:CAPS"></a>RAPTOR_ESCAPED_WRITE_BITFLAG_BS_ESCAPES_TNRU</p></td>
+<td class="enum_member_description">
+<p>Allow \t \n \r \u \U</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-ESCAPED-WRITE-BITFLAG-UTF8:CAPS"></a>RAPTOR_ESCAPED_WRITE_BITFLAG_UTF8</p></td>
+<td class="enum_member_description">
+<p>Use UTF-8 instead of \u \U for U+0080 or larger (will always use \u for U+0000..U+001F and U+007F)</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-ESCAPED-WRITE-BITFLAG-SPARQL-URI-ESCAPES:CAPS"></a>RAPTOR_ESCAPED_WRITE_BITFLAG_SPARQL_URI_ESCAPES</p></td>
+<td class="enum_member_description">
+<p>Must escape <span class="type">x00</span>-<span class="type">x20</span>&lt;&gt;\"{}|^` in URIs</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-ESCAPED-WRITE-NTRIPLES-LITERAL:CAPS"></a>RAPTOR_ESCAPED_WRITE_NTRIPLES_LITERAL</p></td>
+<td class="enum_member_description">
+<p>N-Triples literal</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-ESCAPED-WRITE-NTRIPLES-URI:CAPS"></a>RAPTOR_ESCAPED_WRITE_NTRIPLES_URI</p></td>
+<td class="enum_member_description">
+<p>N-Triples URI</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-ESCAPED-WRITE-SPARQL-LITERAL:CAPS"></a>RAPTOR_ESCAPED_WRITE_SPARQL_LITERAL</p></td>
+<td class="enum_member_description">
+<p>SPARQL literal: allows raw UTF8 for printable literals</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-ESCAPED-WRITE-SPARQL-LONG-LITERAL:CAPS"></a>RAPTOR_ESCAPED_WRITE_SPARQL_LONG_LITERAL</p></td>
+<td class="enum_member_description">
+<p>SPARQL long literal: no BS-escapes allowed</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-ESCAPED-WRITE-SPARQL-URI:CAPS"></a>RAPTOR_ESCAPED_WRITE_SPARQL_URI</p></td>
+<td class="enum_member_description">
+<p>SPARQL uri: have to escape certain characters </p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-ESCAPED-WRITE-TURTLE-URI:CAPS"></a>RAPTOR_ESCAPED_WRITE_TURTLE_URI</p></td>
+<td class="enum_member_description">
+<p>Turtle 2013 URIs (like SPARQL)</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-ESCAPED-WRITE-TURTLE-LITERAL:CAPS"></a>RAPTOR_ESCAPED_WRITE_TURTLE_LITERAL</p></td>
+<td class="enum_member_description">
+<p>Turtle 2013 literals (like SPARQL)</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-ESCAPED-WRITE-TURTLE-LONG-LITERAL:CAPS"></a>RAPTOR_ESCAPED_WRITE_TURTLE_LONG_LITERAL</p></td>
+<td class="enum_member_description">
+<p>Turtle 2013 long literals (like SPARQL)</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-ESCAPED-WRITE-JSON-LITERAL:CAPS"></a>RAPTOR_ESCAPED_WRITE_JSON_LITERAL</p></td>
+<td class="enum_member_description">
+<p>JSON literals: UTF-8 plus \b \f \t \r \n, \uXXXX only, no \U</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-section-locator.html b/docs/html/raptor2-section-locator.html
new file mode 100644
index 0000000..785782e
--- /dev/null
+++ b/docs/html/raptor2-section-locator.html
@@ -0,0 +1,384 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>section-locator: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor2-section-iostream.html" title="section-iostream">
+<link rel="next" href="raptor2-section-parser.html" title="section-parser">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#raptor2-section-locator.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-section-iostream.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-section-parser.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="raptor2-section-locator"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="raptor2-section-locator.top_of_page"></a>section-locator</span></h2>
+<p>section-locator</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="raptor2-section-locator.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-locator.html#raptor-locator-print" title="raptor_locator_print ()">raptor_locator_print</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-locator.html#raptor-locator-format" title="raptor_locator_format ()">raptor_locator_format</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-locator.html#raptor-locator-line" title="raptor_locator_line ()">raptor_locator_line</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-locator.html#raptor-locator-column" title="raptor_locator_column ()">raptor_locator_column</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-locator.html#raptor-locator-byte" title="raptor_locator_byte ()">raptor_locator_byte</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-locator.html#raptor-locator-file" title="raptor_locator_file ()">raptor_locator_file</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-locator.html#raptor-locator-uri" title="raptor_locator_uri ()">raptor_locator_uri</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-locator.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="other_proto_type">
+<col class="other_proto_name">
+</colgroup>
+<tbody><tr>
+<td class="datatype_keyword"> </td>
+<td class="function_name"><a class="link" href="raptor2-section-locator.html#raptor-locator" title="raptor_locator">raptor_locator</a></td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-locator.description"></a><h2>Description</h2>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-locator.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="raptor-locator-print"></a><h3>raptor_locator_print ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_locator_print (<em class="parameter"><code><a class="link" href="raptor2-section-locator.html#raptor-locator" title="raptor_locator"><span class="type">raptor_locator</span></a> *locator</code></em>,
+ <em class="parameter"><code><span class="type">FILE</span> *stream</code></em>);</pre>
+<p>Print a raptor locator to a stream.</p>
+<div class="refsect3">
+<a name="raptor-locator-print.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>locator</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-locator.html#raptor-locator" title="raptor_locator"><span class="type">raptor_locator</span></a> to print</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>stream</p></td>
+<td class="parameter_description"><p>stream to print to</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-locator-print.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-locator-format"></a><h3>raptor_locator_format ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_locator_format (<em class="parameter"><code><span class="type">char</span> *buffer</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> length</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-locator.html#raptor-locator" title="raptor_locator"><span class="type">raptor_locator</span></a> *locator</code></em>);</pre>
+<p>Format a raptor locator as a string.</p>
+<p>If buffer is NULL or <em class="parameter"><code>length</code></em>
+ is insufficient for the size of
+the locator, returns the number of additional bytes required
+in the buffer to write the locator. Writes a terminating '\0'.</p>
+<div class="refsect3">
+<a name="raptor-locator-format.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>buffer</p></td>
+<td class="parameter_description"><p>buffer to store format</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>size of buffer (excluding NUL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>locator</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-locator.html#raptor-locator" title="raptor_locator"><span class="type">raptor_locator</span></a> to format</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-locator-format.returns"></a><h4>Returns</h4>
+<p> 0 on success, &gt;0 if additional bytes required in buffer, &lt;0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-locator-line"></a><h3>raptor_locator_line ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_locator_line (<em class="parameter"><code><a class="link" href="raptor2-section-locator.html#raptor-locator" title="raptor_locator"><span class="type">raptor_locator</span></a> *locator</code></em>);</pre>
+<p>Get line number from locator.</p>
+<div class="refsect3">
+<a name="raptor-locator-line.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>locator</p></td>
+<td class="parameter_description"><p>locator</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-locator-line.returns"></a><h4>Returns</h4>
+<p> integer line number, or -1 if there is no line number available</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-locator-column"></a><h3>raptor_locator_column ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_locator_column (<em class="parameter"><code><a class="link" href="raptor2-section-locator.html#raptor-locator" title="raptor_locator"><span class="type">raptor_locator</span></a> *locator</code></em>);</pre>
+<p>Get column number from locator.</p>
+<div class="refsect3">
+<a name="raptor-locator-column.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>locator</p></td>
+<td class="parameter_description"><p>locator</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-locator-column.returns"></a><h4>Returns</h4>
+<p> integer column number, or -1 if there is no column number available</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-locator-byte"></a><h3>raptor_locator_byte ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_locator_byte (<em class="parameter"><code><a class="link" href="raptor2-section-locator.html#raptor-locator" title="raptor_locator"><span class="type">raptor_locator</span></a> *locator</code></em>);</pre>
+<p>Get the locator byte offset from locator.</p>
+<div class="refsect3">
+<a name="raptor-locator-byte.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>locator</p></td>
+<td class="parameter_description"><p>locator</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-locator-byte.returns"></a><h4>Returns</h4>
+<p> integer byte number, or -1 if there is no byte offset available</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-locator-file"></a><h3>raptor_locator_file ()</h3>
+<pre class="programlisting">const <span class="returnvalue">char</span> *
+raptor_locator_file (<em class="parameter"><code><a class="link" href="raptor2-section-locator.html#raptor-locator" title="raptor_locator"><span class="type">raptor_locator</span></a> *locator</code></em>);</pre>
+<p>Get file name from locator.</p>
+<div class="refsect3">
+<a name="raptor-locator-file.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>locator</p></td>
+<td class="parameter_description"><p>locator</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-locator-file.returns"></a><h4>Returns</h4>
+<p> string file name, or NULL if there is no filename available</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-locator-uri"></a><h3>raptor_locator_uri ()</h3>
+<pre class="programlisting">const <span class="returnvalue">char</span> *
+raptor_locator_uri (<em class="parameter"><code><a class="link" href="raptor2-section-locator.html#raptor-locator" title="raptor_locator"><span class="type">raptor_locator</span></a> *locator</code></em>);</pre>
+<p>Get URI from locator.</p>
+<p>Returns a pointer to a shared string version of the URI in
+the locator. This must be copied if it is needed.</p>
+<div class="refsect3">
+<a name="raptor-locator-uri.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>locator</p></td>
+<td class="parameter_description"><p>locator</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-locator-uri.returns"></a><h4>Returns</h4>
+<p> string URI, or NULL if there is no URI available</p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-locator.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="raptor-locator"></a><h3>raptor_locator</h3>
+<pre class="programlisting">typedef struct {
+ raptor_uri *uri;
+ const char *file;
+ int line;
+ int column;
+ int byte;
+
+} raptor_locator;
+</pre>
+<p>Location information for an error, warning or information message.</p>
+<div class="refsect3">
+<a name="raptor-locator.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="struct_members_name">
+<col class="struct_members_description">
+<col width="200px" class="struct_members_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *<em class="structfield"><code><a name="raptor-locator.uri"></a>uri</code></em>;</p></td>
+<td class="struct_member_description"><p>URI of location (or NULL)</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p>const <span class="type">char</span> *<em class="structfield"><code><a name="raptor-locator.file"></a>file</code></em>;</p></td>
+<td class="struct_member_description"><p>Filename of location (or NULL)</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><span class="type">int</span> <em class="structfield"><code><a name="raptor-locator.line"></a>line</code></em>;</p></td>
+<td class="struct_member_description"><p>Line number of location (or &lt;0 for no line)</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><span class="type">int</span> <em class="structfield"><code><a name="raptor-locator.column"></a>column</code></em>;</p></td>
+<td class="struct_member_description"><p>Column number of location (or &lt;0 for no column)</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><span class="type">int</span> <em class="structfield"><code><a name="raptor-locator.byte"></a>byte</code></em>;</p></td>
+<td class="struct_member_description"><p>Byte number of location (or &lt;0 for no byte)</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-section-memory.html b/docs/html/raptor2-section-memory.html
new file mode 100644
index 0000000..6a067a9
--- /dev/null
+++ b/docs/html/raptor2-section-memory.html
@@ -0,0 +1,183 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>section-memory: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor2-section-general.html" title="section-general">
+<link rel="next" href="raptor2-section-avltree.html" title="section-avltree">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#raptor2-section-memory.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-section-general.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-section-avltree.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="raptor2-section-memory"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="raptor2-section-memory.top_of_page"></a>section-memory</span></h2>
+<p>section-memory</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="raptor2-section-memory.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-memory.html#raptor-free-memory" title="raptor_free_memory ()">raptor_free_memory</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-memory.html#raptor-alloc-memory" title="raptor_alloc_memory ()">raptor_alloc_memory</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-memory.html#raptor-calloc-memory" title="raptor_calloc_memory ()">raptor_calloc_memory</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-memory.description"></a><h2>Description</h2>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-memory.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="raptor-free-memory"></a><h3>raptor_free_memory ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_free_memory (<em class="parameter"><code><span class="type">void</span> *ptr</code></em>);</pre>
+<p>Free memory allocated inside raptor.</p>
+<p>Some systems require memory allocated in a library to
+be deallocated in that library. This function allows
+memory allocated by raptor to be freed.</p>
+<p>Examples include the result of the '_to_' methods that returns
+allocated memory such as raptor_uri_filename_to_uri_string,
+raptor_uri_filename_to_uri_string
+and raptor_uri_uri_string_to_filename_fragment</p>
+<div class="refsect3">
+<a name="raptor-free-memory.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>ptr</p></td>
+<td class="parameter_description"><p>memory pointer</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-alloc-memory"></a><h3>raptor_alloc_memory ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span> *
+raptor_alloc_memory (<em class="parameter"><code><span class="type">size_t</span> size</code></em>);</pre>
+<p>Allocate memory inside raptor.</p>
+<p>Some systems require memory allocated in a library to
+be deallocated in that library. This function allows
+memory to be allocated inside the raptor shared library
+that can be freed inside raptor either internally or via
+raptor_free_memory.</p>
+<p>Examples include using this in the <a class="link" href="raptor2-section-world.html#raptor-world-generate-bnodeid" title="raptor_world_generate_bnodeid ()"><code class="function">raptor_world_generate_bnodeid()</code></a> handler
+code to create new strings that will be used internally
+as short identifiers and freed later on by the parsers.</p>
+<div class="refsect3">
+<a name="raptor-alloc-memory.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>size</p></td>
+<td class="parameter_description"><p>size of memory to allocate</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-alloc-memory.returns"></a><h4>Returns</h4>
+<p> the address of the allocated memory or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-calloc-memory"></a><h3>raptor_calloc_memory ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span> *
+raptor_calloc_memory (<em class="parameter"><code><span class="type">size_t</span> nmemb</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> size</code></em>);</pre>
+<p>Allocate zeroed array of items inside raptor.</p>
+<p>Some systems require memory allocated in a library to
+be deallocated in that library. This function allows
+memory to be allocated inside the raptor shared library
+that can be freed inside raptor either internally or via
+raptor_free_memory.</p>
+<p>Examples include using this in the <a class="link" href="raptor2-section-world.html#raptor-world-generate-bnodeid" title="raptor_world_generate_bnodeid ()"><code class="function">raptor_world_generate_bnodeid()</code></a> handler
+code to create new strings that will be used internally
+as short identifiers and freed later on by the parsers.</p>
+<div class="refsect3">
+<a name="raptor-calloc-memory.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>nmemb</p></td>
+<td class="parameter_description"><p>number of members</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>size</p></td>
+<td class="parameter_description"><p>size of item</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-calloc-memory.returns"></a><h4>Returns</h4>
+<p> the address of the allocated memory or NULL on failure</p>
+</div>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-section-option.html b/docs/html/raptor2-section-option.html
new file mode 100644
index 0000000..66284a9
--- /dev/null
+++ b/docs/html/raptor2-section-option.html
@@ -0,0 +1,731 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>section-option: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor2-section-constants.html" title="section-constants">
+<link rel="next" href="raptor2-section-iostream.html" title="section-iostream">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#raptor2-section-option.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-section-constants.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-section-iostream.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="raptor2-section-option"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="raptor2-section-option.top_of_page"></a>section-option</span></h2>
+<p>section-option</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="raptor2-section-option.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-option.html#raptor-option-get-count" title="raptor_option_get_count ()">raptor_option_get_count</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-option.html#raptor-option-get-value-type-label" title="raptor_option_get_value_type_label ()">raptor_option_get_value_type_label</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-option.html#raptor-option-description" title="raptor_option_description"><span class="returnvalue">raptor_option_description</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-option.html#raptor-world-get-option-description" title="raptor_world_get_option_description ()">raptor_world_get_option_description</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-option.html#raptor-free-option-description" title="raptor_free_option_description ()">raptor_free_option_description</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="returnvalue">raptor_option</span></a>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-option.html#raptor-world-get-option-from-uri" title="raptor_world_get_option_from_uri ()">raptor_world_get_option_from_uri</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-option.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="other_proto_type">
+<col class="other_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="datatype_keyword">enum</td>
+<td class="function_name"><a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option">raptor_option</a></td>
+</tr>
+<tr>
+<td class="datatype_keyword"> </td>
+<td class="function_name"><a class="link" href="raptor2-section-option.html#raptor-option-description" title="raptor_option_description">raptor_option_description</a></td>
+</tr>
+<tr>
+<td class="datatype_keyword">enum</td>
+<td class="function_name"><a class="link" href="raptor2-section-option.html#raptor-option-value-type" title="enum raptor_option_value_type">raptor_option_value_type</a></td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-option.description"></a><h2>Description</h2>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-option.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="raptor-option-get-count"></a><h3>raptor_option_get_count ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">int</span>
+raptor_option_get_count (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
+<p>Get the count of options defined.</p>
+<p>This is prefered to the compile time-only symbol <a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-LAST:CAPS"><span class="type">RAPTOR_OPTION_LAST</span></a>
+and returns a count of the number of options which is
+<a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-LAST:CAPS"><span class="type">RAPTOR_OPTION_LAST</span></a> + 1.</p>
+<div class="refsect3">
+<a name="raptor-option-get-count.returns"></a><h4>Returns</h4>
+<p> count of options in the <a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="type">raptor_option</span></a> enumeration</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-option-get-value-type-label"></a><h3>raptor_option_get_value_type_label ()</h3>
+<pre class="programlisting">const <span class="returnvalue">char</span> *
+raptor_option_get_value_type_label (<em class="parameter"><code>const <a class="link" href="raptor2-section-option.html#raptor-option-value-type" title="enum raptor_option_value_type"><span class="type">raptor_option_value_type</span></a> type</code></em>);</pre>
+<p>Get a label for a value type</p>
+<div class="refsect3">
+<a name="raptor-option-get-value-type-label.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>type</p></td>
+<td class="parameter_description"><p>value type</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-option-get-value-type-label.returns"></a><h4>Returns</h4>
+<p> label for type or NULL for invalid type</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-world-get-option-description"></a><h3>raptor_world_get_option_description ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-option.html#raptor-option-description" title="raptor_option_description"><span class="returnvalue">raptor_option_description</span></a> *
+raptor_world_get_option_description (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>const <a class="link" href="raptor2-section-general.html#raptor-domain" title="enum raptor_domain"><span class="type">raptor_domain</span></a> domain</code></em>,
+ <em class="parameter"><code>const <a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="type">raptor_option</span></a> option</code></em>);</pre>
+<p>Get a description of an option for a domain.</p>
+<p>The returned description must be freed with
+<a class="link" href="raptor2-section-option.html#raptor-free-option-description" title="raptor_free_option_description ()"><code class="function">raptor_free_option_description()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-world-get-option-description.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>domain</p></td>
+<td class="parameter_description"><p>domain</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>option</p></td>
+<td class="parameter_description"><p>option enumeration (0+)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-world-get-option-description.returns"></a><h4>Returns</h4>
+<p> option description or NULL on failure or if option is unknown</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-free-option-description"></a><h3>raptor_free_option_description ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_free_option_description (<em class="parameter"><code><a class="link" href="raptor2-section-option.html#raptor-option-description" title="raptor_option_description"><span class="type">raptor_option_description</span></a> *option_description</code></em>);</pre>
+<p>Destructor - free an option description object.</p>
+<div class="refsect3">
+<a name="raptor-free-option-description.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>option_description</p></td>
+<td class="parameter_description"><p>option description</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-world-get-option-from-uri"></a><h3>raptor_world_get_option_from_uri ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="returnvalue">raptor_option</span></a>
+raptor_world_get_option_from_uri (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>);</pre>
+<p>Get an option ID from a URI</p>
+<p>Option URIs are the concatenation of the string
+"http://feature.librdf.org/raptor-" plus the short name.</p>
+<p>They are automatically returned for any option described with
+<a class="link" href="raptor2-section-option.html#raptor-world-get-option-description" title="raptor_world_get_option_description ()"><code class="function">raptor_world_get_option_description()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-world-get-option-from-uri.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world instance</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>option URI</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-world-get-option-from-uri.returns"></a><h4>Returns</h4>
+<p> &lt; 0 if the option is unknown or on error</p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-option.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="raptor-option"></a><h3>enum raptor_option</h3>
+<p>Raptor parser, serializer or XML writer options.</p>
+<div class="refsect3">
+<a name="raptor-option.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="enum_members_name">
+<col class="enum_members_description">
+<col width="200px" class="enum_members_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-SCANNING:CAPS"></a>RAPTOR_OPTION_SCANNING</p></td>
+<td class="enum_member_description">
+<p>If true (default false), the RDF/XML
+parser will look for embedded rdf:RDF elements inside the XML
+content, and not require that the XML start with an rdf:RDF root
+element.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-ALLOW-NON-NS-ATTRIBUTES:CAPS"></a>RAPTOR_OPTION_ALLOW_NON_NS_ATTRIBUTES</p></td>
+<td class="enum_member_description">
+<p>If true (default true)
+then the RDF/XML parser will allow non-XML namespaced attributes
+to be accepted as well as rdf: namespaced ones. For example,
+'about' and 'ID' will be interpreted as if they were rdf:about
+and rdf:ID respectively.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-ALLOW-OTHER-PARSETYPES:CAPS"></a>RAPTOR_OPTION_ALLOW_OTHER_PARSETYPES</p></td>
+<td class="enum_member_description">
+<p>If true (default true)
+then the RDF/XML parser will allow unknown parsetypes to be
+present and will pass them on to the user. Unimplemented at
+present.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-ALLOW-BAGID:CAPS"></a>RAPTOR_OPTION_ALLOW_BAGID</p></td>
+<td class="enum_member_description">
+<p>If true (default true) then the
+RDF/XML parser will support the rdf:bagID attribute that was
+removed from the RDF/XML language when it was revised. This
+support may be removed in future.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-ALLOW-RDF-TYPE-RDF-LIST:CAPS"></a>RAPTOR_OPTION_ALLOW_RDF_TYPE_RDF_LIST</p></td>
+<td class="enum_member_description">
+<p>If true (default false)
+then the RDF/XML parser will generate the idList rdf:type
+rdf:List triple in the handling of rdf:parseType="Collection".
+This triple was removed during the revising of RDF/XML after
+collections were initially added.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-NORMALIZE-LANGUAGE:CAPS"></a>RAPTOR_OPTION_NORMALIZE_LANGUAGE</p></td>
+<td class="enum_member_description">
+<p>If true (default true) then
+XML language values such as from xml:lang will be normalized to
+lowercase.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-NON-NFC-FATAL:CAPS"></a>RAPTOR_OPTION_NON_NFC_FATAL</p></td>
+<td class="enum_member_description">
+<p>If true (default false) then
+illegal Unicode Normal Form C in literals will give a fatal
+error, otherwise just a warning.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WARN-OTHER-PARSETYPES:CAPS"></a>RAPTOR_OPTION_WARN_OTHER_PARSETYPES</p></td>
+<td class="enum_member_description">
+<p>If true (default true) then
+
+the RDF/XML parser will warn about unknown rdf:parseType values.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-CHECK-RDF-ID:CAPS"></a>RAPTOR_OPTION_CHECK_RDF_ID</p></td>
+<td class="enum_member_description">
+<p>If true (default true) then the
+RDF/XML will check rdf:ID attribute values for duplicates and
+cause an error if any are found.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-RELATIVE-URIS:CAPS"></a>RAPTOR_OPTION_RELATIVE_URIS</p></td>
+<td class="enum_member_description">
+<p>If true (default true) then
+relative URIs will be used wherever possible when serializing.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WRITER-AUTO-INDENT:CAPS"></a>RAPTOR_OPTION_WRITER_AUTO_INDENT</p></td>
+<td class="enum_member_description">
+<p>Automatically indent elements when
+seriailizing.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WRITER-AUTO-EMPTY:CAPS"></a>RAPTOR_OPTION_WRITER_AUTO_EMPTY</p></td>
+<td class="enum_member_description">
+<p>Automatically detect and
+abbreviate empty elements when serializing.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WRITER-INDENT-WIDTH:CAPS"></a>RAPTOR_OPTION_WRITER_INDENT_WIDTH</p></td>
+<td class="enum_member_description">
+<p>Integer number of spaces to use
+for each indent level when serializing with auto indent.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WRITER-XML-VERSION:CAPS"></a>RAPTOR_OPTION_WRITER_XML_VERSION</p></td>
+<td class="enum_member_description">
+<p>Integer XML version XML 1.0 (10) or XML 1.1 (11)</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WRITER-XML-DECLARATION:CAPS"></a>RAPTOR_OPTION_WRITER_XML_DECLARATION</p></td>
+<td class="enum_member_description">
+<p>Write XML 1.0 or 1.1 declaration.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-NO-NET:CAPS"></a>RAPTOR_OPTION_NO_NET</p></td>
+<td class="enum_member_description">
+<p>Deny network requests inside other requests.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-RESOURCE-BORDER:CAPS"></a>RAPTOR_OPTION_RESOURCE_BORDER</p></td>
+<td class="enum_member_description">
+<p>Border color of resource
+nodes for GraphViz DOT serializer.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-LITERAL-BORDER:CAPS"></a>RAPTOR_OPTION_LITERAL_BORDER</p></td>
+<td class="enum_member_description">
+<p>Border color of literal nodes
+for GraphViz DOT serializer.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-BNODE-BORDER:CAPS"></a>RAPTOR_OPTION_BNODE_BORDER</p></td>
+<td class="enum_member_description">
+<p>Border color of blank nodes for
+GraphViz DOT serializer.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-RESOURCE-FILL:CAPS"></a>RAPTOR_OPTION_RESOURCE_FILL</p></td>
+<td class="enum_member_description">
+<p>Fill color of resource nodes
+for GraphViz DOT serializer.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-LITERAL-FILL:CAPS"></a>RAPTOR_OPTION_LITERAL_FILL</p></td>
+<td class="enum_member_description">
+<p>Fill color of literal nodes for
+GraphViz DOT serializer.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-BNODE-FILL:CAPS"></a>RAPTOR_OPTION_BNODE_FILL</p></td>
+<td class="enum_member_description">
+<p>Fill color of blank nodes for
+GraphViz DOT serializer.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-HTML-TAG-SOUP:CAPS"></a>RAPTOR_OPTION_HTML_TAG_SOUP</p></td>
+<td class="enum_member_description">
+<p>Use a lax HTML parser if an XML parser
+fails when read HTML for GRDDL parser.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-MICROFORMATS:CAPS"></a>RAPTOR_OPTION_MICROFORMATS</p></td>
+<td class="enum_member_description">
+<p>Look for microformats for GRDDL parser.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-HTML-LINK:CAPS"></a>RAPTOR_OPTION_HTML_LINK</p></td>
+<td class="enum_member_description">
+<p>Look for head &lt;link&gt; to type rdf/xml
+for GRDDL parser.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WWW-TIMEOUT:CAPS"></a>RAPTOR_OPTION_WWW_TIMEOUT</p></td>
+<td class="enum_member_description">
+<p>Set timeout for internal WWW URI requests
+for GRDDL parser.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WRITE-BASE-URI:CAPS"></a>RAPTOR_OPTION_WRITE_BASE_URI</p></td>
+<td class="enum_member_description">
+<p>Write <em class="parameter"><code>base</code></em>
+ directive for Turtle/N3.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WWW-HTTP-CACHE-CONTROL:CAPS"></a>RAPTOR_OPTION_WWW_HTTP_CACHE_CONTROL</p></td>
+<td class="enum_member_description">
+<p>HTTP Cache-Control: header</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WWW-HTTP-USER-AGENT:CAPS"></a>RAPTOR_OPTION_WWW_HTTP_USER_AGENT</p></td>
+<td class="enum_member_description">
+<p>HTTP User-Agent: header</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-JSON-CALLBACK:CAPS"></a>RAPTOR_OPTION_JSON_CALLBACK</p></td>
+<td class="enum_member_description">
+<p>JSON serializer callback function.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-JSON-EXTRA-DATA:CAPS"></a>RAPTOR_OPTION_JSON_EXTRA_DATA</p></td>
+<td class="enum_member_description">
+<p>JSON serializer extra top-level data</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-RSS-TRIPLES:CAPS"></a>RAPTOR_OPTION_RSS_TRIPLES</p></td>
+<td class="enum_member_description">
+<p>Atom/RSS serializer writes extra RDF triples it finds (none, rdf-xml, atom-triples)</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-ATOM-ENTRY-URI:CAPS"></a>RAPTOR_OPTION_ATOM_ENTRY_URI</p></td>
+<td class="enum_member_description">
+<p>Atom entry URI. If given, generate an Atom Entry Document with the item having the given URI, otherwise generate an Atom Feed Document with any items found.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-PREFIX-ELEMENTS:CAPS"></a>RAPTOR_OPTION_PREFIX_ELEMENTS</p></td>
+<td class="enum_member_description">
+<p>Integer. If set, generate Atom/RSS1.0 documents with prefixed elements, otherwise unprefixed.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-STRICT:CAPS"></a>RAPTOR_OPTION_STRICT</p></td>
+<td class="enum_member_description">
+<p>Boolean. If set, operate in strict conformance mode.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WWW-CERT-FILENAME:CAPS"></a>RAPTOR_OPTION_WWW_CERT_FILENAME</p></td>
+<td class="enum_member_description">
+<p>String. SSL client certificate filename</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WWW-CERT-TYPE:CAPS"></a>RAPTOR_OPTION_WWW_CERT_TYPE</p></td>
+<td class="enum_member_description">
+<p>String. SSL client certificate type</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WWW-CERT-PASSPHRASE:CAPS"></a>RAPTOR_OPTION_WWW_CERT_PASSPHRASE</p></td>
+<td class="enum_member_description">
+<p>String. SSL client certificate passphrase</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-NO-FILE:CAPS"></a>RAPTOR_OPTION_NO_FILE</p></td>
+<td class="enum_member_description">
+<p>Deny file reading requests inside other requests.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WWW-SSL-VERIFY-PEER:CAPS"></a>RAPTOR_OPTION_WWW_SSL_VERIFY_PEER</p></td>
+<td class="enum_member_description">
+<p>Integer. SSL verify peer - non-0 to verify peer SSL certificate (default)</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-WWW-SSL-VERIFY-HOST:CAPS"></a>RAPTOR_OPTION_WWW_SSL_VERIFY_HOST</p></td>
+<td class="enum_member_description">
+<p>Integer. SSL verify host - 0 none, 1 CN match, 2 host match (default). Other values are ignored.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-LOAD-EXTERNAL-ENTITIES:CAPS"></a>RAPTOR_OPTION_LOAD_EXTERNAL_ENTITIES</p></td>
+<td class="enum_member_description">
+<p>When reading XML, load external entities.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-LAST:CAPS"></a>RAPTOR_OPTION_LAST</p></td>
+<td class="enum_member_description">
+<p>Internal</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-option-description"></a><h3>raptor_option_description</h3>
+<pre class="programlisting">typedef struct {
+ raptor_domain domain;
+ raptor_option option;
+ raptor_option_value_type value_type;
+ const char* name;
+ size_t name_len;
+ const char* label;
+ raptor_uri* uri;
+} raptor_option_description;
+</pre>
+<p>Description of an option for a domain.</p>
+<div class="refsect3">
+<a name="raptor-option-description.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="struct_members_name">
+<col class="struct_members_description">
+<col width="200px" class="struct_members_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-general.html#raptor-domain" title="enum raptor_domain"><span class="type">raptor_domain</span></a> <em class="structfield"><code><a name="raptor-option-description.domain"></a>domain</code></em>;</p></td>
+<td class="struct_member_description"><p>domain ID</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="type">raptor_option</span></a> <em class="structfield"><code><a name="raptor-option-description.option"></a>option</code></em>;</p></td>
+<td class="struct_member_description"><p>option ID</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-option.html#raptor-option-value-type" title="enum raptor_option_value_type"><span class="type">raptor_option_value_type</span></a> <em class="structfield"><code><a name="raptor-option-description.value-type"></a>value_type</code></em>;</p></td>
+<td class="struct_member_description"><p>data type of option value</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p>const <span class="type">char</span> *<em class="structfield"><code><a name="raptor-option-description.name"></a>name</code></em>;</p></td>
+<td class="struct_member_description"><p>short name for option</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><span class="type">size_t</span> <em class="structfield"><code><a name="raptor-option-description.name-len"></a>name_len</code></em>;</p></td>
+<td class="struct_member_description"><p>length of <em class="parameter"><code>name</code></em>
+</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p>const <span class="type">char</span> *<em class="structfield"><code><a name="raptor-option-description.label"></a>label</code></em>;</p></td>
+<td class="struct_member_description"><p>description of option</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *<em class="structfield"><code><a name="raptor-option-description.uri"></a>uri</code></em>;</p></td>
+<td class="struct_member_description"><p>URI identifying option</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-option-value-type"></a><h3>enum raptor_option_value_type</h3>
+<p>Option value types.</p>
+<div class="refsect3">
+<a name="raptor-option-value-type.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="enum_members_name">
+<col class="enum_members_description">
+<col width="200px" class="enum_members_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-VALUE-TYPE-BOOL:CAPS"></a>RAPTOR_OPTION_VALUE_TYPE_BOOL</p></td>
+<td class="enum_member_description">
+<p>Boolean integer value. Non-0 is true</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-VALUE-TYPE-INT:CAPS"></a>RAPTOR_OPTION_VALUE_TYPE_INT</p></td>
+<td class="enum_member_description">
+<p>Decimal integer value</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-VALUE-TYPE-STRING:CAPS"></a>RAPTOR_OPTION_VALUE_TYPE_STRING</p></td>
+<td class="enum_member_description">
+<p>String value</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-VALUE-TYPE-URI:CAPS"></a>RAPTOR_OPTION_VALUE_TYPE_URI</p></td>
+<td class="enum_member_description">
+<p>URI String value.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-OPTION-VALUE-TYPE-LAST:CAPS"></a>RAPTOR_OPTION_VALUE_TYPE_LAST</p></td>
+<td class="enum_member_description">
+<p>internal</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-section-parser.html b/docs/html/raptor2-section-parser.html
new file mode 100644
index 0000000..141d70e
--- /dev/null
+++ b/docs/html/raptor2-section-parser.html
@@ -0,0 +1,1286 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>section-parser: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor2-section-locator.html" title="section-locator">
+<link rel="next" href="raptor2-section-sax2.html" title="section-sax2">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#raptor2-section-parser.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-section-locator.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-section-sax2.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="raptor2-section-parser"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="raptor2-section-parser.top_of_page"></a>section-parser</span></h2>
+<p>section-parser</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="raptor2-section-parser.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="returnvalue">raptor_parser</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-new-parser" title="raptor_new_parser ()">raptor_new_parser</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="returnvalue">raptor_parser</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-new-parser-for-content" title="raptor_new_parser_for_content ()">raptor_new_parser_for_content</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-free-parser" title="raptor_free_parser ()">raptor_free_parser</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-parser.html#raptor-graph-mark-handler" title="raptor_graph_mark_handler ()">*raptor_graph_mark_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-parser.html#raptor-namespace-handler" title="raptor_namespace_handler ()">*raptor_namespace_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-parser-set-statement-handler" title="raptor_parser_set_statement_handler ()">raptor_parser_set_statement_handler</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-parser-set-graph-mark-handler" title="raptor_parser_set_graph_mark_handler ()">raptor_parser_set_graph_mark_handler</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-parser-set-namespace-handler" title="raptor_parser_set_namespace_handler ()">raptor_parser_set_namespace_handler</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <a class="link" href="raptor2-section-general.html#raptor-syntax-description" title="raptor_syntax_description"><span class="returnvalue">raptor_syntax_description</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-parser-get-description" title="raptor_parser_get_description ()">raptor_parser_get_description</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-locator.html#raptor-locator" title="raptor_locator"><span class="returnvalue">raptor_locator</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-parser-get-locator" title="raptor_parser_get_locator ()">raptor_parser_get_locator</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-parser-parse-abort" title="raptor_parser_parse_abort ()">raptor_parser_parse_abort</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-parser-parse-chunk" title="raptor_parser_parse_chunk ()">raptor_parser_parse_chunk</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-parser-parse-file" title="raptor_parser_parse_file ()">raptor_parser_parse_file</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-parser-parse-file-stream" title="raptor_parser_parse_file_stream ()">raptor_parser_parse_file_stream</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-parser-parse-iostream" title="raptor_parser_parse_iostream ()">raptor_parser_parse_iostream</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-parser-parse-start" title="raptor_parser_parse_start ()">raptor_parser_parse_start</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-parser-parse-uri" title="raptor_parser_parse_uri ()">raptor_parser_parse_uri</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-parser-parse-uri-with-connection" title="raptor_parser_parse_uri_with_connection ()">raptor_parser_parse_uri_with_connection</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-parser-get-graph" title="raptor_parser_get_graph ()">raptor_parser_get_graph</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-parser-get-name" title="raptor_parser_get_name ()">raptor_parser_get_name</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-parser-set-option" title="raptor_parser_set_option ()">raptor_parser_set_option</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-parser-get-option" title="raptor_parser_get_option ()">raptor_parser_get_option</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-parser-get-accept-header" title="raptor_parser_get_accept_header ()">raptor_parser_get_accept_header</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-parser-set-uri-filter" title="raptor_parser_set_uri_filter ()">raptor_parser_set_uri_filter</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="returnvalue">raptor_world</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-parser.html#raptor-parser-get-world" title="raptor_parser_get_world ()">raptor_parser_get_world</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-parser.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="other_proto_type">
+<col class="other_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="typedef_keyword">typedef</td>
+<td class="function_name"><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser">raptor_parser</a></td>
+</tr>
+<tr>
+<td class="datatype_keyword">enum</td>
+<td class="function_name"><a class="link" href="raptor2-section-parser.html#raptor-graph-mark-flags" title="enum raptor_graph_mark_flags">raptor_graph_mark_flags</a></td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-parser.description"></a><h2>Description</h2>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-parser.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="raptor-new-parser"></a><h3>raptor_new_parser ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="returnvalue">raptor_parser</span></a> *
+raptor_new_parser (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
+<p>Constructor - create a new raptor_parser object.</p>
+<div class="refsect3">
+<a name="raptor-new-parser.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>name</p></td>
+<td class="parameter_description"><p>the parser name or NULL for default parser</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-parser.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-parser-for-content"></a><h3>raptor_new_parser_for_content ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="returnvalue">raptor_parser</span></a> *
+raptor_new_parser_for_content (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *buffer</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> len</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *identifier</code></em>);</pre>
+<p>Constructor - create a new raptor_parser.</p>
+<p>Uses <a class="link" href="raptor2-section-world.html#raptor-world-guess-parser-name" title="raptor_world_guess_parser_name ()"><code class="function">raptor_world_guess_parser_name()</code></a> to find a parser by scoring
+recognition of the syntax by a block of characters, the content
+identifier or a mime type. The content identifier is typically a
+filename or URI or some other identifier.</p>
+<div class="refsect3">
+<a name="raptor-new-parser-for-content.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>URI identifying the syntax (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>mime_type</p></td>
+<td class="parameter_description"><p>mime type identifying the content (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>buffer</p></td>
+<td class="parameter_description"><p>buffer of content to guess (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len</p></td>
+<td class="parameter_description"><p>length of buffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>identifier</p></td>
+<td class="parameter_description"><p>identifier of content (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-parser-for-content.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-free-parser"></a><h3>raptor_free_parser ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_free_parser (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *parser</code></em>);</pre>
+<p>Destructor - destroy a raptor_parser object.</p>
+<div class="refsect3">
+<a name="raptor-free-parser.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>parser</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-graph-mark-handler"></a><h3>raptor_graph_mark_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+<span class="c_punctuation">(</span>*raptor_graph_mark_handler<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *graph</code></em>,
+ <em class="parameter"><code><span class="type">int</span> flags</code></em>);</pre>
+<p>Graph start/end mark handler function.</p>
+<p>Records start and end of graphs happening in a stream of generated
+<a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> via the statement handler. The callback starts a
+graph when <em class="parameter"><code>flags</code></em>
+ has <a class="link" href="raptor2-section-parser.html#RAPTOR-GRAPH-MARK-START:CAPS"><span class="type">RAPTOR_GRAPH_MARK_START</span></a> bit set.</p>
+<p>The start and ends may be either declared in the syntax via some
+keyword or mechanism such as TRiG {} syntax when <em class="parameter"><code>flags</code></em>
+ has bit
+<a class="link" href="raptor2-section-parser.html#RAPTOR-GRAPH-MARK-DECLARED:CAPS"><span class="type">RAPTOR_GRAPH_MARK_DECLARED</span></a> set, or be implied by the start/end of
+the data in other syntaxes, and the bit will be unset.</p>
+<div class="refsect3">
+<a name="raptor-graph-mark-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>graph</p></td>
+<td class="parameter_description"><p>graph to report, NULL for the default graph</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>flags</p></td>
+<td class="parameter_description"><p>bitmask of <a class="link" href="raptor2-section-parser.html#raptor-graph-mark-flags" title="enum raptor_graph_mark_flags"><span class="type">raptor_graph_mark_flags</span></a> flags</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-namespace-handler"></a><h3>raptor_namespace_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+<span class="c_punctuation">(</span>*raptor_namespace_handler<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> *nspace</code></em>);</pre>
+<p>XML Namespace declaration reporting handler set by
+<a class="link" href="raptor2-section-parser.html#raptor-parser-set-namespace-handler" title="raptor_parser_set_namespace_handler ()"><code class="function">raptor_parser_set_namespace_handler()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-namespace-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>nspace</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> declared</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-parser-set-statement-handler"></a><h3>raptor_parser_set_statement_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_parser_set_statement_handler (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *parser</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-statement-handler" title="raptor_statement_handler ()"><span class="type">raptor_statement_handler</span></a> handler</code></em>);</pre>
+<p>Set the statement handler function for the parser.</p>
+<p>Use this to set the function to receive statements as the parsing
+proceeds. The statement argument to <em class="parameter"><code>handler</code></em>
+ is shared and must be
+copied by the caller with <a class="link" href="raptor2-section-triples.html#raptor-statement-copy" title="raptor_statement_copy ()"><code class="function">raptor_statement_copy()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-parser-set-statement-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>parser</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> parser object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data pointer for callback</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>handler</p></td>
+<td class="parameter_description"><p>new statement callback function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-parser-set-graph-mark-handler"></a><h3>raptor_parser_set_graph_mark_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_parser_set_graph_mark_handler (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *parser</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-graph-mark-handler" title="raptor_graph_mark_handler ()"><span class="type">raptor_graph_mark_handler</span></a> handler</code></em>);</pre>
+<p>Set the graph mark handler function for the parser.</p>
+<p>See <a class="link" href="raptor2-section-parser.html#raptor-graph-mark-handler" title="raptor_graph_mark_handler ()"><span class="type">raptor_graph_mark_handler</span></a> and <a class="link" href="raptor2-section-parser.html#raptor-graph-mark-flags" title="enum raptor_graph_mark_flags"><span class="type">raptor_graph_mark_flags</span></a> for
+the marks that may be returned by the handler.</p>
+<div class="refsect3">
+<a name="raptor-parser-set-graph-mark-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>parser</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> parser object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data pointer for callback</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>handler</p></td>
+<td class="parameter_description"><p>new graph callback function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-parser-set-namespace-handler"></a><h3>raptor_parser_set_namespace_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_parser_set_namespace_handler (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *parser</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-namespace-handler" title="raptor_namespace_handler ()"><span class="type">raptor_namespace_handler</span></a> handler</code></em>);</pre>
+<p>Set the namespace handler function for the parser.</p>
+<p>When a prefix/namespace is seen in a parser, call the given
+<em class="parameter"><code>handler</code></em>
+ with the prefix string and the <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> namespace URI.
+Either can be NULL for the default prefix or default namespace.</p>
+<p>The handler function does not deal with duplicates so any
+namespace may be declared multiple times.</p>
+<div class="refsect3">
+<a name="raptor-parser-set-namespace-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>parser</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> parser object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data pointer for callback</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>handler</p></td>
+<td class="parameter_description"><p>new namespace callback function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-parser-get-description"></a><h3>raptor_parser_get_description ()</h3>
+<pre class="programlisting">const <a class="link" href="raptor2-section-general.html#raptor-syntax-description" title="raptor_syntax_description"><span class="returnvalue">raptor_syntax_description</span></a> *
+raptor_parser_get_description (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *rdf_parser</code></em>);</pre>
+<p>Get description of the syntaxes of the parser.</p>
+<p>The returned description is static and lives as long as the raptor
+library (raptor world).</p>
+<div class="refsect3">
+<a name="raptor-parser-get-description.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>rdf_parser</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> parser object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-parser-get-description.returns"></a><h4>Returns</h4>
+<p> description of syntax</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-parser-get-locator"></a><h3>raptor_parser_get_locator ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-locator.html#raptor-locator" title="raptor_locator"><span class="returnvalue">raptor_locator</span></a> *
+raptor_parser_get_locator (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *rdf_parser</code></em>);</pre>
+<p>Get the current raptor locator object.</p>
+<div class="refsect3">
+<a name="raptor-parser-get-locator.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>rdf_parser</p></td>
+<td class="parameter_description"><p>raptor parser</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-parser-get-locator.returns"></a><h4>Returns</h4>
+<p> raptor locator</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-parser-parse-abort"></a><h3>raptor_parser_parse_abort ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_parser_parse_abort (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *rdf_parser</code></em>);</pre>
+<p>Abort an ongoing parsing.</p>
+<p>Causes any ongoing generation of statements by a parser to be
+terminated and the parser to return controlto the application
+as soon as draining any existing buffers.</p>
+<p>Most useful inside <a class="link" href="raptor2-section-parser.html#raptor-parser-parse-file" title="raptor_parser_parse_file ()"><code class="function">raptor_parser_parse_file()</code></a> or
+<a class="link" href="raptor2-section-parser.html#raptor-parser-parse-uri" title="raptor_parser_parse_uri ()"><code class="function">raptor_parser_parse_uri()</code></a> when the Raptor library is directing the
+parsing and when one of the callback handlers such as as set by
+<a class="link" href="raptor2-section-parser.html#raptor-parser-set-statement-handler" title="raptor_parser_set_statement_handler ()"><code class="function">raptor_parser_set_statement_handler()</code></a> requires to return to the main
+application code.</p>
+<div class="refsect3">
+<a name="raptor-parser-parse-abort.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>rdf_parser</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> parser object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-parser-parse-chunk"></a><h3>raptor_parser_parse_chunk ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_parser_parse_chunk (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *rdf_parser</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *buffer</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> len</code></em>,
+ <em class="parameter"><code><span class="type">int</span> is_end</code></em>);</pre>
+<p>Parse a block of content into triples.</p>
+<p>This method can only be called after <a class="link" href="raptor2-section-parser.html#raptor-parser-parse-start" title="raptor_parser_parse_start ()"><code class="function">raptor_parser_parse_start()</code></a> has
+initialised the parser.</p>
+<div class="refsect3">
+<a name="raptor-parser-parse-chunk.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>rdf_parser</p></td>
+<td class="parameter_description"><p>RDF parser</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>buffer</p></td>
+<td class="parameter_description"><p>content to parse</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len</p></td>
+<td class="parameter_description"><p>length of buffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>is_end</p></td>
+<td class="parameter_description"><p>non-0 if this is the end of the content (such as EOF)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-parser-parse-chunk.returns"></a><h4>Returns</h4>
+<p> non-0 on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-parser-parse-file"></a><h3>raptor_parser_parse_file ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_parser_parse_file (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *rdf_parser</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *base_uri</code></em>);</pre>
+<p>Parse RDF content at a file URI.</p>
+<p>If <em class="parameter"><code>uri</code></em>
+ is NULL (source is stdin), then the <em class="parameter"><code>base_uri</code></em>
+ is required.</p>
+<div class="refsect3">
+<a name="raptor-parser-parse-file.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>rdf_parser</p></td>
+<td class="parameter_description"><p>parser</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>URI of RDF content or NULL to read from standard input</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>base_uri</p></td>
+<td class="parameter_description"><p>the base URI to use (or NULL if the same)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-parser-parse-file.returns"></a><h4>Returns</h4>
+<p> non 0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-parser-parse-file-stream"></a><h3>raptor_parser_parse_file_stream ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_parser_parse_file_stream (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *rdf_parser</code></em>,
+ <em class="parameter"><code><span class="type">FILE</span> *stream</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *base_uri</code></em>);</pre>
+<p>Parse RDF content from a FILE*.</p>
+<p>After draining the FILE* stream (EOF), fclose is not called on it.</p>
+<div class="refsect3">
+<a name="raptor-parser-parse-file-stream.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>rdf_parser</p></td>
+<td class="parameter_description"><p>parser</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>stream</p></td>
+<td class="parameter_description"><p>FILE* of RDF content</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>filename</p></td>
+<td class="parameter_description"><p>filename of content or NULL if it has no name</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>base_uri</p></td>
+<td class="parameter_description"><p>the base URI to use</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-parser-parse-file-stream.returns"></a><h4>Returns</h4>
+<p> non 0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-parser-parse-iostream"></a><h3>raptor_parser_parse_iostream ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_parser_parse_iostream (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *rdf_parser</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *base_uri</code></em>);</pre>
+<p>Parse content from an iostream</p>
+<p>If the parser requires a base URI and <em class="parameter"><code>base_uri</code></em>
+ is NULL, an error
+will be generated and the function will fail.</p>
+<div class="refsect3">
+<a name="raptor-parser-parse-iostream.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>rdf_parser</p></td>
+<td class="parameter_description"><p>parser</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>iostream to read from</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>base_uri</p></td>
+<td class="parameter_description"><p>the base URI to use (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-parser-parse-iostream.returns"></a><h4>Returns</h4>
+<p> non 0 on failure, &lt;0 if a required base URI was missing</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-parser-parse-start"></a><h3>raptor_parser_parse_start ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_parser_parse_start (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *rdf_parser</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>);</pre>
+<p>Start a parse of content with base URI.</p>
+<p>Parsers that need a base URI can be identified using a syntax
+description returned by <a class="link" href="raptor2-section-world.html#raptor-world-get-parser-description" title="raptor_world_get_parser_description ()"><code class="function">raptor_world_get_parser_description()</code></a>
+statically or <a class="link" href="raptor2-section-parser.html#raptor-parser-get-description" title="raptor_parser_get_description ()"><code class="function">raptor_parser_get_description()</code></a> on a constructed
+parser.</p>
+<div class="refsect3">
+<a name="raptor-parser-parse-start.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>rdf_parser</p></td>
+<td class="parameter_description"><p>RDF parser</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>base URI or may be NULL if no base URI is required</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-parser-parse-start.returns"></a><h4>Returns</h4>
+<p> non-0 on failure, &lt;0 if a required base URI was missing</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-parser-parse-uri"></a><h3>raptor_parser_parse_uri ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_parser_parse_uri (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *rdf_parser</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *base_uri</code></em>);</pre>
+<p>Parse the RDF content at URI.</p>
+<p>Sends an HTTP Accept: header whent the URI is of the HTTP protocol,
+see <a class="link" href="raptor2-section-parser.html#raptor-parser-parse-uri-with-connection" title="raptor_parser_parse_uri_with_connection ()"><code class="function">raptor_parser_parse_uri_with_connection()</code></a> for details including
+how the <em class="parameter"><code>base_uri</code></em>
+ is used.</p>
+<div class="refsect3">
+<a name="raptor-parser-parse-uri.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>rdf_parser</p></td>
+<td class="parameter_description"><p>parser</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>URI of RDF content</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>base_uri</p></td>
+<td class="parameter_description"><p>the base URI to use (or NULL if the same)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-parser-parse-uri.returns"></a><h4>Returns</h4>
+<p> non 0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-parser-parse-uri-with-connection"></a><h3>raptor_parser_parse_uri_with_connection ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_parser_parse_uri_with_connection
+ (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *rdf_parser</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *base_uri</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *connection</code></em>);</pre>
+<p>Parse RDF content at URI using existing WWW connection.</p>
+<p>If <em class="parameter"><code>base_uri</code></em>
+ is not given and during resolution of the URI, a
+protocol redirection occurs, the final resolved URI will be
+used as the base URI. If redirection does not occur, the
+base URI will be <em class="parameter"><code>uri</code></em>
+.</p>
+<p>If <em class="parameter"><code>base_uri</code></em>
+ is given, it overrides the process above.</p>
+<p>When <em class="parameter"><code>connection</code></em>
+ is NULL and a MIME Type exists for the parser
+type, this type is sent in an HTTP Accept: header in the form
+Accept: MIME-TYPE along with a wildcard of 0.1 quality, so MIME-TYPE is
+prefered rather than the sole answer. The latter part may not be
+necessary but should ensure an HTTP 200 response.</p>
+<div class="refsect3">
+<a name="raptor-parser-parse-uri-with-connection.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>rdf_parser</p></td>
+<td class="parameter_description"><p>parser</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>URI of RDF content</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>base_uri</p></td>
+<td class="parameter_description"><p>the base URI to use (or NULL if the same)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>connection</p></td>
+<td class="parameter_description"><p>connection object pointer or NULL to create a new one</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-parser-parse-uri-with-connection.returns"></a><h4>Returns</h4>
+<p> non 0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-parser-get-graph"></a><h3>raptor_parser_get_graph ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+raptor_parser_get_graph (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *rdf_parser</code></em>);</pre>
+<p>Get the current graph for the parser</p>
+<p>The returned URI is owned by the caller and must be freed with
+<a class="link" href="raptor2-section-uri.html#raptor-free-uri" title="raptor_free_uri ()"><code class="function">raptor_free_uri()</code></a></p>
+<div class="refsect3">
+<a name="raptor-parser-get-graph.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>rdf_parser</p></td>
+<td class="parameter_description"><p>parser</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-parser-get-graph.returns"></a><h4>Returns</h4>
+<p> raptor_uri* graph name or NULL for the default graph</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-parser-get-name"></a><h3>raptor_parser_get_name ()</h3>
+<pre class="programlisting">const <span class="returnvalue">char</span> *
+raptor_parser_get_name (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *rdf_parser</code></em>);</pre>
+<p>Get the name of a parser.</p>
+<p>Use <a class="link" href="raptor2-section-parser.html#raptor-parser-get-description" title="raptor_parser_get_description ()"><code class="function">raptor_parser_get_description()</code></a> to get the alternate names and
+aliases as well as other descriptive values.</p>
+<div class="refsect3">
+<a name="raptor-parser-get-name.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>rdf_parser</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> parser object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-parser-get-name.returns"></a><h4>Returns</h4>
+<p> the short name for the parser.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-parser-set-option"></a><h3>raptor_parser_set_option ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_parser_set_option (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *parser</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="type">raptor_option</span></a> option</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">int</span> integer</code></em>);</pre>
+<p>Set parser option.</p>
+<p>If <em class="parameter"><code>string</code></em>
+ is not NULL and the option type is numeric, the string
+value is converted to an integer and used in preference to <em class="parameter"><code>integer</code></em>
+.</p>
+<p>If <em class="parameter"><code>string</code></em>
+ is NULL and the option type is not numeric, an error is
+returned.</p>
+<p>The <em class="parameter"><code>string</code></em>
+ values used are copied.</p>
+<p>The allowed options are available via
+<a class="link" href="raptor2-section-option.html#raptor-world-get-option-description" title="raptor_world_get_option_description ()"><code class="function">raptor_world_get_option_description()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-parser-set-option.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>parser</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> parser object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>option</p></td>
+<td class="parameter_description"><p>option to set from enumerated <a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="type">raptor_option</span></a> values</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>string option value (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>integer</p></td>
+<td class="parameter_description"><p>integer option value</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-parser-set-option.returns"></a><h4>Returns</h4>
+<p> non 0 on failure or if the option is unknown</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-parser-get-option"></a><h3>raptor_parser_get_option ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_parser_get_option (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *parser</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="type">raptor_option</span></a> option</code></em>,
+ <em class="parameter"><code><span class="type">char</span> **string_p</code></em>,
+ <em class="parameter"><code><span class="type">int</span> *integer_p</code></em>);</pre>
+<p>Get parser option.</p>
+<p>Any string value returned in *<em class="parameter"><code>string_p</code></em>
+ is shared and must
+be copied by the caller.</p>
+<p>The allowed options are available via
+<a class="link" href="raptor2-section-option.html#raptor-world-get-option-description" title="raptor_world_get_option_description ()"><code class="function">raptor_world_get_option_description()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-parser-get-option.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>parser</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> parser object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>option</p></td>
+<td class="parameter_description"><p>option to get value</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>string_p</p></td>
+<td class="parameter_description"><p>pointer to where to store string value</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>integer_p</p></td>
+<td class="parameter_description"><p>pointer to where to store integer value</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-parser-get-option.returns"></a><h4>Returns</h4>
+<p> option value or &lt; 0 for an illegal option</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-parser-get-accept-header"></a><h3>raptor_parser_get_accept_header ()</h3>
+<pre class="programlisting">const <span class="returnvalue">char</span> *
+raptor_parser_get_accept_header (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *rdf_parser</code></em>);</pre>
+<p>Get an HTTP Accept value for the parser.</p>
+<p>The returned string must be freed by the caller such as with
+<a class="link" href="raptor2-section-memory.html#raptor-free-memory" title="raptor_free_memory ()"><code class="function">raptor_free_memory()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-parser-get-accept-header.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>rdf_parser</p></td>
+<td class="parameter_description"><p>parser</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-parser-get-accept-header.returns"></a><h4>Returns</h4>
+<p> a new Accept: header string or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-parser-set-uri-filter"></a><h3>raptor_parser_set_uri_filter ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_parser_set_uri_filter (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *parser</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-uri-filter-func" title="raptor_uri_filter_func ()"><span class="type">raptor_uri_filter_func</span></a> filter</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
+<p>Set URI filter function for WWW retrieval.</p>
+<div class="refsect3">
+<a name="raptor-parser-set-uri-filter.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>parser</p></td>
+<td class="parameter_description"><p>parser object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>filter</p></td>
+<td class="parameter_description"><p>URI filter function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>User data to pass to filter function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-parser-get-world"></a><h3>raptor_parser_get_world ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="returnvalue">raptor_world</span></a> *
+raptor_parser_get_world (<em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a> *rdf_parser</code></em>);</pre>
+<p>Get the <a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> object associated with a parser.</p>
+<div class="refsect3">
+<a name="raptor-parser-get-world.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>rdf_parser</p></td>
+<td class="parameter_description"><p>parser</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-parser-get-world.returns"></a><h4>Returns</h4>
+<p> raptor_world* pointer</p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-parser.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="raptor-parser"></a><h3>raptor_parser</h3>
+<pre class="programlisting">raptor_parser* raptor_parser;
+</pre>
+<p>Raptor Parser class</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-graph-mark-flags"></a><h3>enum raptor_graph_mark_flags</h3>
+<p>Graph mark handler bitmask flags</p>
+<div class="refsect3">
+<a name="raptor-graph-mark-flags.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="enum_members_name">
+<col class="enum_members_description">
+<col width="200px" class="enum_members_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-GRAPH-MARK-START:CAPS"></a>RAPTOR_GRAPH_MARK_START</p></td>
+<td class="enum_member_description">
+<p>mark is start of graph (otherwise is end)</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-GRAPH-MARK-DECLARED:CAPS"></a>RAPTOR_GRAPH_MARK_DECLARED</p></td>
+<td class="enum_member_description">
+<p>mark was declared in syntax rather than implict</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-section-sax2.html b/docs/html/raptor2-section-sax2.html
new file mode 100644
index 0000000..b564be5
--- /dev/null
+++ b/docs/html/raptor2-section-sax2.html
@@ -0,0 +1,1018 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>section-sax2: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor2-section-parser.html" title="section-parser">
+<link rel="next" href="raptor2-section-sequence.html" title="section-sequence">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#raptor2-section-sax2.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-section-parser.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-section-sequence.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="raptor2-section-sax2"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="raptor2-section-sax2.top_of_page"></a>section-sax2</span></h2>
+<p>section-sax2</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="raptor2-section-sax2.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-sax2.html#raptor-sax2" title="raptor_sax2"><span class="returnvalue">raptor_sax2</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sax2.html#raptor-new-sax2" title="raptor_new_sax2 ()">raptor_new_sax2</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sax2.html#raptor-free-sax2" title="raptor_free_sax2 ()">raptor_free_sax2</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-sax2.html#raptor-sax2-start-element-handler" title="raptor_sax2_start_element_handler ()">*raptor_sax2_start_element_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-sax2.html#raptor-sax2-end-element-handler" title="raptor_sax2_end_element_handler ()">*raptor_sax2_end_element_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-sax2.html#raptor-sax2-characters-handler" title="raptor_sax2_characters_handler ()">*raptor_sax2_characters_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-sax2.html#raptor-sax2-cdata-handler" title="raptor_sax2_cdata_handler ()">*raptor_sax2_cdata_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-sax2.html#raptor-sax2-comment-handler" title="raptor_sax2_comment_handler ()">*raptor_sax2_comment_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-sax2.html#raptor-sax2-unparsed-entity-decl-handler" title="raptor_sax2_unparsed_entity_decl_handler ()">*raptor_sax2_unparsed_entity_decl_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-sax2.html#raptor-sax2-external-entity-ref-handler" title="raptor_sax2_external_entity_ref_handler ()">*raptor_sax2_external_entity_ref_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sax2.html#raptor-sax2-set-start-element-handler" title="raptor_sax2_set_start_element_handler ()">raptor_sax2_set_start_element_handler</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sax2.html#raptor-sax2-set-end-element-handler" title="raptor_sax2_set_end_element_handler ()">raptor_sax2_set_end_element_handler</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sax2.html#raptor-sax2-set-characters-handler" title="raptor_sax2_set_characters_handler ()">raptor_sax2_set_characters_handler</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sax2.html#raptor-sax2-set-cdata-handler" title="raptor_sax2_set_cdata_handler ()">raptor_sax2_set_cdata_handler</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sax2.html#raptor-sax2-set-comment-handler" title="raptor_sax2_set_comment_handler ()">raptor_sax2_set_comment_handler</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sax2.html#raptor-sax2-set-unparsed-entity-decl-handler" title="raptor_sax2_set_unparsed_entity_decl_handler ()">raptor_sax2_set_unparsed_entity_decl_handler</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sax2.html#raptor-sax2-set-external-entity-ref-handler" title="raptor_sax2_set_external_entity_ref_handler ()">raptor_sax2_set_external_entity_ref_handler</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sax2.html#raptor-sax2-set-namespace-handler" title="raptor_sax2_set_namespace_handler ()">raptor_sax2_set_namespace_handler</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sax2.html#raptor-sax2-set-uri-filter" title="raptor_sax2_set_uri_filter ()">raptor_sax2_set_uri_filter</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sax2.html#raptor-sax2-parse-start" title="raptor_sax2_parse_start ()">raptor_sax2_parse_start</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sax2.html#raptor-sax2-parse-chunk" title="raptor_sax2_parse_chunk ()">raptor_sax2_parse_chunk</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sax2.html#raptor-sax2-inscope-xml-language" title="raptor_sax2_inscope_xml_language ()">raptor_sax2_inscope_xml_language</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sax2.html#raptor-sax2-inscope-base-uri" title="raptor_sax2_inscope_base_uri ()">raptor_sax2_inscope_base_uri</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-sax2.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="other_proto_type">
+<col class="other_proto_name">
+</colgroup>
+<tbody><tr>
+<td class="typedef_keyword">typedef</td>
+<td class="function_name"><a class="link" href="raptor2-section-sax2.html#raptor-sax2" title="raptor_sax2">raptor_sax2</a></td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-sax2.description"></a><h2>Description</h2>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-sax2.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="raptor-new-sax2"></a><h3>raptor_new_sax2 ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-sax2.html#raptor-sax2" title="raptor_sax2"><span class="returnvalue">raptor_sax2</span></a> *
+raptor_new_sax2 (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-locator.html#raptor-locator" title="raptor_locator"><span class="type">raptor_locator</span></a> *locator</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
+<p>Constructor - Create a new SAX2 with error handlers</p>
+<div class="refsect3">
+<a name="raptor-new-sax2.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>locator</p></td>
+<td class="parameter_description"><p>raptor locator to use for errors</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>pointer context information to pass to SAX handlers</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-sax2.returns"></a><h4>Returns</h4>
+<p> new <a class="link" href="raptor2-section-sax2.html#raptor-sax2" title="raptor_sax2"><span class="type">raptor_sax2</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-free-sax2"></a><h3>raptor_free_sax2 ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_free_sax2 (<em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2" title="raptor_sax2"><span class="type">raptor_sax2</span></a> *sax2</code></em>);</pre>
+<p>Destructor - destroy a SAX2 object</p>
+<div class="refsect3">
+<a name="raptor-free-sax2.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>sax2</p></td>
+<td class="parameter_description"><p>SAX2 object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sax2-start-element-handler"></a><h3>raptor_sax2_start_element_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+<span class="c_punctuation">(</span>*raptor_sax2_start_element_handler<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="type">raptor_xml_element</span></a> *xml_element</code></em>);</pre>
+<p>SAX2 start element handler</p>
+<div class="refsect3">
+<a name="raptor-sax2-start-element-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>xml_element</p></td>
+<td class="parameter_description"><p>XML element</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sax2-end-element-handler"></a><h3>raptor_sax2_end_element_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+<span class="c_punctuation">(</span>*raptor_sax2_end_element_handler<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="type">raptor_xml_element</span></a> *xml_element</code></em>);</pre>
+<p>SAX2 end element handler</p>
+<div class="refsect3">
+<a name="raptor-sax2-end-element-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>xml_element</p></td>
+<td class="parameter_description"><p>XML element</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sax2-characters-handler"></a><h3>raptor_sax2_characters_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+<span class="c_punctuation">(</span>*raptor_sax2_characters_handler<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="type">raptor_xml_element</span></a> *xml_element</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *s</code></em>,
+ <em class="parameter"><code><span class="type">int</span> len</code></em>);</pre>
+<p>SAX2 characters handler</p>
+<div class="refsect3">
+<a name="raptor-sax2-characters-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>xml_element</p></td>
+<td class="parameter_description"><p>XML element</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>s</p></td>
+<td class="parameter_description"><p>string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len</p></td>
+<td class="parameter_description"><p>string len</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sax2-cdata-handler"></a><h3>raptor_sax2_cdata_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+<span class="c_punctuation">(</span>*raptor_sax2_cdata_handler<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="type">raptor_xml_element</span></a> *xml_element</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *s</code></em>,
+ <em class="parameter"><code><span class="type">int</span> len</code></em>);</pre>
+<p>SAX2 CDATA section handler</p>
+<div class="refsect3">
+<a name="raptor-sax2-cdata-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>xml_element</p></td>
+<td class="parameter_description"><p>XML element</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>s</p></td>
+<td class="parameter_description"><p>string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len</p></td>
+<td class="parameter_description"><p>string len</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sax2-comment-handler"></a><h3>raptor_sax2_comment_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+<span class="c_punctuation">(</span>*raptor_sax2_comment_handler<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="type">raptor_xml_element</span></a> *xml_element</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *s</code></em>);</pre>
+<p>SAX2 XML comment handler</p>
+<div class="refsect3">
+<a name="raptor-sax2-comment-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>xml_element</p></td>
+<td class="parameter_description"><p>XML element</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>s</p></td>
+<td class="parameter_description"><p>string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sax2-unparsed-entity-decl-handler"></a><h3>raptor_sax2_unparsed_entity_decl_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+<span class="c_punctuation">(</span>*raptor_sax2_unparsed_entity_decl_handler<span class="c_punctuation">)</span>
+ (<em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *entityName</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *base</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *systemId</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *publicId</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *notationName</code></em>);</pre>
+<p>SAX2 unparsed entity (NDATA) handler</p>
+<div class="refsect3">
+<a name="raptor-sax2-unparsed-entity-decl-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>entityName</p></td>
+<td class="parameter_description"><p>entity name</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>base</p></td>
+<td class="parameter_description"><p>base URI</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>systemId</p></td>
+<td class="parameter_description"><p>system ID</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>publicId</p></td>
+<td class="parameter_description"><p>public ID</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>notationName</p></td>
+<td class="parameter_description"><p>notation name</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sax2-external-entity-ref-handler"></a><h3>raptor_sax2_external_entity_ref_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+<span class="c_punctuation">(</span>*raptor_sax2_external_entity_ref_handler<span class="c_punctuation">)</span>
+ (<em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *context</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *base</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *systemId</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *publicId</code></em>);</pre>
+<p>SAX2 external entity reference handler</p>
+<div class="refsect3">
+<a name="raptor-sax2-external-entity-ref-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>context</p></td>
+<td class="parameter_description"><p>context</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>base</p></td>
+<td class="parameter_description"><p>base URI</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>systemId</p></td>
+<td class="parameter_description"><p>system ID</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>publicId</p></td>
+<td class="parameter_description"><p>public ID</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-sax2-external-entity-ref-handler.returns"></a><h4>Returns</h4>
+<p> 0 if processing should not continue because of a
+fatal error in the handling of the external entity.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sax2-set-start-element-handler"></a><h3>raptor_sax2_set_start_element_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_sax2_set_start_element_handler (<em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2" title="raptor_sax2"><span class="type">raptor_sax2</span></a> *sax2</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2-start-element-handler" title="raptor_sax2_start_element_handler ()"><span class="type">raptor_sax2_start_element_handler</span></a> handler</code></em>);</pre>
+<p>Set SAX2 start element handler.</p>
+<div class="refsect3">
+<a name="raptor-sax2-set-start-element-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>sax2</p></td>
+<td class="parameter_description"><p>SAX2 object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>handler</p></td>
+<td class="parameter_description"><p>start element handler</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sax2-set-end-element-handler"></a><h3>raptor_sax2_set_end_element_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_sax2_set_end_element_handler (<em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2" title="raptor_sax2"><span class="type">raptor_sax2</span></a> *sax2</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2-end-element-handler" title="raptor_sax2_end_element_handler ()"><span class="type">raptor_sax2_end_element_handler</span></a> handler</code></em>);</pre>
+<p>Set SAX2 end element handler.</p>
+<div class="refsect3">
+<a name="raptor-sax2-set-end-element-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>sax2</p></td>
+<td class="parameter_description"><p>SAX2 object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>handler</p></td>
+<td class="parameter_description"><p>end element handler</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sax2-set-characters-handler"></a><h3>raptor_sax2_set_characters_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_sax2_set_characters_handler (<em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2" title="raptor_sax2"><span class="type">raptor_sax2</span></a> *sax2</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2-characters-handler" title="raptor_sax2_characters_handler ()"><span class="type">raptor_sax2_characters_handler</span></a> handler</code></em>);</pre>
+<p>Set SAX2 characters handler.</p>
+<div class="refsect3">
+<a name="raptor-sax2-set-characters-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>sax2</p></td>
+<td class="parameter_description"><p>SAX2 object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>handler</p></td>
+<td class="parameter_description"><p>characters handler</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sax2-set-cdata-handler"></a><h3>raptor_sax2_set_cdata_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_sax2_set_cdata_handler (<em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2" title="raptor_sax2"><span class="type">raptor_sax2</span></a> *sax2</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2-cdata-handler" title="raptor_sax2_cdata_handler ()"><span class="type">raptor_sax2_cdata_handler</span></a> handler</code></em>);</pre>
+<p>Set SAX2 CDATA handler.</p>
+<div class="refsect3">
+<a name="raptor-sax2-set-cdata-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>sax2</p></td>
+<td class="parameter_description"><p>SAX2 object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>handler</p></td>
+<td class="parameter_description"><p>CDATA handler</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sax2-set-comment-handler"></a><h3>raptor_sax2_set_comment_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_sax2_set_comment_handler (<em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2" title="raptor_sax2"><span class="type">raptor_sax2</span></a> *sax2</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2-comment-handler" title="raptor_sax2_comment_handler ()"><span class="type">raptor_sax2_comment_handler</span></a> handler</code></em>);</pre>
+<p>Set SAX2 XML comment handler.</p>
+<div class="refsect3">
+<a name="raptor-sax2-set-comment-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>sax2</p></td>
+<td class="parameter_description"><p>SAX2 object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>handler</p></td>
+<td class="parameter_description"><p>comment handler</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sax2-set-unparsed-entity-decl-handler"></a><h3>raptor_sax2_set_unparsed_entity_decl_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_sax2_set_unparsed_entity_decl_handler
+ (<em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2" title="raptor_sax2"><span class="type">raptor_sax2</span></a> *sax2</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2-unparsed-entity-decl-handler" title="raptor_sax2_unparsed_entity_decl_handler ()"><span class="type">raptor_sax2_unparsed_entity_decl_handler</span></a> handler</code></em>);</pre>
+<p>Set SAX2 XML unparsed entity declaration handler.</p>
+<div class="refsect3">
+<a name="raptor-sax2-set-unparsed-entity-decl-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>sax2</p></td>
+<td class="parameter_description"><p>SAX2 object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>handler</p></td>
+<td class="parameter_description"><p>unparsed entity declaration handler</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sax2-set-external-entity-ref-handler"></a><h3>raptor_sax2_set_external_entity_ref_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_sax2_set_external_entity_ref_handler
+ (<em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2" title="raptor_sax2"><span class="type">raptor_sax2</span></a> *sax2</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2-external-entity-ref-handler" title="raptor_sax2_external_entity_ref_handler ()"><span class="type">raptor_sax2_external_entity_ref_handler</span></a> handler</code></em>);</pre>
+<p>Set SAX2 XML entity reference handler.</p>
+<div class="refsect3">
+<a name="raptor-sax2-set-external-entity-ref-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>sax2</p></td>
+<td class="parameter_description"><p>SAX2 object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>handler</p></td>
+<td class="parameter_description"><p>entity reference handler</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sax2-set-namespace-handler"></a><h3>raptor_sax2_set_namespace_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_sax2_set_namespace_handler (<em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2" title="raptor_sax2"><span class="type">raptor_sax2</span></a> *sax2</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-parser.html#raptor-namespace-handler" title="raptor_namespace_handler ()"><span class="type">raptor_namespace_handler</span></a> handler</code></em>);</pre>
+<p>Set the XML namespace handler function.</p>
+<p>When a prefix/namespace is seen in an XML parser, call the given
+<em class="parameter"><code>handler</code></em>
+ with the prefix string and the <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> namespace URI.
+Either can be NULL for the default prefix or default namespace.</p>
+<p>The handler function does not deal with duplicates so any
+namespace may be declared multiple times when a namespace is seen
+in different parts of a document.</p>
+<div class="refsect3">
+<a name="raptor-sax2-set-namespace-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>sax2</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-sax2.html#raptor-sax2" title="raptor_sax2"><span class="type">raptor_sax2</span></a> object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>handler</p></td>
+<td class="parameter_description"><p>new namespace callback function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sax2-set-uri-filter"></a><h3>raptor_sax2_set_uri_filter ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_sax2_set_uri_filter (<em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2" title="raptor_sax2"><span class="type">raptor_sax2</span></a> *sax2</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-uri-filter-func" title="raptor_uri_filter_func ()"><span class="type">raptor_uri_filter_func</span></a> filter</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
+<p>Set URI filter function for SAX2 internal retrievals.</p>
+<div class="refsect3">
+<a name="raptor-sax2-set-uri-filter.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>sax2</p></td>
+<td class="parameter_description"><p>SAX2 object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>filter</p></td>
+<td class="parameter_description"><p>URI filter function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>User data to pass to filter function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sax2-parse-start"></a><h3>raptor_sax2_parse_start ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_sax2_parse_start (<em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2" title="raptor_sax2"><span class="type">raptor_sax2</span></a> *sax2</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *base_uri</code></em>);</pre>
+<p>Start an XML SAX2 parse.</p>
+<div class="refsect3">
+<a name="raptor-sax2-parse-start.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>sax2</p></td>
+<td class="parameter_description"><p>sax2 object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>base_uri</p></td>
+<td class="parameter_description"><p>base URI</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sax2-parse-chunk"></a><h3>raptor_sax2_parse_chunk ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_sax2_parse_chunk (<em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2" title="raptor_sax2"><span class="type">raptor_sax2</span></a> *sax2</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *buffer</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> len</code></em>,
+ <em class="parameter"><code><span class="type">int</span> is_end</code></em>);</pre>
+<p>Parse a chunk of XML data generating SAX2 events</p>
+<div class="refsect3">
+<a name="raptor-sax2-parse-chunk.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>sax2</p></td>
+<td class="parameter_description"><p>sax2 object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>buffer</p></td>
+<td class="parameter_description"><p>input buffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len</p></td>
+<td class="parameter_description"><p>input buffer lenght</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>is_end</p></td>
+<td class="parameter_description"><p>non-0 if end of data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-sax2-parse-chunk.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sax2-inscope-xml-language"></a><h3>raptor_sax2_inscope_xml_language ()</h3>
+<pre class="programlisting">const unsigned <span class="returnvalue">char</span> *
+raptor_sax2_inscope_xml_language (<em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2" title="raptor_sax2"><span class="type">raptor_sax2</span></a> *sax2</code></em>);</pre>
+<p>Get the in-scope XML language</p>
+<p>The result is a language string which may be "" if xml:lang="" is
+given. NULL is returned only if there is no xml:lang in any outer
+scope.</p>
+<div class="refsect3">
+<a name="raptor-sax2-inscope-xml-language.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>sax2</p></td>
+<td class="parameter_description"><p>SAX2 object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-sax2-inscope-xml-language.returns"></a><h4>Returns</h4>
+<p> shared pointer to the XML language or NULL if none is in scope.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sax2-inscope-base-uri"></a><h3>raptor_sax2_inscope_base_uri ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+raptor_sax2_inscope_base_uri (<em class="parameter"><code><a class="link" href="raptor2-section-sax2.html#raptor-sax2" title="raptor_sax2"><span class="type">raptor_sax2</span></a> *sax2</code></em>);</pre>
+<p>Get the in-scope base URI</p>
+<div class="refsect3">
+<a name="raptor-sax2-inscope-base-uri.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>sax2</p></td>
+<td class="parameter_description"><p>SAX2 object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-sax2-inscope-base-uri.returns"></a><h4>Returns</h4>
+<p> the in-scope base URI shared object or NULL if none is in scope.</p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-sax2.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="raptor-sax2"></a><h3>raptor_sax2</h3>
+<pre class="programlisting">typedef struct raptor_sax2_s raptor_sax2;
+</pre>
+<p>Raptor SAX2 class</p>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-section-sequence.html b/docs/html/raptor2-section-sequence.html
new file mode 100644
index 0000000..7542fde
--- /dev/null
+++ b/docs/html/raptor2-section-sequence.html
@@ -0,0 +1,870 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>section-sequence: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor2-section-sax2.html" title="section-sax2">
+<link rel="next" href="raptor2-section-serializer.html" title="section-serializer">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#raptor2-section-sequence.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-section-sax2.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-section-serializer.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="raptor2-section-sequence"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="raptor2-section-sequence.top_of_page"></a>section-sequence</span></h2>
+<p>section-sequence</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="raptor2-section-sequence.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="returnvalue">raptor_sequence</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sequence.html#raptor-new-sequence" title="raptor_new_sequence ()">raptor_new_sequence</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="returnvalue">raptor_sequence</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sequence.html#raptor-new-sequence-with-context" title="raptor_new_sequence_with_context ()">raptor_new_sequence_with_context</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sequence.html#raptor-free-sequence" title="raptor_free_sequence ()">raptor_free_sequence</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sequence.html#raptor-sequence-delete-at" title="raptor_sequence_delete_at ()">raptor_sequence_delete_at</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sequence.html#raptor-sequence-get-at" title="raptor_sequence_get_at ()">raptor_sequence_get_at</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sequence.html#raptor-sequence-join" title="raptor_sequence_join ()">raptor_sequence_join</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sequence.html#raptor-sequence-next-permutation" title="raptor_sequence_next_permutation ()">raptor_sequence_next_permutation</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sequence.html#raptor-sequence-pop" title="raptor_sequence_pop ()">raptor_sequence_pop</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sequence.html#raptor-sequence-print" title="raptor_sequence_print ()">raptor_sequence_print</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sequence.html#raptor-sequence-push" title="raptor_sequence_push ()">raptor_sequence_push</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sequence.html#raptor-sequence-reverse" title="raptor_sequence_reverse ()">raptor_sequence_reverse</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sequence.html#raptor-sequence-set-at" title="raptor_sequence_set_at ()">raptor_sequence_set_at</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sequence.html#raptor-sequence-shift" title="raptor_sequence_shift ()">raptor_sequence_shift</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sequence.html#raptor-sequence-size" title="raptor_sequence_size ()">raptor_sequence_size</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sequence.html#raptor-sequence-sort" title="raptor_sequence_sort ()">raptor_sequence_sort</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sequence.html#raptor-sequence-sort-r" title="raptor_sequence_sort_r ()">raptor_sequence_sort_r</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sequence.html#raptor-sequence-swap" title="raptor_sequence_swap ()">raptor_sequence_swap</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-sequence.html#raptor-sequence-unshift" title="raptor_sequence_unshift ()">raptor_sequence_unshift</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-sequence.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="other_proto_type">
+<col class="other_proto_name">
+</colgroup>
+<tbody><tr>
+<td class="typedef_keyword">typedef</td>
+<td class="function_name"><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence">raptor_sequence</a></td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-sequence.description"></a><h2>Description</h2>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-sequence.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="raptor-new-sequence"></a><h3>raptor_new_sequence ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="returnvalue">raptor_sequence</span></a> *
+raptor_new_sequence (<em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-data-free-handler" title="raptor_data_free_handler ()"><span class="type">raptor_data_free_handler</span></a> free_handler</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-data-print-handler" title="raptor_data_print_handler ()"><span class="type">raptor_data_print_handler</span></a> print_handler</code></em>);</pre>
+<p>Constructor - create a new sequence with the given handlers.</p>
+<p>This creates a sequence over objects that need only the item data
+pointers in order to print or free the objects.</p>
+<p>For example sequences of strings could use handlers (free, NULL)
+and sequences of <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> could use (raptor_free_uri,
+raptor_print_uri)</p>
+<div class="refsect3">
+<a name="raptor-new-sequence.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>free_handler</p></td>
+<td class="parameter_description"><p>handler to free a sequence item</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>print_handler</p></td>
+<td class="parameter_description"><p>handler to print a sequence item to a FILE*</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-sequence.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> or NULL on failure </p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-sequence-with-context"></a><h3>raptor_new_sequence_with_context ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="returnvalue">raptor_sequence</span></a> *
+raptor_new_sequence_with_context (<em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-data-context-free-handler" title="raptor_data_context_free_handler ()"><span class="type">raptor_data_context_free_handler</span></a> free_handler</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-data-context-print-handler" title="raptor_data_context_print_handler ()"><span class="type">raptor_data_context_print_handler</span></a> print_handler</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *handler_context</code></em>);</pre>
+<p>Constructor - create a new sequence with the given handlers and handler context.</p>
+<p>This creates a sequence over objects that need context + item data
+pointers in order to print or free the objects.</p>
+<div class="refsect3">
+<a name="raptor-new-sequence-with-context.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>free_handler</p></td>
+<td class="parameter_description"><p>handler to free a sequence item</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>print_handler</p></td>
+<td class="parameter_description"><p>handler to print a sequence item to a FILE*</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>handler_context</p></td>
+<td class="parameter_description"><p>context information to pass to free/print handlers</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-sequence-with-context.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> or NULL on failure </p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-free-sequence"></a><h3>raptor_free_sequence ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_free_sequence (<em class="parameter"><code><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> *seq</code></em>);</pre>
+<p>Destructor - free a <a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a></p>
+<div class="refsect3">
+<a name="raptor-free-sequence.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>seq</p></td>
+<td class="parameter_description"><p>sequence to destroy</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sequence-delete-at"></a><h3>raptor_sequence_delete_at ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span> *
+raptor_sequence_delete_at (<em class="parameter"><code><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> *seq</code></em>,
+ <em class="parameter"><code><span class="type">int</span> idx</code></em>);</pre>
+<p>Remove an item from a position a sequence, returning it</p>
+<p>The item at the offset <em class="parameter"><code>idx</code></em>
+ in the sequence is replaced with a
+NULL pointer and any existing item is returned. The caller
+owns the resulting item.</p>
+<div class="refsect3">
+<a name="raptor-sequence-delete-at.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>seq</p></td>
+<td class="parameter_description"><p>sequence object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>idx</p></td>
+<td class="parameter_description"><p>index into sequence to operate at</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-sequence-delete-at.returns"></a><h4>Returns</h4>
+<p> NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sequence-get-at"></a><h3>raptor_sequence_get_at ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span> *
+raptor_sequence_get_at (<em class="parameter"><code><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> *seq</code></em>,
+ <em class="parameter"><code><span class="type">int</span> idx</code></em>);</pre>
+<p>Retrieve an item at offset <em class="parameter"><code>index</code></em>
+ in the sequence.</p>
+<p>This is efficient to perform. <a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> is optimised
+to append/remove from the end of the sequence.</p>
+<p>After this call the item is still owned by the sequence.</p>
+<div class="refsect3">
+<a name="raptor-sequence-get-at.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>seq</p></td>
+<td class="parameter_description"><p>sequence to use</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>idx</p></td>
+<td class="parameter_description"><p>index of item to get</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-sequence-get-at.returns"></a><h4>Returns</h4>
+<p> the object or NULL if <em class="parameter"><code>index</code></em>
+is out of range (0... sequence size - 1)</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sequence-join"></a><h3>raptor_sequence_join ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_sequence_join (<em class="parameter"><code><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> *dest</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> *src</code></em>);</pre>
+<p>Join two sequences moving all items from one sequence to the end of another.</p>
+<p>After this operation, sequence src will be empty (zero size) but
+will have the same item capacity as before.</p>
+<div class="refsect3">
+<a name="raptor-sequence-join.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>dest</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> destination sequence</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>src</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> source sequence</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-sequence-join.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sequence-next-permutation"></a><h3>raptor_sequence_next_permutation ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_sequence_next_permutation (<em class="parameter"><code><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> *seq</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-data-compare-handler" title="raptor_data_compare_handler ()"><span class="type">raptor_data_compare_handler</span></a> compare</code></em>);</pre>
+<p>Get the next permutation of a sequence in lexicographic order</p>
+<p>Assumes the initial order of the items is lexicographically
+increasing. This function alters the order of the items until the
+last permuatation is done at which point the contents is reset to
+the intial order.</p>
+<p>Algorithm used is described in http://en.wikipedia.org/wiki/Permutation</p>
+<p>The comparison function <em class="parameter"><code>compare</code></em>
+ is compatible with that used for
+<code class="function">qsort()</code> and provides the addresses of pointers to the data that
+must be dereferenced to get to the stored sequence data.</p>
+<div class="refsect3">
+<a name="raptor-sequence-next-permutation.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>seq</p></td>
+<td class="parameter_description"><p>int seq</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>compare</p></td>
+<td class="parameter_description"><p>comparison function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-sequence-next-permutation.returns"></a><h4>Returns</h4>
+<p> non-0 at the last permutation</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sequence-pop"></a><h3>raptor_sequence_pop ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span> *
+raptor_sequence_pop (<em class="parameter"><code><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> *seq</code></em>);</pre>
+<p>Retrieve the item at the end of the sequence.</p>
+<p>Ownership of the item is transferred to the caller,
+i.e. caller is responsible of freeing the item.</p>
+<div class="refsect3">
+<a name="raptor-sequence-pop.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>seq</p></td>
+<td class="parameter_description"><p>sequence to use</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-sequence-pop.returns"></a><h4>Returns</h4>
+<p> the object or NULL if the sequence is empty</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sequence-print"></a><h3>raptor_sequence_print ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_sequence_print (<em class="parameter"><code><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> *seq</code></em>,
+ <em class="parameter"><code><span class="type">FILE</span> *fh</code></em>);</pre>
+<p>Print the sequence contents using the print_handler to print the data items.</p>
+<div class="refsect3">
+<a name="raptor-sequence-print.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>seq</p></td>
+<td class="parameter_description"><p>sequence to sort</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>fh</p></td>
+<td class="parameter_description"><p>file handle</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-sequence-print.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sequence-push"></a><h3>raptor_sequence_push ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_sequence_push (<em class="parameter"><code><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> *seq</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *data</code></em>);</pre>
+<p>Add an item to the end of the sequence.</p>
+<p>The sequence takes ownership of the pushed item and frees it with the
+free_handler. On failure, the item is freed immediately.</p>
+<div class="refsect3">
+<a name="raptor-sequence-push.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>seq</p></td>
+<td class="parameter_description"><p>sequence to add to</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>data</p></td>
+<td class="parameter_description"><p>item to add</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-sequence-push.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sequence-reverse"></a><h3>raptor_sequence_reverse ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_sequence_reverse (<em class="parameter"><code><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> *seq</code></em>,
+ <em class="parameter"><code><span class="type">int</span> start_index</code></em>,
+ <em class="parameter"><code><span class="type">int</span> length</code></em>);</pre>
+<p>Reverse a range of elements</p>
+<div class="refsect3">
+<a name="raptor-sequence-reverse.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>seq</p></td>
+<td class="parameter_description"><p>sequence</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>start_index</p></td>
+<td class="parameter_description"><p>starting index</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>number of elements to reverse</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-sequence-reverse.returns"></a><h4>Returns</h4>
+<p> non-0 if arguments are out of range</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sequence-set-at"></a><h3>raptor_sequence_set_at ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_sequence_set_at (<em class="parameter"><code><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> *seq</code></em>,
+ <em class="parameter"><code><span class="type">int</span> idx</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *data</code></em>);</pre>
+<p>Replace/set an item in a sequence.</p>
+<p>The item at the offset <em class="parameter"><code>idx</code></em>
+ in the sequence is replaced with the
+new item <em class="parameter"><code>data</code></em>
+ (which may be NULL). Any existing item is freed
+with the sequence's free_handler. If necessary the sequence
+is extended (with NULLs) to handle a larger offset.</p>
+<p>The sequence takes ownership of the new data item. On failure, the
+item is freed immediately.</p>
+<div class="refsect3">
+<a name="raptor-sequence-set-at.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>seq</p></td>
+<td class="parameter_description"><p>sequence object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>idx</p></td>
+<td class="parameter_description"><p>index into sequence to operate at</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>data</p></td>
+<td class="parameter_description"><p>new data item.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-sequence-set-at.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sequence-shift"></a><h3>raptor_sequence_shift ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_sequence_shift (<em class="parameter"><code><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> *seq</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *data</code></em>);</pre>
+<p>Add an item to the start of the sequence.</p>
+<p>The sequence takes ownership of the shifted item and frees it with the
+free_handler. On failure, the item is freed immediately.</p>
+<div class="refsect3">
+<a name="raptor-sequence-shift.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>seq</p></td>
+<td class="parameter_description"><p>sequence to add to</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>data</p></td>
+<td class="parameter_description"><p>item to add</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-sequence-shift.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sequence-size"></a><h3>raptor_sequence_size ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_sequence_size (<em class="parameter"><code><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> *seq</code></em>);</pre>
+<p>Get the number of items in a sequence.</p>
+<div class="refsect3">
+<a name="raptor-sequence-size.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>seq</p></td>
+<td class="parameter_description"><p>sequence object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-sequence-size.returns"></a><h4>Returns</h4>
+<p> the sequence size (&gt;=0)</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sequence-sort"></a><h3>raptor_sequence_sort ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_sequence_sort (<em class="parameter"><code><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> *seq</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-data-compare-handler" title="raptor_data_compare_handler ()"><span class="type">raptor_data_compare_handler</span></a> compare</code></em>);</pre>
+<p>Sort a sequence inline</p>
+<p>The comparison function <em class="parameter"><code>compare</code></em>
+ is compatible with that used for
+<code class="function">qsort()</code> and provides the addresses of pointers to the data that
+must be dereferenced to get to the stored sequence data.</p>
+<div class="refsect3">
+<a name="raptor-sequence-sort.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>seq</p></td>
+<td class="parameter_description"><p>sequence to sort</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>compare</p></td>
+<td class="parameter_description"><p>comparison function with args (a, b)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sequence-sort-r"></a><h3>raptor_sequence_sort_r ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_sequence_sort_r (<em class="parameter"><code><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> *seq</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-data-compare-arg-handler" title="raptor_data_compare_arg_handler ()"><span class="type">raptor_data_compare_arg_handler</span></a> compare</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
+<p>Sort a sequence inline with user data</p>
+<p>The comparison function <em class="parameter"><code>compare_r</code></em>
+ is compatible with that used
+for <a class="link" href="raptor2-section-general.html#raptor-sort-r" title="raptor_sort_r ()"><code class="function">raptor_sort_r()</code></a> and provides the addresses of pointers to the
+data that must be dereferenced to get to the stored sequence data.</p>
+<div class="refsect3">
+<a name="raptor-sequence-sort-r.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>seq</p></td>
+<td class="parameter_description"><p>sequence to sort</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>compare</p></td>
+<td class="parameter_description"><p>comparison function with args (a, b, user data)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>User data argument for <em class="parameter"><code>compare</code></em>
+</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sequence-swap"></a><h3>raptor_sequence_swap ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_sequence_swap (<em class="parameter"><code><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> *seq</code></em>,
+ <em class="parameter"><code><span class="type">int</span> i</code></em>,
+ <em class="parameter"><code><span class="type">int</span> j</code></em>);</pre>
+<p>Swap a pair of elements in a sequence</p>
+<div class="refsect3">
+<a name="raptor-sequence-swap.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>seq</p></td>
+<td class="parameter_description"><p>sequence</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>i</p></td>
+<td class="parameter_description"><p>first data index</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>j</p></td>
+<td class="parameter_description"><p>second data index</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-sequence-swap.returns"></a><h4>Returns</h4>
+<p> non-0 if arguments are out of range</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-sequence-unshift"></a><h3>raptor_sequence_unshift ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span> *
+raptor_sequence_unshift (<em class="parameter"><code><a class="link" href="raptor2-section-sequence.html#raptor-sequence" title="raptor_sequence"><span class="type">raptor_sequence</span></a> *seq</code></em>);</pre>
+<p>Retrieve the item at the start of the sequence.</p>
+<p>Ownership of the item is transferred to the caller,
+i.e. caller is responsible of freeing the item.</p>
+<div class="refsect3">
+<a name="raptor-sequence-unshift.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>seq</p></td>
+<td class="parameter_description"><p>sequence to use</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-sequence-unshift.returns"></a><h4>Returns</h4>
+<p> the object or NULL if the sequence is empty</p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-sequence.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="raptor-sequence"></a><h3>raptor_sequence</h3>
+<pre class="programlisting">raptor_sequence* raptor_sequence;
+</pre>
+<p>Raptor sequence class</p>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-section-serializer.html b/docs/html/raptor2-section-serializer.html
new file mode 100644
index 0000000..ed4bbbe
--- /dev/null
+++ b/docs/html/raptor2-section-serializer.html
@@ -0,0 +1,811 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>section-serializer: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor2-section-sequence.html" title="section-sequence">
+<link rel="next" href="raptor2-section-stringbuffer.html" title="section-stringbuffer">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#raptor2-section-serializer.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-section-sequence.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-section-stringbuffer.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="raptor2-section-serializer"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="raptor2-section-serializer.top_of_page"></a>section-serializer</span></h2>
+<p>section-serializer</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="raptor2-section-serializer.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="returnvalue">raptor_serializer</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-serializer.html#raptor-new-serializer" title="raptor_new_serializer ()">raptor_new_serializer</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-serializer.html#raptor-free-serializer" title="raptor_free_serializer ()">raptor_free_serializer</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-start-to-iostream" title="raptor_serializer_start_to_iostream ()">raptor_serializer_start_to_iostream</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-start-to-filename" title="raptor_serializer_start_to_filename ()">raptor_serializer_start_to_filename</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-start-to-string" title="raptor_serializer_start_to_string ()">raptor_serializer_start_to_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-start-to-file-handle" title="raptor_serializer_start_to_file_handle ()">raptor_serializer_start_to_file_handle</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-set-namespace" title="raptor_serializer_set_namespace ()">raptor_serializer_set_namespace</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-set-namespace-from-namespace" title="raptor_serializer_set_namespace_from_namespace ()">raptor_serializer_set_namespace_from_namespace</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-serialize-statement" title="raptor_serializer_serialize_statement ()">raptor_serializer_serialize_statement</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-serialize-end" title="raptor_serializer_serialize_end ()">raptor_serializer_serialize_end</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-flush" title="raptor_serializer_flush ()">raptor_serializer_flush</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <a class="link" href="raptor2-section-general.html#raptor-syntax-description" title="raptor_syntax_description"><span class="returnvalue">raptor_syntax_description</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-get-description" title="raptor_serializer_get_description ()">raptor_serializer_get_description</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="returnvalue">raptor_iostream</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-get-iostream" title="raptor_serializer_get_iostream ()">raptor_serializer_get_iostream</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-locator.html#raptor-locator" title="raptor_locator"><span class="returnvalue">raptor_locator</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-get-locator" title="raptor_serializer_get_locator ()">raptor_serializer_get_locator</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-set-option" title="raptor_serializer_set_option ()">raptor_serializer_set_option</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-get-option" title="raptor_serializer_get_option ()">raptor_serializer_get_option</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="returnvalue">raptor_world</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-get-world" title="raptor_serializer_get_world ()">raptor_serializer_get_world</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-serializer.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="other_proto_type">
+<col class="other_proto_name">
+</colgroup>
+<tbody><tr>
+<td class="typedef_keyword">typedef</td>
+<td class="function_name"><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer">raptor_serializer</a></td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-serializer.description"></a><h2>Description</h2>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-serializer.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="raptor-new-serializer"></a><h3>raptor_new_serializer ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="returnvalue">raptor_serializer</span></a> *
+raptor_new_serializer (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
+<p>Constructor - create a new raptor_serializer object.</p>
+<div class="refsect3">
+<a name="raptor-new-serializer.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>name</p></td>
+<td class="parameter_description"><p>the serializer name or NULL for default syntax</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-serializer.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-free-serializer"></a><h3>raptor_free_serializer ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_free_serializer (<em class="parameter"><code><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> *rdf_serializer</code></em>);</pre>
+<p>Destructor - destroy a raptor_serializer object.</p>
+<div class="refsect3">
+<a name="raptor-free-serializer.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>rdf_serializer</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-serializer-start-to-iostream"></a><h3>raptor_serializer_start_to_iostream ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_serializer_start_to_iostream (<em class="parameter"><code><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> *rdf_serializer</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostream</code></em>);</pre>
+<p>Start serialization to an iostream with given base URI</p>
+<p>The passed in <em class="parameter"><code>iostream</code></em>
+ does not become owned by the serializer
+and can be used by the caller after serializing is done. It
+must be destroyed by the caller.</p>
+<div class="refsect3">
+<a name="raptor-serializer-start-to-iostream.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>rdf_serializer</p></td>
+<td class="parameter_description"><p>the <a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>base URI or NULL if no base URI is required</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostream</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> to write serialization to</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-serializer-start-to-iostream.returns"></a><h4>Returns</h4>
+<p> non-0 on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-serializer-start-to-filename"></a><h3>raptor_serializer_start_to_filename ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_serializer_start_to_filename (<em class="parameter"><code><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> *rdf_serializer</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *filename</code></em>);</pre>
+<p>Start serializing to a filename.</p>
+<div class="refsect3">
+<a name="raptor-serializer-start-to-filename.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>rdf_serializer</p></td>
+<td class="parameter_description"><p>the <a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>filename</p></td>
+<td class="parameter_description"><p>filename to serialize to</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-serializer-start-to-filename.returns"></a><h4>Returns</h4>
+<p> non-0 on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-serializer-start-to-string"></a><h3>raptor_serializer_start_to_string ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_serializer_start_to_string (<em class="parameter"><code><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> *rdf_serializer</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>,
+ <em class="parameter"><code><span class="type">void</span> **string_p</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> *length_p</code></em>);</pre>
+<p>Start serializing to a string.</p>
+<div class="refsect3">
+<a name="raptor-serializer-start-to-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>rdf_serializer</p></td>
+<td class="parameter_description"><p>the <a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>base URI or NULL if no base URI is required</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>string_p</p></td>
+<td class="parameter_description"><p>pointer to location to hold string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length_p</p></td>
+<td class="parameter_description"><p>pointer to location to hold length of string (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-serializer-start-to-string.returns"></a><h4>Returns</h4>
+<p> non-0 on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-serializer-start-to-file-handle"></a><h3>raptor_serializer_start_to_file_handle ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_serializer_start_to_file_handle
+ (<em class="parameter"><code><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> *rdf_serializer</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>,
+ <em class="parameter"><code><span class="type">FILE</span> *fh</code></em>);</pre>
+<p>Start serializing to a FILE*.</p>
+<p>NOTE: This does not fclose the handle when it is finished.</p>
+<div class="refsect3">
+<a name="raptor-serializer-start-to-file-handle.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>rdf_serializer</p></td>
+<td class="parameter_description"><p>the <a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>base URI or NULL if no base URI is required</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>fh</p></td>
+<td class="parameter_description"><p>FILE* to serialize to</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-serializer-start-to-file-handle.returns"></a><h4>Returns</h4>
+<p> non-0 on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-serializer-set-namespace"></a><h3>raptor_serializer_set_namespace ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_serializer_set_namespace (<em class="parameter"><code><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> *rdf_serializer</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *prefix</code></em>);</pre>
+<p>set a namespace uri/prefix mapping for serializing.</p>
+<div class="refsect3">
+<a name="raptor-serializer-set-namespace.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>rdf_serializer</p></td>
+<td class="parameter_description"><p>the <a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> of namespace or NULL</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>prefix</p></td>
+<td class="parameter_description"><p>prefix to use or NULL</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-serializer-set-namespace.returns"></a><h4>Returns</h4>
+<p> non-0 on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-serializer-set-namespace-from-namespace"></a><h3>raptor_serializer_set_namespace_from_namespace ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_serializer_set_namespace_from_namespace
+ (<em class="parameter"><code><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> *rdf_serializer</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> *nspace</code></em>);</pre>
+<p>Set a namespace uri/prefix mapping for serializing from an existing namespace.</p>
+<div class="refsect3">
+<a name="raptor-serializer-set-namespace-from-namespace.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>rdf_serializer</p></td>
+<td class="parameter_description"><p>the <a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>nspace</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> to set</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-serializer-set-namespace-from-namespace.returns"></a><h4>Returns</h4>
+<p> non-0 on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-serializer-serialize-statement"></a><h3>raptor_serializer_serialize_statement ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_serializer_serialize_statement (<em class="parameter"><code><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> *rdf_serializer</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> *statement</code></em>);</pre>
+<p>Serialize a statement.</p>
+<div class="refsect3">
+<a name="raptor-serializer-serialize-statement.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>rdf_serializer</p></td>
+<td class="parameter_description"><p>the <a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>statement</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> to serialize to a syntax</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-serializer-serialize-statement.returns"></a><h4>Returns</h4>
+<p> non-0 on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-serializer-serialize-end"></a><h3>raptor_serializer_serialize_end ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_serializer_serialize_end (<em class="parameter"><code><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> *rdf_serializer</code></em>);</pre>
+<p>End a serialization.</p>
+<div class="refsect3">
+<a name="raptor-serializer-serialize-end.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>rdf_serializer</p></td>
+<td class="parameter_description"><p>the <a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-serializer-serialize-end.returns"></a><h4>Returns</h4>
+<p> non-0 on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-serializer-flush"></a><h3>raptor_serializer_flush ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_serializer_flush (<em class="parameter"><code><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> *rdf_serializer</code></em>);</pre>
+<p>Flush the current serializer output and free any pending state</p>
+<p>In serializers that can generate blocks of content, this causes
+the writing of any current pending block. For example in Turtle
+this may write all pending triples.</p>
+<div class="refsect3">
+<a name="raptor-serializer-flush.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>rdf_serializer</p></td>
+<td class="parameter_description"><p>raptor serializer</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-serializer-flush.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-serializer-get-description"></a><h3>raptor_serializer_get_description ()</h3>
+<pre class="programlisting">const <a class="link" href="raptor2-section-general.html#raptor-syntax-description" title="raptor_syntax_description"><span class="returnvalue">raptor_syntax_description</span></a> *
+raptor_serializer_get_description (<em class="parameter"><code><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> *rdf_serializer</code></em>);</pre>
+<p>Get description of the syntaxes of the serializer.</p>
+<p>The returned description is static and lives as long as the raptor
+library (raptor world).</p>
+<div class="refsect3">
+<a name="raptor-serializer-get-description.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>rdf_serializer</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> serializer object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-serializer-get-description.returns"></a><h4>Returns</h4>
+<p> description of syntax</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-serializer-get-iostream"></a><h3>raptor_serializer_get_iostream ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="returnvalue">raptor_iostream</span></a> *
+raptor_serializer_get_iostream (<em class="parameter"><code><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> *serializer</code></em>);</pre>
+<p>Get the current serializer iostream.</p>
+<div class="refsect3">
+<a name="raptor-serializer-get-iostream.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>serializer</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-serializer-get-iostream.returns"></a><h4>Returns</h4>
+<p> the serializer's current iostream or NULL if </p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-serializer-get-locator"></a><h3>raptor_serializer_get_locator ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-locator.html#raptor-locator" title="raptor_locator"><span class="returnvalue">raptor_locator</span></a> *
+raptor_serializer_get_locator (<em class="parameter"><code><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> *rdf_serializer</code></em>);</pre>
+<p>Get the serializer raptor locator object.</p>
+<div class="refsect3">
+<a name="raptor-serializer-get-locator.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>rdf_serializer</p></td>
+<td class="parameter_description"><p>raptor serializer</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-serializer-get-locator.returns"></a><h4>Returns</h4>
+<p> raptor locator</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-serializer-set-option"></a><h3>raptor_serializer_set_option ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_serializer_set_option (<em class="parameter"><code><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> *serializer</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="type">raptor_option</span></a> option</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">int</span> integer</code></em>);</pre>
+<p>Set serializer option.</p>
+<p>If <em class="parameter"><code>string</code></em>
+ is not NULL and the option type is numeric, the string
+value is converted to an integer and used in preference to <em class="parameter"><code>integer</code></em>
+.</p>
+<p>If <em class="parameter"><code>string</code></em>
+ is NULL and the option type is not numeric, an error is
+returned.</p>
+<p>The <em class="parameter"><code>string</code></em>
+ values used are copied.</p>
+<p>The allowed options are available via
+<a class="link" href="raptor2-section-option.html#raptor-world-get-option-description" title="raptor_world_get_option_description ()"><code class="function">raptor_world_get_option_description()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-serializer-set-option.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>serializer</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> serializer object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>option</p></td>
+<td class="parameter_description"><p>option to set from enumerated <a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="type">raptor_option</span></a> values</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>string option value (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>integer</p></td>
+<td class="parameter_description"><p>integer option value</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-serializer-set-option.returns"></a><h4>Returns</h4>
+<p> non 0 on failure or if the option is unknown</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-serializer-get-option"></a><h3>raptor_serializer_get_option ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_serializer_get_option (<em class="parameter"><code><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> *serializer</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="type">raptor_option</span></a> option</code></em>,
+ <em class="parameter"><code><span class="type">char</span> **string_p</code></em>,
+ <em class="parameter"><code><span class="type">int</span> *integer_p</code></em>);</pre>
+<p>Get serializer option.</p>
+<p>Any string value returned in *<em class="parameter"><code>string_p</code></em>
+ is shared and must
+be copied by the caller.</p>
+<p>The allowed options are available via
+<a class="link" href="raptor2-section-option.html#raptor-world-get-option-description" title="raptor_world_get_option_description ()"><code class="function">raptor_world_get_option_description()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-serializer-get-option.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>serializer</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> serializer object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>option</p></td>
+<td class="parameter_description"><p>option to get value</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>string_p</p></td>
+<td class="parameter_description"><p>pointer to where to store string value</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>integer_p</p></td>
+<td class="parameter_description"><p>pointer to where to store integer value</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-serializer-get-option.returns"></a><h4>Returns</h4>
+<p> option value or &lt; 0 for an illegal option</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-serializer-get-world"></a><h3>raptor_serializer_get_world ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="returnvalue">raptor_world</span></a> *
+raptor_serializer_get_world (<em class="parameter"><code><a class="link" href="raptor2-section-serializer.html#raptor-serializer" title="raptor_serializer"><span class="type">raptor_serializer</span></a> *rdf_serializer</code></em>);</pre>
+<p>Get the <a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> object associated with a serializer.</p>
+<div class="refsect3">
+<a name="raptor-serializer-get-world.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>rdf_serializer</p></td>
+<td class="parameter_description"><p>raptor serializer</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-serializer-get-world.returns"></a><h4>Returns</h4>
+<p> raptor_world* pointer</p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-serializer.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="raptor-serializer"></a><h3>raptor_serializer</h3>
+<pre class="programlisting">raptor_serializer* raptor_serializer;
+</pre>
+<p>Raptor Serializer class</p>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-section-stringbuffer.html b/docs/html/raptor2-section-stringbuffer.html
new file mode 100644
index 0000000..9d142ca
--- /dev/null
+++ b/docs/html/raptor2-section-stringbuffer.html
@@ -0,0 +1,701 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>section-stringbuffer: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor2-section-serializer.html" title="section-serializer">
+<link rel="next" href="raptor2-section-triples.html" title="section-triples">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#raptor2-section-stringbuffer.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-section-serializer.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-section-triples.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="raptor2-section-stringbuffer"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="raptor2-section-stringbuffer.top_of_page"></a>section-stringbuffer</span></h2>
+<p>section-stringbuffer</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="raptor2-section-stringbuffer.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer" title="raptor_stringbuffer"><span class="returnvalue">raptor_stringbuffer</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-stringbuffer.html#raptor-new-stringbuffer" title="raptor_new_stringbuffer ()">raptor_new_stringbuffer</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-stringbuffer.html#raptor-free-stringbuffer" title="raptor_free_stringbuffer ()">raptor_free_stringbuffer</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-append-counted-string" title="raptor_stringbuffer_append_counted_string ()">raptor_stringbuffer_append_counted_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-append-decimal" title="raptor_stringbuffer_append_decimal ()">raptor_stringbuffer_append_decimal</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-append-hexadecimal" title="raptor_stringbuffer_append_hexadecimal ()">raptor_stringbuffer_append_hexadecimal</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-append-string" title="raptor_stringbuffer_append_string ()">raptor_stringbuffer_append_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-append-stringbuffer" title="raptor_stringbuffer_append_stringbuffer ()">raptor_stringbuffer_append_stringbuffer</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-append-uri-escaped-counted-string" title="raptor_stringbuffer_append_uri_escaped_counted_string ()">raptor_stringbuffer_append_uri_escaped_counted_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-prepend-counted-string" title="raptor_stringbuffer_prepend_counted_string ()">raptor_stringbuffer_prepend_counted_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-prepend-string" title="raptor_stringbuffer_prepend_string ()">raptor_stringbuffer_prepend_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-as-string" title="raptor_stringbuffer_as_string ()">raptor_stringbuffer_as_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">size_t</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-length" title="raptor_stringbuffer_length ()">raptor_stringbuffer_length</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-copy-to-string" title="raptor_stringbuffer_copy_to_string ()">raptor_stringbuffer_copy_to_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer-write" title="raptor_stringbuffer_write ()">raptor_stringbuffer_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-stringbuffer.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="other_proto_type">
+<col class="other_proto_name">
+</colgroup>
+<tbody><tr>
+<td class="typedef_keyword">typedef</td>
+<td class="function_name"><a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer" title="raptor_stringbuffer">raptor_stringbuffer</a></td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-stringbuffer.description"></a><h2>Description</h2>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-stringbuffer.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="raptor-new-stringbuffer"></a><h3>raptor_new_stringbuffer ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer" title="raptor_stringbuffer"><span class="returnvalue">raptor_stringbuffer</span></a> *
+raptor_new_stringbuffer (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
+<p>Create a new stringbuffer.</p>
+<div class="refsect3">
+<a name="raptor-new-stringbuffer.returns"></a><h4>Returns</h4>
+<p> pointer to a raptor_stringbuffer object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-free-stringbuffer"></a><h3>raptor_free_stringbuffer ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_free_stringbuffer (<em class="parameter"><code><a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer" title="raptor_stringbuffer"><span class="type">raptor_stringbuffer</span></a> *stringbuffer</code></em>);</pre>
+<p>Destroy a stringbuffer.</p>
+<div class="refsect3">
+<a name="raptor-free-stringbuffer.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>stringbuffer</p></td>
+<td class="parameter_description"><p>stringbuffer object to destroy.</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-stringbuffer-append-counted-string"></a><h3>raptor_stringbuffer_append_counted_string ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_stringbuffer_append_counted_string
+ (<em class="parameter"><code><a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer" title="raptor_stringbuffer"><span class="type">raptor_stringbuffer</span></a> *stringbuffer</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> length</code></em>,
+ <em class="parameter"><code><span class="type">int</span> do_copy</code></em>);</pre>
+<p>Add a counted string to the stringbuffer.</p>
+<p>If <em class="parameter"><code>string</code></em>
+ is NULL or <em class="parameter"><code>length</code></em>
+ is 0, no work is performed.</p>
+<p>If <em class="parameter"><code>do_copy</code></em>
+ is non-0, the passed-in string is copied into new memory
+otherwise the stringbuffer becomes the owner of the string pointer
+and will free it when the stringbuffer is destroyed.</p>
+<div class="refsect3">
+<a name="raptor-stringbuffer-append-counted-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>stringbuffer</p></td>
+<td class="parameter_description"><p>raptor stringbuffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>length of string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>do_copy</p></td>
+<td class="parameter_description"><p>non-0 to copy the string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-stringbuffer-append-counted-string.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-stringbuffer-append-decimal"></a><h3>raptor_stringbuffer_append_decimal ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_stringbuffer_append_decimal (<em class="parameter"><code><a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer" title="raptor_stringbuffer"><span class="type">raptor_stringbuffer</span></a> *stringbuffer</code></em>,
+ <em class="parameter"><code><span class="type">int</span> integer</code></em>);</pre>
+<p>Add an integer in decimal to the stringbuffer.</p>
+<div class="refsect3">
+<a name="raptor-stringbuffer-append-decimal.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>stringbuffer</p></td>
+<td class="parameter_description"><p>raptor stringbuffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>integer</p></td>
+<td class="parameter_description"><p>integer to format as decimal and add</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-stringbuffer-append-decimal.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-stringbuffer-append-hexadecimal"></a><h3>raptor_stringbuffer_append_hexadecimal ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_stringbuffer_append_hexadecimal
+ (<em class="parameter"><code><a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer" title="raptor_stringbuffer"><span class="type">raptor_stringbuffer</span></a> *stringbuffer</code></em>,
+ <em class="parameter"><code><span class="type">int</span> hex</code></em>);</pre>
+<p>Add an integer formatted in hexdecimal (base 16) to the stringbuffer.</p>
+<div class="refsect3">
+<a name="raptor-stringbuffer-append-hexadecimal.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>stringbuffer</p></td>
+<td class="parameter_description"><p>raptor stringbuffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>hex</p></td>
+<td class="parameter_description"><p>integer to format</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-stringbuffer-append-hexadecimal.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-stringbuffer-append-string"></a><h3>raptor_stringbuffer_append_string ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_stringbuffer_append_string (<em class="parameter"><code><a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer" title="raptor_stringbuffer"><span class="type">raptor_stringbuffer</span></a> *stringbuffer</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">int</span> do_copy</code></em>);</pre>
+<p>Add a string to the stringbuffer.</p>
+<p>If <em class="parameter"><code>string</code></em>
+ is NULL, no work is performed.</p>
+<p>If <em class="parameter"><code>do_copy</code></em>
+ is non-0, the passed-in string is copied into new memory
+otherwise the stringbuffer becomes the owner of the string pointer
+and will free it when the stringbuffer is destroyed.</p>
+<div class="refsect3">
+<a name="raptor-stringbuffer-append-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>stringbuffer</p></td>
+<td class="parameter_description"><p>raptor stringbuffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>do_copy</p></td>
+<td class="parameter_description"><p>non-0 to copy the string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-stringbuffer-append-string.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-stringbuffer-append-stringbuffer"></a><h3>raptor_stringbuffer_append_stringbuffer ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_stringbuffer_append_stringbuffer
+ (<em class="parameter"><code><a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer" title="raptor_stringbuffer"><span class="type">raptor_stringbuffer</span></a> *stringbuffer</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer" title="raptor_stringbuffer"><span class="type">raptor_stringbuffer</span></a> *append</code></em>);</pre>
+<p>Add a stringbuffer to the stringbuffer.</p>
+<p>This function removes the content from the appending stringbuffer,
+making it empty and appends it to the supplied stringbuffer.</p>
+<div class="refsect3">
+<a name="raptor-stringbuffer-append-stringbuffer.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>stringbuffer</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer" title="raptor_stringbuffer"><span class="type">raptor_stringbuffer</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>append</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer" title="raptor_stringbuffer"><span class="type">raptor_stringbuffer</span></a> to append</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-stringbuffer-append-stringbuffer.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-stringbuffer-append-uri-escaped-counted-string"></a><h3>raptor_stringbuffer_append_uri_escaped_counted_string ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_stringbuffer_append_uri_escaped_counted_string
+ (<em class="parameter"><code><a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer" title="raptor_stringbuffer"><span class="type">raptor_stringbuffer</span></a> *sb</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> length</code></em>,
+ <em class="parameter"><code><span class="type">int</span> space_is_plus</code></em>);</pre>
+<p>Add a URI-escaped version of <em class="parameter"><code>string</code></em>
+ to the stringbuffer.</p>
+<p>If <em class="parameter"><code>string</code></em>
+ is NULL or <em class="parameter"><code>length</code></em>
+ is 0, no work is performed.</p>
+<div class="refsect3">
+<a name="raptor-stringbuffer-append-uri-escaped-counted-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>sb</p></td>
+<td class="parameter_description"><p>raptor stringbuffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>length of string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>space_is_plus</p></td>
+<td class="parameter_description"><p>if non-0, escape spaces as '+' otherwise percent-encode them</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-stringbuffer-append-uri-escaped-counted-string.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-stringbuffer-prepend-counted-string"></a><h3>raptor_stringbuffer_prepend_counted_string ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_stringbuffer_prepend_counted_string
+ (<em class="parameter"><code><a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer" title="raptor_stringbuffer"><span class="type">raptor_stringbuffer</span></a> *stringbuffer</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> length</code></em>,
+ <em class="parameter"><code><span class="type">int</span> do_copy</code></em>);</pre>
+<p>If do_copy is non-0, the passed-in string is copied into new memory
+otherwise the stringbuffer becomes the owner of the string pointer
+and will free it when the stringbuffer is destroyed.</p>
+<p>Add a string to the start of the stringbuffer.</p>
+<div class="refsect3">
+<a name="raptor-stringbuffer-prepend-counted-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>stringbuffer</p></td>
+<td class="parameter_description"><p>raptor stringbuffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>length of string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>do_copy</p></td>
+<td class="parameter_description"><p>non-0 to copy the string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-stringbuffer-prepend-counted-string.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-stringbuffer-prepend-string"></a><h3>raptor_stringbuffer_prepend_string ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_stringbuffer_prepend_string (<em class="parameter"><code><a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer" title="raptor_stringbuffer"><span class="type">raptor_stringbuffer</span></a> *stringbuffer</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">int</span> do_copy</code></em>);</pre>
+<p>Add a string to the start of the stringbuffer.</p>
+<p>If do_copy is non-0, the passed-in string is copied into new memory
+otherwise the stringbuffer becomes the owner of the string pointer
+and will free it when the stringbuffer is destroyed.</p>
+<div class="refsect3">
+<a name="raptor-stringbuffer-prepend-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>stringbuffer</p></td>
+<td class="parameter_description"><p>raptor stringbuffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>do_copy</p></td>
+<td class="parameter_description"><p>non-0 to copy the string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-stringbuffer-prepend-string.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-stringbuffer-as-string"></a><h3>raptor_stringbuffer_as_string ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">char</span> *
+raptor_stringbuffer_as_string (<em class="parameter"><code><a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer" title="raptor_stringbuffer"><span class="type">raptor_stringbuffer</span></a> *stringbuffer</code></em>);</pre>
+<p>Return the stringbuffer as a C string.</p>
+<p>Note: the return value is a to a shared string that the stringbuffer
+allocates and manages.</p>
+<div class="refsect3">
+<a name="raptor-stringbuffer-as-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>stringbuffer</p></td>
+<td class="parameter_description"><p>raptor stringbuffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-stringbuffer-as-string.returns"></a><h4>Returns</h4>
+<p> NULL on failure or stringbuffer is empty, otherwise
+a pointer to a shared copy of the string.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-stringbuffer-length"></a><h3>raptor_stringbuffer_length ()</h3>
+<pre class="programlisting"><span class="returnvalue">size_t</span>
+raptor_stringbuffer_length (<em class="parameter"><code><a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer" title="raptor_stringbuffer"><span class="type">raptor_stringbuffer</span></a> *stringbuffer</code></em>);</pre>
+<p>Return the stringbuffer length.</p>
+<div class="refsect3">
+<a name="raptor-stringbuffer-length.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>stringbuffer</p></td>
+<td class="parameter_description"><p>raptor stringbuffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-stringbuffer-length.returns"></a><h4>Returns</h4>
+<p> size of stringbuffer</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-stringbuffer-copy-to-string"></a><h3>raptor_stringbuffer_copy_to_string ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_stringbuffer_copy_to_string (<em class="parameter"><code><a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer" title="raptor_stringbuffer"><span class="type">raptor_stringbuffer</span></a> *stringbuffer</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> length</code></em>);</pre>
+<p>Copy the stringbuffer into a string.</p>
+<p>Copies the underlying string to a pre-allocated buffer. The
+output string is always '\0' terminated.</p>
+<div class="refsect3">
+<a name="raptor-stringbuffer-copy-to-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>stringbuffer</p></td>
+<td class="parameter_description"><p>raptor stringbuffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>output string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>size of output string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-stringbuffer-copy-to-string.returns"></a><h4>Returns</h4>
+<p> non-0 on failure such as stringbuffer is empty, buffer is too small</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-stringbuffer-write"></a><h3>raptor_stringbuffer_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_stringbuffer_write (<em class="parameter"><code><a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer" title="raptor_stringbuffer"><span class="type">raptor_stringbuffer</span></a> *sb</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Write a stringbuffer to an iostream.</p>
+<div class="refsect3">
+<a name="raptor-stringbuffer-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>sb</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-stringbuffer.html#raptor-stringbuffer" title="raptor_stringbuffer"><span class="type">raptor_stringbuffer</span></a> to write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>raptor iostream</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-stringbuffer-write.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-stringbuffer.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="raptor-stringbuffer"></a><h3>raptor_stringbuffer</h3>
+<pre class="programlisting">raptor_stringbuffer* raptor_stringbuffer;
+</pre>
+<p>Raptor string buffer class</p>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-section-triples.html b/docs/html/raptor2-section-triples.html
new file mode 100644
index 0000000..eeca662
--- /dev/null
+++ b/docs/html/raptor2-section-triples.html
@@ -0,0 +1,1704 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>section-triples: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor2-section-stringbuffer.html" title="section-stringbuffer">
+<link rel="next" href="raptor2-section-unicode.html" title="section-unicode">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#raptor2-section-triples.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-section-stringbuffer.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-section-unicode.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="raptor2-section-triples"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="raptor2-section-triples.top_of_page"></a>section-triples</span></h2>
+<p>section-triples</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="raptor2-section-triples.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="returnvalue">raptor_term</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-new-term-from-blank" title="raptor_new_term_from_blank ()">raptor_new_term_from_blank</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="returnvalue">raptor_term</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-new-term-from-counted-blank" title="raptor_new_term_from_counted_blank ()">raptor_new_term_from_counted_blank</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="returnvalue">raptor_term</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-new-term-from-literal" title="raptor_new_term_from_literal ()">raptor_new_term_from_literal</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="returnvalue">raptor_term</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-new-term-from-counted-literal" title="raptor_new_term_from_counted_literal ()">raptor_new_term_from_counted_literal</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="returnvalue">raptor_term</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-new-term-from-counted-uri-string" title="raptor_new_term_from_counted_uri_string ()">raptor_new_term_from_counted_uri_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="returnvalue">raptor_term</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-new-term-from-uri" title="raptor_new_term_from_uri ()">raptor_new_term_from_uri</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="returnvalue">raptor_term</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-new-term-from-uri-string" title="raptor_new_term_from_uri_string ()">raptor_new_term_from_uri_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="returnvalue">raptor_term</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-new-term-from-counted-string" title="raptor_new_term_from_counted_string ()">raptor_new_term_from_counted_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="returnvalue">raptor_term</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-term-copy" title="raptor_term_copy ()">raptor_term_copy</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-term-compare" title="raptor_term_compare ()">raptor_term_compare</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-term-equals" title="raptor_term_equals ()">raptor_term_equals</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-free-term" title="raptor_free_term ()">raptor_free_term</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-term-to-counted-string" title="raptor_term_to_counted_string ()">raptor_term_to_counted_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-term-to-string" title="raptor_term_to_string ()">raptor_term_to_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-term-ntriples-write" title="raptor_term_ntriples_write ()">raptor_term_ntriples_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-term-to-turtle-counted-string" title="raptor_term_to_turtle_counted_string ()">raptor_term_to_turtle_counted_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-term-to-turtle-string" title="raptor_term_to_turtle_string ()">raptor_term_to_turtle_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-term-turtle-write" title="raptor_term_turtle_write ()">raptor_term_turtle_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="returnvalue">raptor_statement</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-new-statement" title="raptor_new_statement ()">raptor_new_statement</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="returnvalue">raptor_statement</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-new-statement-from-nodes" title="raptor_new_statement_from_nodes ()">raptor_new_statement_from_nodes</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-free-statement" title="raptor_free_statement ()">raptor_free_statement</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="returnvalue">raptor_statement</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-statement-copy" title="raptor_statement_copy ()">raptor_statement_copy</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-statement-compare" title="raptor_statement_compare ()">raptor_statement_compare</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-statement-equals" title="raptor_statement_equals ()">raptor_statement_equals</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-statement-init" title="raptor_statement_init ()">raptor_statement_init</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-statement-clear" title="raptor_statement_clear ()">raptor_statement_clear</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-statement-print" title="raptor_statement_print ()">raptor_statement_print</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-statement-print-as-ntriples" title="raptor_statement_print_as_ntriples ()">raptor_statement_print_as_ntriples</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-triples.html#raptor-statement-ntriples-write" title="raptor_statement_ntriples_write ()">raptor_statement_ntriples_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-triples.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="other_proto_type">
+<col class="other_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="datatype_keyword">enum</td>
+<td class="function_name"><a class="link" href="raptor2-section-triples.html#raptor-term-type" title="enum raptor_term_type">raptor_term_type</a></td>
+</tr>
+<tr>
+<td class="datatype_keyword"> </td>
+<td class="function_name"><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term">raptor_term</a></td>
+</tr>
+<tr>
+<td class="datatype_keyword"> </td>
+<td class="function_name"><a class="link" href="raptor2-section-triples.html#raptor-term-value" title="raptor_term_value">raptor_term_value</a></td>
+</tr>
+<tr>
+<td class="datatype_keyword"> </td>
+<td class="function_name"><a class="link" href="raptor2-section-triples.html#raptor-term-blank-value" title="raptor_term_blank_value">raptor_term_blank_value</a></td>
+</tr>
+<tr>
+<td class="datatype_keyword"> </td>
+<td class="function_name"><a class="link" href="raptor2-section-triples.html#raptor-term-literal-value" title="raptor_term_literal_value">raptor_term_literal_value</a></td>
+</tr>
+<tr>
+<td class="datatype_keyword"> </td>
+<td class="function_name"><a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement">raptor_statement</a></td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-triples.description"></a><h2>Description</h2>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-triples.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="raptor-new-term-from-blank"></a><h3>raptor_new_term_from_blank ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="returnvalue">raptor_term</span></a> *
+raptor_new_term_from_blank (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *blank</code></em>);</pre>
+<p>Constructor - create a new blank node statement term from a UTF-8 encoded blank node ID</p>
+<p>Takes a copy of the passed in <em class="parameter"><code>blank</code></em>
+</p>
+<p>If <em class="parameter"><code>blank</code></em>
+ is NULL or an empty string, creates a new internal
+identifier and uses it. This will use the handler set with
+<a class="link" href="raptor2-section-world.html#raptor-world-set-generate-bnodeid-parameters" title="raptor_world_set_generate_bnodeid_parameters ()"><code class="function">raptor_world_set_generate_bnodeid_parameters()</code></a></p>
+<div class="refsect3">
+<a name="raptor-new-term-from-blank.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>blank</p></td>
+<td class="parameter_description"><p>UTF-8 encoded blank node identifier (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-term-from-blank.returns"></a><h4>Returns</h4>
+<p> new term or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-term-from-counted-blank"></a><h3>raptor_new_term_from_counted_blank ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="returnvalue">raptor_term</span></a> *
+raptor_new_term_from_counted_blank (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *blank</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> length</code></em>);</pre>
+<p>Constructor - create a new blank node statement term from a counted UTF-8 encoded blank node ID</p>
+<p>Takes a copy of the passed in <em class="parameter"><code>blank</code></em>
+</p>
+<p>If <em class="parameter"><code>blank</code></em>
+ is NULL, creates a new internal identifier and uses it.
+This will use the handler set with
+<a class="link" href="raptor2-section-world.html#raptor-world-set-generate-bnodeid-parameters" title="raptor_world_set_generate_bnodeid_parameters ()"><code class="function">raptor_world_set_generate_bnodeid_parameters()</code></a></p>
+<p>Note: The <em class="parameter"><code>blank</code></em>
+ need not be NULL terminated - a NULL will be
+added to the copied string used.</p>
+<div class="refsect3">
+<a name="raptor-new-term-from-counted-blank.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>blank</p></td>
+<td class="parameter_description"><p>UTF-8 encoded blank node identifier (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>length of identifier (or 0)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-term-from-counted-blank.returns"></a><h4>Returns</h4>
+<p> new term or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-term-from-literal"></a><h3>raptor_new_term_from_literal ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="returnvalue">raptor_term</span></a> *
+raptor_new_term_from_literal (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *literal</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *datatype</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *language</code></em>);</pre>
+<p>Constructor - create a new literal statement term</p>
+<p>Takes copies of the passed in <em class="parameter"><code>literal</code></em>
+, <em class="parameter"><code>datatype</code></em>
+, <em class="parameter"><code>language</code></em>
+</p>
+<p>Only one of <em class="parameter"><code>language</code></em>
+ or <em class="parameter"><code>datatype</code></em>
+ may be given. If both are
+given, NULL is returned. If <em class="parameter"><code>language</code></em>
+ is the empty string, it is
+the equivalent to NULL.</p>
+<div class="refsect3">
+<a name="raptor-new-term-from-literal.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>literal</p></td>
+<td class="parameter_description"><p>UTF-8 encoded literal string (or NULL for empty literal)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>datatype</p></td>
+<td class="parameter_description"><p>literal datatype URI (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>language</p></td>
+<td class="parameter_description"><p>literal language (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-term-from-literal.returns"></a><h4>Returns</h4>
+<p> new term or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-term-from-counted-literal"></a><h3>raptor_new_term_from_counted_literal ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="returnvalue">raptor_term</span></a> *
+raptor_new_term_from_counted_literal (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *literal</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> literal_len</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *datatype</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *language</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">char</span> language_len</code></em>);</pre>
+<p>Constructor - create a new literal statement term from a counted UTF-8 encoded literal string</p>
+<p>Takes copies of the passed in <em class="parameter"><code>literal</code></em>
+, <em class="parameter"><code>datatype</code></em>
+, <em class="parameter"><code>language</code></em>
+</p>
+<p>Only one of <em class="parameter"><code>language</code></em>
+ or <em class="parameter"><code>datatype</code></em>
+ may be given. If both are
+given, NULL is returned. If <em class="parameter"><code>language</code></em>
+ is the empty string, it is
+the equivalent to NULL.</p>
+<p>Note: The <em class="parameter"><code>literal</code></em>
+ need not be NULL terminated - a NULL will be
+added to the copied string used.</p>
+<div class="refsect3">
+<a name="raptor-new-term-from-counted-literal.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>literal</p></td>
+<td class="parameter_description"><p>UTF-8 encoded literal string (or NULL for empty literal)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>literal_len</p></td>
+<td class="parameter_description"><p>length of literal</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>datatype</p></td>
+<td class="parameter_description"><p>literal datatype URI (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>language</p></td>
+<td class="parameter_description"><p>literal language (or NULL for no language)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>language_len</p></td>
+<td class="parameter_description"><p>literal language length</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-term-from-counted-literal.returns"></a><h4>Returns</h4>
+<p> new term or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-term-from-counted-uri-string"></a><h3>raptor_new_term_from_counted_uri_string ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="returnvalue">raptor_term</span></a> *
+raptor_new_term_from_counted_uri_string
+ (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *uri_string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> length</code></em>);</pre>
+<p>Constructor - create a new URI statement term from a UTF-8 encoded Unicode string</p>
+<p>Note: The <em class="parameter"><code>uri_string</code></em>
+ need not be NULL terminated - a NULL will be
+added to the copied string used.</p>
+<div class="refsect3">
+<a name="raptor-new-term-from-counted-uri-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri_string</p></td>
+<td class="parameter_description"><p>UTF-8 encoded URI string.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>length of URI string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-term-from-counted-uri-string.returns"></a><h4>Returns</h4>
+<p> new term or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-term-from-uri"></a><h3>raptor_new_term_from_uri ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="returnvalue">raptor_term</span></a> *
+raptor_new_term_from_uri (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>);</pre>
+<p>Constructor - create a new URI statement term</p>
+<p>Takes a copy (reference) of the passed in <em class="parameter"><code>uri</code></em>
+</p>
+<div class="refsect3">
+<a name="raptor-new-term-from-uri.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>uri</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-term-from-uri.returns"></a><h4>Returns</h4>
+<p> new term or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-term-from-uri-string"></a><h3>raptor_new_term_from_uri_string ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="returnvalue">raptor_term</span></a> *
+raptor_new_term_from_uri_string (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *uri_string</code></em>);</pre>
+<p>Constructor - create a new URI statement term from a UTF-8 encoded Unicode string</p>
+<div class="refsect3">
+<a name="raptor-new-term-from-uri-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri_string</p></td>
+<td class="parameter_description"><p>UTF-8 encoded URI string.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-term-from-uri-string.returns"></a><h4>Returns</h4>
+<p> new term or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-term-from-counted-string"></a><h3>raptor_new_term_from_counted_string ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="returnvalue">raptor_term</span></a> *
+raptor_new_term_from_counted_string (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> length</code></em>);</pre>
+<p>Constructor - create a new term from a Turtle / N-Triples format string in UTF-8</p>
+<p>See also <a class="link" href="raptor2-section-triples.html#raptor-term-to-counted-string" title="raptor_term_to_counted_string ()"><code class="function">raptor_term_to_counted_string()</code></a> and <a class="link" href="raptor2-section-triples.html#raptor-term-to-string" title="raptor_term_to_string ()"><code class="function">raptor_term_to_string()</code></a></p>
+<div class="refsect3">
+<a name="raptor-new-term-from-counted-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>N-Triples format string (UTF-8)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>length of <em class="parameter"><code>string</code></em>
+(or 0)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-term-from-counted-string.returns"></a><h4>Returns</h4>
+<p> new term or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-term-copy"></a><h3>raptor_term_copy ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="returnvalue">raptor_term</span></a> *
+raptor_term_copy (<em class="parameter"><code><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *term</code></em>);</pre>
+<p>Copy constructor - get a copy of a statement term</p>
+<div class="refsect3">
+<a name="raptor-term-copy.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>term</p></td>
+<td class="parameter_description"><p>raptor term</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-term-copy.returns"></a><h4>Returns</h4>
+<p> new term object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-term-compare"></a><h3>raptor_term_compare ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_term_compare (<em class="parameter"><code>const <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *t1</code></em>,
+ <em class="parameter"><code>const <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *t2</code></em>);</pre>
+<p>Compare a pair of <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a></p>
+<p>If types are different, the <a class="link" href="raptor2-section-triples.html#raptor-term-type" title="enum raptor_term_type"><span class="type">raptor_term_type</span></a> order is used.</p>
+<p>Resource and datatype URIs are compared with <a class="link" href="raptor2-section-uri.html#raptor-uri-compare" title="raptor_uri_compare ()"><code class="function">raptor_uri_compare()</code></a>,
+blank nodes and literals with <code class="function">strcmp()</code>. If one literal has no
+language, it is earlier than one with a language. If one literal
+has no datatype, it is earlier than one with a datatype.</p>
+<div class="refsect3">
+<a name="raptor-term-compare.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>t1</p></td>
+<td class="parameter_description"><p>first term</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>t2</p></td>
+<td class="parameter_description"><p>second term</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-term-compare.returns"></a><h4>Returns</h4>
+<p> &lt;0 if t1 is before t2, 0 if equal, &gt;0 if t1 is after t2</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-term-equals"></a><h3>raptor_term_equals ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_term_equals (<em class="parameter"><code><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *t1</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *t2</code></em>);</pre>
+<p>Compare a pair of <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> for equality</p>
+<div class="refsect3">
+<a name="raptor-term-equals.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>t1</p></td>
+<td class="parameter_description"><p>first term</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>t2</p></td>
+<td class="parameter_description"><p>second term</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-term-equals.returns"></a><h4>Returns</h4>
+<p> non-0 if the terms are equal</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-free-term"></a><h3>raptor_free_term ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_free_term (<em class="parameter"><code><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *term</code></em>);</pre>
+<p>Destructor - destroy a raptor_term object.</p>
+<div class="refsect3">
+<a name="raptor-free-term.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>term</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-term-to-counted-string"></a><h3>raptor_term_to_counted_string ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">char</span> *
+raptor_term_to_counted_string (<em class="parameter"><code><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *term</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> *len_p</code></em>);</pre>
+<p>Turns a raptor term into a N-Triples format counted string.</p>
+<p>Turns the given <em class="parameter"><code>term</code></em>
+ into an N-Triples escaped string using all the
+escapes as defined in http://www.w3.org/TR/rdf-testcases/<span class="type">ntriples</span></p>
+<p>This function uses <a class="link" href="raptor2-section-triples.html#raptor-term-ntriples-write" title="raptor_term_ntriples_write ()"><code class="function">raptor_term_ntriples_write()</code></a> to write to an
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> which is the prefered way to write formatted
+output.</p>
+<p>See also <a class="link" href="raptor2-section-triples.html#raptor-new-term-from-counted-string" title="raptor_new_term_from_counted_string ()"><code class="function">raptor_new_term_from_counted_string()</code></a> to reverse this.</p>
+<p>See also <a class="link" href="raptor2-section-triples.html#raptor-term-to-turtle-string" title="raptor_term_to_turtle_string ()"><code class="function">raptor_term_to_turtle_string()</code></a> to write as Turtle which
+will include Turtle syntax such as 'true' for booleans and """quoting"""</p>
+<div class="refsect3">
+<a name="raptor-term-to-counted-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>term</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len_p</p></td>
+<td class="parameter_description"><p>Pointer to location to store length of new string (if not NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-term-to-counted-string.returns"></a><h4>Returns</h4>
+<p> the new string or NULL on failure. The length of
+the new string is returned in *<em class="parameter"><code>len_p</code></em>
+if len_p is not NULL.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-term-to-string"></a><h3>raptor_term_to_string ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">char</span> *
+raptor_term_to_string (<em class="parameter"><code><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *term</code></em>);</pre>
+<p>Turns a raptor term into a N-Triples format string.</p>
+<p>Turns the given <em class="parameter"><code>term</code></em>
+ into an N-Triples escaped string using all the
+escapes as defined in http://www.w3.org/TR/rdf-testcases/<span class="type">ntriples</span></p>
+<p>See also <a class="link" href="raptor2-section-triples.html#raptor-new-term-from-counted-string" title="raptor_new_term_from_counted_string ()"><code class="function">raptor_new_term_from_counted_string()</code></a> to reverse this.</p>
+<p>See also <a class="link" href="raptor2-section-triples.html#raptor-term-to-turtle-string" title="raptor_term_to_turtle_string ()"><code class="function">raptor_term_to_turtle_string()</code></a> to write as Turtle which
+will include Turtle syntax such as 'true' for booleans and """quoting"""</p>
+<div class="refsect3">
+<a name="raptor-term-to-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>term</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-term-to-string.returns"></a><h4>Returns</h4>
+<p> the new string or NULL on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-term-ntriples-write"></a><h3>raptor_term_ntriples_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_term_ntriples_write (<em class="parameter"><code>const <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *term</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<div class="warning"><p><code class="literal">raptor_term_ntriples_write</code> is deprecated and should not be used in newly-written code.</p></div>
+<p>Write a <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> formatted in N-Triples format to a <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a></p>
+<p><em class="parameter"><code>Deprecated</code></em>
+: Use <a class="link" href="raptor2-section-iostream.html#raptor-term-escaped-write" title="raptor_term_escaped_write ()"><code class="function">raptor_term_escaped_write()</code></a> that allows
+configuring format detail flags.</p>
+<div class="refsect3">
+<a name="raptor-term-ntriples-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>term</p></td>
+<td class="parameter_description"><p>term to write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>raptor iostream</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-term-ntriples-write.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-term-to-turtle-counted-string"></a><h3>raptor_term_to_turtle_counted_string ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">char</span> *
+raptor_term_to_turtle_counted_string (<em class="parameter"><code><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *term</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *base_uri</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> *len_p</code></em>);</pre>
+<p>Convert <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> to a string.
+Caller has responsibility to free the string.</p>
+<p>Note: This creates and destroys several internal objects for each
+call so for more efficient writing, create a turtle serializer.</p>
+<p>See also <a class="link" href="raptor2-section-triples.html#raptor-term-to-counted-string" title="raptor_term_to_counted_string ()"><code class="function">raptor_term_to_counted_string()</code></a> which writes in simpler
+N-Triples with no Turtle abbreviated forms, and is quicker.</p>
+<div class="refsect3">
+<a name="raptor-term-to-turtle-counted-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>term</p></td>
+<td class="parameter_description"><p>term</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>namespace stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>base_uri</p></td>
+<td class="parameter_description"><p>base URI</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len_p</p></td>
+<td class="parameter_description"><p>Pointer to location to store length of new string (if not NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-term-to-turtle-counted-string.returns"></a><h4>Returns</h4>
+<p> the new string or NULL on failure. The length of
+the new string is returned in *<em class="parameter"><code>len_p</code></em>
+if len_p is not NULL.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-term-to-turtle-string"></a><h3>raptor_term_to_turtle_string ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">char</span> *
+raptor_term_to_turtle_string (<em class="parameter"><code><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *term</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *base_uri</code></em>);</pre>
+<p>Convert <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> to a string.
+Caller has responsibility to free the string.</p>
+<p>See also <a class="link" href="raptor2-section-triples.html#raptor-term-to-counted-string" title="raptor_term_to_counted_string ()"><code class="function">raptor_term_to_counted_string()</code></a> which writes in simpler
+N-Triples with no Turtle abbreviated forms, and is quicker.</p>
+<div class="refsect3">
+<a name="raptor-term-to-turtle-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>term</p></td>
+<td class="parameter_description"><p>term</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>namespace stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>base_uri</p></td>
+<td class="parameter_description"><p>base URI</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-term-to-turtle-string.returns"></a><h4>Returns</h4>
+<p> the new string or NULL on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-term-turtle-write"></a><h3>raptor_term_turtle_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_term_turtle_write (<em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *term</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *base_uri</code></em>);</pre>
+<p>Write <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> to a stream in turtle syntax (using QNames).</p>
+<p>Note: This creates and destroys several internal objects for each
+call so for more efficient writing, create a turtle serializer.</p>
+<div class="refsect3">
+<a name="raptor-term-turtle-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>iostream for writing</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>term</p></td>
+<td class="parameter_description"><p>term</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>namespace stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>base_uri</p></td>
+<td class="parameter_description"><p>base URI</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-term-turtle-write.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-statement"></a><h3>raptor_new_statement ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="returnvalue">raptor_statement</span></a> *
+raptor_new_statement (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>);</pre>
+<p>Constructor - create a new <a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a>.</p>
+<div class="refsect3">
+<a name="raptor-new-statement.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-statement.returns"></a><h4>Returns</h4>
+<p> new raptor statement or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-statement-from-nodes"></a><h3>raptor_new_statement_from_nodes ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="returnvalue">raptor_statement</span></a> *
+raptor_new_statement_from_nodes (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *subject</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *predicate</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *object</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *graph</code></em>);</pre>
+<p>Constructor - create a new <a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> from a set of terms</p>
+<p>The <em class="parameter"><code>subject</code></em>
+, <em class="parameter"><code>predicate</code></em>
+, <em class="parameter"><code>object</code></em>
+ and <em class="parameter"><code>graph</code></em>
+ become owned by the statement.</p>
+<div class="refsect3">
+<a name="raptor-new-statement-from-nodes.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>subject</p></td>
+<td class="parameter_description"><p>subject term (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>predicate</p></td>
+<td class="parameter_description"><p>predicate term (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>object</p></td>
+<td class="parameter_description"><p>object term (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>graph</p></td>
+<td class="parameter_description"><p>graph name term (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-statement-from-nodes.returns"></a><h4>Returns</h4>
+<p> new raptor statement or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-free-statement"></a><h3>raptor_free_statement ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_free_statement (<em class="parameter"><code><a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> *statement</code></em>);</pre>
+<p>Destructor</p>
+<div class="refsect3">
+<a name="raptor-free-statement.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>statement</p></td>
+<td class="parameter_description"><p>statement</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-statement-copy"></a><h3>raptor_statement_copy ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="returnvalue">raptor_statement</span></a> *
+raptor_statement_copy (<em class="parameter"><code><a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> *statement</code></em>);</pre>
+<p>Copy a <a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a>.</p>
+<div class="refsect3">
+<a name="raptor-statement-copy.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>statement</p></td>
+<td class="parameter_description"><p>statement to copy</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-statement-copy.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> or NULL on error</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-statement-compare"></a><h3>raptor_statement_compare ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_statement_compare (<em class="parameter"><code>const <a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> *s1</code></em>,
+ <em class="parameter"><code>const <a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> *s2</code></em>);</pre>
+<p>Compare a pair of <a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a></p>
+<p>Uses <a class="link" href="raptor2-section-triples.html#raptor-term-compare" title="raptor_term_compare ()"><code class="function">raptor_term_compare()</code></a> to check ordering between subjects,
+predicates and objects of statements.</p>
+<div class="refsect3">
+<a name="raptor-statement-compare.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>s1</p></td>
+<td class="parameter_description"><p>first statement</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>s2</p></td>
+<td class="parameter_description"><p>second statement</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-statement-compare.returns"></a><h4>Returns</h4>
+<p> &lt;0 if s1 is before s2, 0 if equal, &gt;0 if s1 is after s2</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-statement-equals"></a><h3>raptor_statement_equals ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_statement_equals (<em class="parameter"><code>const <a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> *s1</code></em>,
+ <em class="parameter"><code>const <a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> *s2</code></em>);</pre>
+<p>Compare a pair of <a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> for equality</p>
+<div class="refsect3">
+<a name="raptor-statement-equals.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>s1</p></td>
+<td class="parameter_description"><p>first statement</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>s2</p></td>
+<td class="parameter_description"><p>second statement</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-statement-equals.returns"></a><h4>Returns</h4>
+<p> non-0 if statements are equal</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-statement-init"></a><h3>raptor_statement_init ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_statement_init (<em class="parameter"><code><a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> *statement</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>);</pre>
+<p>Initialize a static <a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a>.</p>
+<div class="refsect3">
+<a name="raptor-statement-init.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>statement</p></td>
+<td class="parameter_description"><p>statement to initialize</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-statement-clear"></a><h3>raptor_statement_clear ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_statement_clear (<em class="parameter"><code><a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> *statement</code></em>);</pre>
+<p>Empty a raptor_statement of terms.</p>
+<div class="refsect3">
+<a name="raptor-statement-clear.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>statement</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-statement-print"></a><h3>raptor_statement_print ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_statement_print (<em class="parameter"><code>const <a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> *statement</code></em>,
+ <em class="parameter"><code><span class="type">FILE</span> *stream</code></em>);</pre>
+<p>Print a raptor_statement to a stream.</p>
+<div class="refsect3">
+<a name="raptor-statement-print.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>statement</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> object to print</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>stream</p></td>
+<td class="parameter_description"><p>FILE* stream</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-statement-print.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-statement-print-as-ntriples"></a><h3>raptor_statement_print_as_ntriples ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_statement_print_as_ntriples (<em class="parameter"><code>const <a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> *statement</code></em>,
+ <em class="parameter"><code><span class="type">FILE</span> *stream</code></em>);</pre>
+<p>Print a raptor_statement in N-Triples form.</p>
+<div class="refsect3">
+<a name="raptor-statement-print-as-ntriples.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>statement</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> to print</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>stream</p></td>
+<td class="parameter_description"><p>FILE* stream</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-statement-print-as-ntriples.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-statement-ntriples-write"></a><h3>raptor_statement_ntriples_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_statement_ntriples_write (<em class="parameter"><code>const <a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> *statement</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>,
+ <em class="parameter"><code><span class="type">int</span> write_graph_term</code></em>);</pre>
+<p>Write a <a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a> formatted in N-Triples or N-Quads format
+to a <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a></p>
+<div class="refsect3">
+<a name="raptor-statement-ntriples-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>statement</p></td>
+<td class="parameter_description"><p>statement to write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>raptor iostream</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>write_graph_term</p></td>
+<td class="parameter_description"><p>flag to write graph term if present</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-statement-ntriples-write.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-triples.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="raptor-term-type"></a><h3>enum raptor_term_type</h3>
+<p>Type of term in a <a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a></p>
+<p>Node type 3 is unused but exists to preserve numeric compatibility
+with librdf_node_type values.</p>
+<div class="refsect3">
+<a name="raptor-term-type.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="enum_members_name">
+<col class="enum_members_description">
+<col width="200px" class="enum_members_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-TERM-TYPE-UNKNOWN:CAPS"></a>RAPTOR_TERM_TYPE_UNKNOWN</p></td>
+<td class="enum_member_description">
+<p>Internal</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-TERM-TYPE-URI:CAPS"></a>RAPTOR_TERM_TYPE_URI</p></td>
+<td class="enum_member_description">
+<p>RDF URI</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-TERM-TYPE-LITERAL:CAPS"></a>RAPTOR_TERM_TYPE_LITERAL</p></td>
+<td class="enum_member_description">
+<p>RDF literal</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-TERM-TYPE-BLANK:CAPS"></a>RAPTOR_TERM_TYPE_BLANK</p></td>
+<td class="enum_member_description">
+<p>RDF blank node</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-term"></a><h3>raptor_term</h3>
+<pre class="programlisting">typedef struct {
+ raptor_world* world;
+
+ int usage;
+
+ raptor_term_type type;
+
+ raptor_term_value value;
+} raptor_term;
+</pre>
+<p>An RDF statement term</p>
+<div class="refsect3">
+<a name="raptor-term.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="struct_members_name">
+<col class="struct_members_description">
+<col width="200px" class="struct_members_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *<em class="structfield"><code><a name="raptor-term.world"></a>world</code></em>;</p></td>
+<td class="struct_member_description"><p>world</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><span class="type">int</span> <em class="structfield"><code><a name="raptor-term.usage"></a>usage</code></em>;</p></td>
+<td class="struct_member_description"><p>usage reference count (if &gt;0)</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-triples.html#raptor-term-type" title="enum raptor_term_type"><span class="type">raptor_term_type</span></a> <em class="structfield"><code><a name="raptor-term.type"></a>type</code></em>;</p></td>
+<td class="struct_member_description"><p>term type</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-triples.html#raptor-term-value" title="raptor_term_value"><span class="type">raptor_term_value</span></a> <em class="structfield"><code><a name="raptor-term.value"></a>value</code></em>;</p></td>
+<td class="struct_member_description"><p>term values per type</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-term-value"></a><h3>raptor_term_value</h3>
+<p>Term value - this typedef exists solely for use in <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a></p>
+<div class="refsect3">
+<a name="raptor-term-value.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="union_members_name">
+<col class="union_members_description">
+<col width="200px" class="union_members_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="union_member_name"><p><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *<em class="structfield"><code><a name="raptor-term-value.uri"></a>uri</code></em>;</p></td>
+<td class="union_member_description"><p>uri value when term type is <a class="link" href="raptor2-section-triples.html#RAPTOR-TERM-TYPE-URI:CAPS"><span class="type">RAPTOR_TERM_TYPE_URI</span></a></p></td>
+<td class="union_member_annotations"> </td>
+</tr>
+<tr>
+<td class="union_member_name"><p><a class="link" href="raptor2-section-triples.html#raptor-term-literal-value" title="raptor_term_literal_value"><span class="type">raptor_term_literal_value</span></a> <em class="structfield"><code><a name="raptor-term-value.literal"></a>literal</code></em>;</p></td>
+<td class="union_member_description"><p>literal value when term type is <a class="link" href="raptor2-section-triples.html#RAPTOR-TERM-TYPE-LITERAL:CAPS"><span class="type">RAPTOR_TERM_TYPE_LITERAL</span></a></p></td>
+<td class="union_member_annotations"> </td>
+</tr>
+<tr>
+<td class="union_member_name"><p><a class="link" href="raptor2-section-triples.html#raptor-term-blank-value" title="raptor_term_blank_value"><span class="type">raptor_term_blank_value</span></a> <em class="structfield"><code><a name="raptor-term-value.blank"></a>blank</code></em>;</p></td>
+<td class="union_member_description"><p>blank value when term type is <a class="link" href="raptor2-section-triples.html#RAPTOR-TERM-TYPE-BLANK:CAPS"><span class="type">RAPTOR_TERM_TYPE_BLANK</span></a></p></td>
+<td class="union_member_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-term-blank-value"></a><h3>raptor_term_blank_value</h3>
+<pre class="programlisting">typedef struct {
+ unsigned char *string;
+ unsigned int string_len;
+} raptor_term_blank_value;
+</pre>
+<p>Blank term value - this typedef exists solely for use in <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a></p>
+<div class="refsect3">
+<a name="raptor-term-blank-value.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="struct_members_name">
+<col class="struct_members_description">
+<col width="200px" class="struct_members_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="struct_member_name"><p>unsigned <span class="type">char</span> *<em class="structfield"><code><a name="raptor-term-blank-value.string"></a>string</code></em>;</p></td>
+<td class="struct_member_description"><p>literal string</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p>unsigned <span class="type">int</span> <em class="structfield"><code><a name="raptor-term-blank-value.string-len"></a>string_len</code></em>;</p></td>
+<td class="struct_member_description"><p>length of string</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-term-literal-value"></a><h3>raptor_term_literal_value</h3>
+<pre class="programlisting">typedef struct {
+ unsigned char *string;
+ unsigned int string_len;
+
+ raptor_uri *datatype;
+
+ unsigned char *language;
+ unsigned char language_len;
+} raptor_term_literal_value;
+</pre>
+<p>Literal term value - this typedef exists solely for use in <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a></p>
+<p>Either <em class="parameter"><code>datatype</code></em>
+ or <em class="parameter"><code>language</code></em>
+ may be non-NULL but not both.</p>
+<div class="refsect3">
+<a name="raptor-term-literal-value.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="struct_members_name">
+<col class="struct_members_description">
+<col width="200px" class="struct_members_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="struct_member_name"><p>unsigned <span class="type">char</span> *<em class="structfield"><code><a name="raptor-term-literal-value.string"></a>string</code></em>;</p></td>
+<td class="struct_member_description"><p>literal string</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p>unsigned <span class="type">int</span> <em class="structfield"><code><a name="raptor-term-literal-value.string-len"></a>string_len</code></em>;</p></td>
+<td class="struct_member_description"><p>length of string</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *<em class="structfield"><code><a name="raptor-term-literal-value.datatype"></a>datatype</code></em>;</p></td>
+<td class="struct_member_description"><p>datatype URI (or NULL)</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p>unsigned <span class="type">char</span> *<em class="structfield"><code><a name="raptor-term-literal-value.language"></a>language</code></em>;</p></td>
+<td class="struct_member_description"><p>literal language (or NULL)</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p>unsigned <span class="type">char</span> <em class="structfield"><code><a name="raptor-term-literal-value.language-len"></a>language_len</code></em>;</p></td>
+<td class="struct_member_description"><p>length of language</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-statement"></a><h3>raptor_statement</h3>
+<pre class="programlisting">typedef struct {
+ raptor_world* world;
+ int usage;
+ raptor_term* subject;
+ raptor_term* predicate;
+ raptor_term* object;
+ raptor_term* graph;
+} raptor_statement;
+</pre>
+<p>An RDF triple with optional graph name (quad)</p>
+<p>See <a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> for a description of how the fields may be used.
+As returned by a parser statement_handler.</p>
+<div class="refsect3">
+<a name="raptor-statement.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="struct_members_name">
+<col class="struct_members_description">
+<col width="200px" class="struct_members_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *<em class="structfield"><code><a name="raptor-statement.world"></a>world</code></em>;</p></td>
+<td class="struct_member_description"><p>world pointer</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><span class="type">int</span> <em class="structfield"><code><a name="raptor-statement.usage"></a>usage</code></em>;</p></td>
+<td class="struct_member_description"><p>usage count</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *<em class="structfield"><code><a name="raptor-statement.subject"></a>subject</code></em>;</p></td>
+<td class="struct_member_description"><p>statement subject</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *<em class="structfield"><code><a name="raptor-statement.predicate"></a>predicate</code></em>;</p></td>
+<td class="struct_member_description"><p>statement predicate</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *<em class="structfield"><code><a name="raptor-statement.object"></a>object</code></em>;</p></td>
+<td class="struct_member_description"><p>statement object</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+<tr>
+<td class="struct_member_name"><p><a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a> *<em class="structfield"><code><a name="raptor-statement.graph"></a>graph</code></em>;</p></td>
+<td class="struct_member_description"><p>statement graph name (or NULL if not present)</p></td>
+<td class="struct_member_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-section-unicode.html b/docs/html/raptor2-section-unicode.html
new file mode 100644
index 0000000..4db381d
--- /dev/null
+++ b/docs/html/raptor2-section-unicode.html
@@ -0,0 +1,482 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>section-unicode: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor2-section-triples.html" title="section-triples">
+<link rel="next" href="raptor2-section-uri.html" title="section-uri">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#raptor2-section-unicode.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-section-triples.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-section-uri.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="raptor2-section-unicode"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="raptor2-section-unicode.top_of_page"></a>section-unicode</span></h2>
+<p>section-unicode</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="raptor2-section-unicode.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-unicode.html#raptor-unicode-utf8-string-put-char" title="raptor_unicode_utf8_string_put_char ()">raptor_unicode_utf8_string_put_char</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-unicode.html#raptor-unicode-utf8-string-get-char" title="raptor_unicode_utf8_string_get_char ()">raptor_unicode_utf8_string_get_char</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-unicode.html#raptor-unicode-is-xml11-namestartchar" title="raptor_unicode_is_xml11_namestartchar ()">raptor_unicode_is_xml11_namestartchar</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-unicode.html#raptor-unicode-is-xml10-namestartchar" title="raptor_unicode_is_xml10_namestartchar ()">raptor_unicode_is_xml10_namestartchar</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-unicode.html#raptor-unicode-is-xml11-namechar" title="raptor_unicode_is_xml11_namechar ()">raptor_unicode_is_xml11_namechar</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-unicode.html#raptor-unicode-is-xml10-namechar" title="raptor_unicode_is_xml10_namechar ()">raptor_unicode_is_xml10_namechar</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-unicode.html#raptor-unicode-check-utf8-string" title="raptor_unicode_check_utf8_string ()">raptor_unicode_check_utf8_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-unicode.html#raptor-unicode-utf8-strlen" title="raptor_unicode_utf8_strlen ()">raptor_unicode_utf8_strlen</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">size_t</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-unicode.html#raptor-unicode-utf8-substr" title="raptor_unicode_utf8_substr ()">raptor_unicode_utf8_substr</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-unicode.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="other_proto_type">
+<col class="other_proto_name">
+</colgroup>
+<tbody><tr>
+<td class="typedef_keyword">typedef</td>
+<td class="function_name"><a class="link" href="raptor2-section-unicode.html#raptor-unichar" title="raptor_unichar">raptor_unichar</a></td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-unicode.description"></a><h2>Description</h2>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-unicode.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="raptor-unicode-utf8-string-put-char"></a><h3>raptor_unicode_utf8_string_put_char ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_unicode_utf8_string_put_char (<em class="parameter"><code><a class="link" href="raptor2-section-unicode.html#raptor-unichar" title="raptor_unichar"><span class="type">raptor_unichar</span></a> c</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">char</span> *output</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> length</code></em>);</pre>
+<p>Encode a Unicode character to a UTF-8 string</p>
+<p>If <em class="parameter"><code>output</code></em>
+ is NULL, then will calculate the length rather than
+perform the encoding. This can be used by the called to allocate
+space and then re-call this function with the new buffer.</p>
+<div class="refsect3">
+<a name="raptor-unicode-utf8-string-put-char.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>c</p></td>
+<td class="parameter_description"><p>Unicode character</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>output</p></td>
+<td class="parameter_description"><p>UTF-8 string buffer or NULL</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>length of output buffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-unicode-utf8-string-put-char.returns"></a><h4>Returns</h4>
+<p> number of bytes encoded to output buffer or &lt;0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-unicode-utf8-string-get-char"></a><h3>raptor_unicode_utf8_string_get_char ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_unicode_utf8_string_get_char (<em class="parameter"><code>const <span class="type">char</span> *input</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> length</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-unicode.html#raptor-unichar" title="raptor_unichar"><span class="type">raptor_unichar</span></a> *output</code></em>);</pre>
+<p>Decode a UTF-8 encoded string to get a Unicode character.</p>
+<p>If output is NULL, then will calculate the number of bytes that
+will be used from the input buffer and not perform the conversion.</p>
+<div class="refsect3">
+<a name="raptor-unicode-utf8-string-get-char.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>input</p></td>
+<td class="parameter_description"><p>UTF-8 string buffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>buffer size</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>output</p></td>
+<td class="parameter_description"><p>Pointer to the Unicode character or NULL</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-unicode-utf8-string-get-char.returns"></a><h4>Returns</h4>
+<p> bytes used from input buffer or &lt;0 on failure: -1 input buffer too short or length error, -2 overlong UTF-8 sequence, -3 illegal code positions, -4 code out of range U+0000 to U+10FFFF. In cases -2, -3 and -4 the coded character is stored in the output.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-unicode-is-xml11-namestartchar"></a><h3>raptor_unicode_is_xml11_namestartchar ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_unicode_is_xml11_namestartchar (<em class="parameter"><code><a class="link" href="raptor2-section-unicode.html#raptor-unichar" title="raptor_unichar"><span class="type">raptor_unichar</span></a> c</code></em>);</pre>
+<p>Check if Unicode character is legal to start an XML 1.1 Name</p>
+<p>See <a class="ulink" href="http://www.w3.org/TR/2004/REC-xml11-20040204/#NT-NameStartChar" target="_top">Namespaces in XML 1.1 REC 2004-02-04 NameStartChar</a>
+updating</p>
+<a class="ulink" href="http://www.w3.org/TR/2004/REC-xml11-20040204/" target="_top">Extensible Markup Language (XML) 1.1 REC 2004-02-04</a> sec 2.3, [4a]
+<p>excluding the ':'</p>
+<div class="refsect3">
+<a name="raptor-unicode-is-xml11-namestartchar.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>c</p></td>
+<td class="parameter_description"><p>Unicode character to check</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-unicode-is-xml11-namestartchar.returns"></a><h4>Returns</h4>
+<p> non-0 if legal</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-unicode-is-xml10-namestartchar"></a><h3>raptor_unicode_is_xml10_namestartchar ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_unicode_is_xml10_namestartchar (<em class="parameter"><code><a class="link" href="raptor2-section-unicode.html#raptor-unichar" title="raptor_unichar"><span class="type">raptor_unichar</span></a> c</code></em>);</pre>
+<p>Check if Unicode character is legal to start an XML 1.0 Name</p>
+<p>See <a class="ulink" href="http://www.w3.org/TR/1999/REC-xml-names-19990114/#NT-NCName" target="_top">Namespaces in XML REC 1999-01-14</a>
+updating</p>
+<a class="ulink" href="http://www.w3.org/TR/2004/REC-xml-20040204/" target="_top">Extensible Markup Language (XML) 1.0 (Third Edition) REC 2004-02-04</a><p>excluding the ':'</p>
+<div class="refsect3">
+<a name="raptor-unicode-is-xml10-namestartchar.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>c</p></td>
+<td class="parameter_description"><p>Unicode character to check</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-unicode-is-xml10-namestartchar.returns"></a><h4>Returns</h4>
+<p> non-0 if legal</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-unicode-is-xml11-namechar"></a><h3>raptor_unicode_is_xml11_namechar ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_unicode_is_xml11_namechar (<em class="parameter"><code><a class="link" href="raptor2-section-unicode.html#raptor-unichar" title="raptor_unichar"><span class="type">raptor_unichar</span></a> c</code></em>);</pre>
+<p>Check if a Unicode codepoint is a legal to continue an XML 1.1 Name</p>
+<p>See <a class="ulink" href="http://www.w3.org/TR/2004/REC-xml11-20040204/" target="_top">Namespaces in XML 1.1 REC 2004-02-04</a>
+updating</p>
+<a class="ulink" href="http://www.w3.org/TR/2004/REC-xml-20040204/" target="_top">Extensible Markup Language (XML) 1.0 (Third Edition) REC 2004-02-04</a> sec 2.3, [4a]
+<p>excluding the ':'</p>
+<div class="refsect3">
+<a name="raptor-unicode-is-xml11-namechar.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>c</p></td>
+<td class="parameter_description"><p>Unicode character</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-unicode-is-xml11-namechar.returns"></a><h4>Returns</h4>
+<p> non-0 if legal</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-unicode-is-xml10-namechar"></a><h3>raptor_unicode_is_xml10_namechar ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_unicode_is_xml10_namechar (<em class="parameter"><code><a class="link" href="raptor2-section-unicode.html#raptor-unichar" title="raptor_unichar"><span class="type">raptor_unichar</span></a> c</code></em>);</pre>
+<p>Check if a Unicode codepoint is a legal to continue an XML 1.0 Name</p>
+<p>See <a class="ulink" href="http://www.w3.org/TR/1999/REC-xml-names-19990114/#NT-NCNameChar" target="_top">Namespaces in XML REC 1999-01-14 NCNameChar</a>
+updating</p>
+<a class="ulink" href="http://www.w3.org/TR/2004/REC-xml-20040204/" target="_top">Extensible Markup Language (XML) 1.0 (Third Edition) REC 2004-02-04</a><p>excluding the ':'</p>
+<div class="refsect3">
+<a name="raptor-unicode-is-xml10-namechar.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>c</p></td>
+<td class="parameter_description"><p>Unicode character</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-unicode-is-xml10-namechar.returns"></a><h4>Returns</h4>
+<p> non-0 if legal</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-unicode-check-utf8-string"></a><h3>raptor_unicode_check_utf8_string ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_unicode_check_utf8_string (<em class="parameter"><code>const <span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> length</code></em>);</pre>
+<p>Check a string is valid Unicode UTF-8.</p>
+<div class="refsect3">
+<a name="raptor-unicode-check-utf8-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>UTF-8 string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>length of string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-unicode-check-utf8-string.returns"></a><h4>Returns</h4>
+<p> Non 0 if the string is UTF-8</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-unicode-utf8-strlen"></a><h3>raptor_unicode_utf8_strlen ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_unicode_utf8_strlen (<em class="parameter"><code>const <span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> length</code></em>);</pre>
+<p>Calculate the number of Unicode characters in the given UTF-8 encoded buffer</p>
+<div class="refsect3">
+<a name="raptor-unicode-utf8-strlen.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>buffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>buffer length</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-unicode-utf8-strlen.returns"></a><h4>Returns</h4>
+<p> number of characters or &lt;0 if sequence is invalid</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-unicode-utf8-substr"></a><h3>raptor_unicode_utf8_substr ()</h3>
+<pre class="programlisting"><span class="returnvalue">size_t</span>
+raptor_unicode_utf8_substr (<em class="parameter"><code>unsigned <span class="type">char</span> *dest</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> *dest_length_p</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *src</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> src_length</code></em>,
+ <em class="parameter"><code><span class="type">int</span> startingLoc</code></em>,
+ <em class="parameter"><code><span class="type">int</span> length</code></em>);</pre>
+<p>Get a unicode (UTF-8) substring of an existing UTF-8 string</p>
+<p>If <em class="parameter"><code>dest</code></em>
+ is NULL, returns the number of bytes needed to write and
+does no work.</p>
+<div class="refsect3">
+<a name="raptor-unicode-utf8-substr.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>dest</p></td>
+<td class="parameter_description"><p>destination string buffer to write to (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>dest_length_p</p></td>
+<td class="parameter_description"><p>location to store actual destination length (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>src</p></td>
+<td class="parameter_description"><p>source string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>src_length</p></td>
+<td class="parameter_description"><p>source length in bytes</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>startingLoc</p></td>
+<td class="parameter_description"><p>starting location offset 0 for first Unicode character</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>number of Unicode characters to copy at offset <em class="parameter"><code>startingLoc</code></em>
+(or &lt; 0)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-unicode-utf8-substr.returns"></a><h4>Returns</h4>
+<p> number of bytes used in destination string or 0 on failure</p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-unicode.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="raptor-unichar"></a><h3>raptor_unichar</h3>
+<pre class="programlisting">typedef unsigned long raptor_unichar;
+</pre>
+<p>raptor Unicode codepoint</p>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-section-uri.html b/docs/html/raptor2-section-uri.html
new file mode 100644
index 0000000..38c4c86
--- /dev/null
+++ b/docs/html/raptor2-section-uri.html
@@ -0,0 +1,1675 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>section-uri: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor2-section-unicode.html" title="section-unicode">
+<link rel="next" href="raptor2-section-www.html" title="section-www">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#raptor2-section-uri.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-section-unicode.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-section-www.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="raptor2-section-uri"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="raptor2-section-uri.top_of_page"></a>section-uri</span></h2>
+<p>section-uri</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="raptor2-section-uri.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-new-uri" title="raptor_new_uri ()">raptor_new_uri</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-new-uri-from-counted-string" title="raptor_new_uri_from_counted_string ()">raptor_new_uri_from_counted_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-new-uri-from-uri-local-name" title="raptor_new_uri_from_uri_local_name ()">raptor_new_uri_from_uri_local_name</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-new-uri-from-uri-or-file-string" title="raptor_new_uri_from_uri_or_file_string ()">raptor_new_uri_from_uri_or_file_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-new-uri-relative-to-base" title="raptor_new_uri_relative_to_base ()">raptor_new_uri_relative_to_base</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-new-uri-relative-to-base-counted" title="raptor_new_uri_relative_to_base_counted ()">raptor_new_uri_relative_to_base_counted</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-new-uri-from-id" title="raptor_new_uri_from_id ()">raptor_new_uri_from_id</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-new-uri-for-rdf-concept" title="raptor_new_uri_for_rdf_concept ()">raptor_new_uri_for_rdf_concept</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-new-uri-for-xmlbase" title="raptor_new_uri_for_xmlbase ()">raptor_new_uri_for_xmlbase</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-new-uri-for-retrieval" title="raptor_new_uri_for_retrieval ()">raptor_new_uri_for_retrieval</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-free-uri" title="raptor_free_uri ()">raptor_free_uri</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-compare" title="raptor_uri_compare ()">raptor_uri_compare</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-equals" title="raptor_uri_equals ()">raptor_uri_equals</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-copy" title="raptor_uri_copy ()">raptor_uri_copy</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-as-string" title="raptor_uri_as_string ()">raptor_uri_as_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-as-counted-string" title="raptor_uri_as_counted_string ()">raptor_uri_as_counted_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-to-relative-counted-uri-string" title="raptor_uri_to_relative_counted_uri_string ()">raptor_uri_to_relative_counted_uri_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-to-relative-uri-string" title="raptor_uri_to_relative_uri_string ()">raptor_uri_to_relative_uri_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-to-counted-string" title="raptor_uri_to_counted_string ()">raptor_uri_to_counted_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-to-string" title="raptor_uri_to_string ()">raptor_uri_to_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">size_t</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-resolve-uri-reference" title="raptor_uri_resolve_uri_reference ()">raptor_uri_resolve_uri_reference</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-counted-filename-to-uri-string" title="raptor_uri_counted_filename_to_uri_string ()">raptor_uri_counted_filename_to_uri_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-filename-to-uri-string" title="raptor_uri_filename_to_uri_string ()">raptor_uri_filename_to_uri_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-uri-string-is-absolute" title="raptor_uri_uri_string_is_absolute ()">raptor_uri_uri_string_is_absolute</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-uri-string-is-file-uri" title="raptor_uri_uri_string_is_file_uri ()">raptor_uri_uri_string_is_file_uri</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-uri-string-to-filename" title="raptor_uri_uri_string_to_filename ()">raptor_uri_uri_string_to_filename</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-uri-string-to-filename-fragment" title="raptor_uri_uri_string_to_filename_fragment ()">raptor_uri_uri_string_to_filename_fragment</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-uri-string-to-counted-filename-fragment" title="raptor_uri_uri_string_to_counted_filename_fragment ()">raptor_uri_uri_string_to_counted_filename_fragment</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-print" title="raptor_uri_print ()">raptor_uri_print</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="returnvalue">raptor_world</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-get-world" title="raptor_uri_get_world ()">raptor_uri_get_world</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-write" title="raptor_uri_write ()">raptor_uri_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-file-exists" title="raptor_uri_file_exists ()">raptor_uri_file_exists</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-filename-exists" title="raptor_uri_filename_exists ()">raptor_uri_filename_exists</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-to-turtle-counted-string" title="raptor_uri_to_turtle_counted_string ()">raptor_uri_to_turtle_counted_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-to-turtle-string" title="raptor_uri_to_turtle_string ()">raptor_uri_to_turtle_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-uri.html#raptor-uri-turtle-write" title="raptor_uri_turtle_write ()">raptor_uri_turtle_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-uri.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="other_proto_type">
+<col class="other_proto_name">
+</colgroup>
+<tbody><tr>
+<td class="typedef_keyword">typedef</td>
+<td class="function_name"><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri">raptor_uri</a></td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-uri.description"></a><h2>Description</h2>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-uri.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="raptor-new-uri"></a><h3>raptor_new_uri ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+raptor_new_uri (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *uri_string</code></em>);</pre>
+<p>Constructor - create a raptor URI from a UTF-8 encoded Unicode string.</p>
+<div class="refsect3">
+<a name="raptor-new-uri.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri_string</p></td>
+<td class="parameter_description"><p>URI string.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-uri.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> object or NULL on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-uri-from-counted-string"></a><h3>raptor_new_uri_from_counted_string ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+raptor_new_uri_from_counted_string (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *uri_string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> length</code></em>);</pre>
+<p>Constructor - create a raptor URI from a UTF-8 encoded Unicode string.</p>
+<p>Note: The <em class="parameter"><code>uri_string</code></em>
+ need not be NULL terminated - a NULL will be
+added to the copied string used.</p>
+<div class="refsect3">
+<a name="raptor-new-uri-from-counted-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri_string</p></td>
+<td class="parameter_description"><p>URI string.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>length of URI string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-uri-from-counted-string.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> object or NULL on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-uri-from-uri-local-name"></a><h3>raptor_new_uri_from_uri_local_name ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+raptor_new_uri_from_uri_local_name (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *local_name</code></em>);</pre>
+<p>Constructor - create a raptor URI from an existing URI and a local name.</p>
+<p>Creates a new URI from the concatenation of the <em class="parameter"><code>local_name</code></em>
+ to the
+<em class="parameter"><code>uri</code></em>
+. This is NOT relative URI resolution, which is done by the
+<a class="link" href="raptor2-section-uri.html#raptor-new-uri-relative-to-base" title="raptor_new_uri_relative_to_base ()"><code class="function">raptor_new_uri_relative_to_base()</code></a> constructor.</p>
+<div class="refsect3">
+<a name="raptor-new-uri-from-uri-local-name.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>existing <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>local_name</p></td>
+<td class="parameter_description"><p>local name</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-uri-from-uri-local-name.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> object or NULL on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-uri-from-uri-or-file-string"></a><h3>raptor_new_uri_from_uri_or_file_string ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+raptor_new_uri_from_uri_or_file_string
+ (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *base_uri</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *uri_or_file_string</code></em>);</pre>
+<p>Constructor - create a raptor URI from a string that is a relative or absolute URI or a filename</p>
+<p>If the <em class="parameter"><code>uri_or_file_string</code></em>
+ is a filename PATH that exists, the
+result will be a URI file://PATH</p>
+<div class="refsect3">
+<a name="raptor-new-uri-from-uri-or-file-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>base_uri</p></td>
+<td class="parameter_description"><p>existing base URI</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri_or_file_string</p></td>
+<td class="parameter_description"><p>URI string or filename</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-uri-from-uri-or-file-string.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-uri-relative-to-base"></a><h3>raptor_new_uri_relative_to_base ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+raptor_new_uri_relative_to_base (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *base_uri</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *uri_string</code></em>);</pre>
+<p>Constructor - create a raptor URI from a base URI and a relative URI string.</p>
+<p>Use <a class="link" href="raptor2-section-uri.html#raptor-new-uri-relative-to-base-counted" title="raptor_new_uri_relative_to_base_counted ()"><code class="function">raptor_new_uri_relative_to_base_counted()</code></a> if the URI string length is known</p>
+<div class="refsect3">
+<a name="raptor-new-uri-relative-to-base.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>base_uri</p></td>
+<td class="parameter_description"><p>existing base URI</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri_string</p></td>
+<td class="parameter_description"><p>relative URI string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-uri-relative-to-base.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> object or NULL on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-uri-relative-to-base-counted"></a><h3>raptor_new_uri_relative_to_base_counted ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+raptor_new_uri_relative_to_base_counted
+ (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *base_uri</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *uri_string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> uri_len</code></em>);</pre>
+<p>Constructor - create a raptor URI from a base URI and a relative counted URI string.</p>
+<div class="refsect3">
+<a name="raptor-new-uri-relative-to-base-counted.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>base_uri</p></td>
+<td class="parameter_description"><p>existing base URI</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri_string</p></td>
+<td class="parameter_description"><p>relative URI string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri_len</p></td>
+<td class="parameter_description"><p>length of URI string (or 0)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-uri-relative-to-base-counted.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> object or NULL on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-uri-from-id"></a><h3>raptor_new_uri_from_id ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+raptor_new_uri_from_id (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *base_uri</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *id</code></em>);</pre>
+<p>Constructor - create a new URI from a base URI and RDF ID.</p>
+<p>This creates a URI equivalent to concatenating <em class="parameter"><code>base_uri</code></em>
+ with</p>
+<div class="refsect3">
+<a name="id-1.4.20.6.8.6"></a><h4>and <em class="parameter"><code>id</code></em>
+.</h4>
+</div>
+<div class="refsect3">
+<a name="raptor-new-uri-from-id.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>base_uri</p></td>
+<td class="parameter_description"><p>existing base URI</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>id</p></td>
+<td class="parameter_description"><p>RDF ID</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-uri-from-id.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> object or NULL on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-uri-for-rdf-concept"></a><h3>raptor_new_uri_for_rdf_concept ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+raptor_new_uri_for_rdf_concept (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
+<p>Constructor - create a raptor URI for the RDF namespace concept name.</p>
+<p>Example: u=raptor_new_uri_for_rdf_concept("value") creates a new
+URI for the rdf:value term.</p>
+<div class="refsect3">
+<a name="raptor-new-uri-for-rdf-concept.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>name</p></td>
+<td class="parameter_description"><p>RDF namespace concept</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-uri-for-rdf-concept.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-uri-for-xmlbase"></a><h3>raptor_new_uri_for_xmlbase ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+raptor_new_uri_for_xmlbase (<em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *old_uri</code></em>);</pre>
+<p>Constructor - create a URI suitable for use as an XML Base.</p>
+<p>Takes an existing URI and ensures it has a path (default /) and has
+no fragment or query arguments - XML base does not use these.</p>
+<div class="refsect3">
+<a name="raptor-new-uri-for-xmlbase.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>old_uri</p></td>
+<td class="parameter_description"><p>URI to transform</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-uri-for-xmlbase.returns"></a><h4>Returns</h4>
+<p> new <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> object or NULL on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-uri-for-retrieval"></a><h3>raptor_new_uri_for_retrieval ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+raptor_new_uri_for_retrieval (<em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *old_uri</code></em>);</pre>
+<p>Constructor - create a URI suitable for retrieval.</p>
+<p>Takes an existing URI and ensures it has a path (default /) and has
+no fragment - URI retrieval does not use the fragment part.</p>
+<div class="refsect3">
+<a name="raptor-new-uri-for-retrieval.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>old_uri</p></td>
+<td class="parameter_description"><p>URI to transform</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-uri-for-retrieval.returns"></a><h4>Returns</h4>
+<p> new <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> object or NULL on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-free-uri"></a><h3>raptor_free_uri ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_free_uri (<em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>);</pre>
+<p>Destructor - destroy a <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> object</p>
+<div class="refsect3">
+<a name="raptor-free-uri.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>URI to destroy</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-compare"></a><h3>raptor_uri_compare ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_uri_compare (<em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri1</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri2</code></em>);</pre>
+<p>Compare two URIs, ala strcmp.</p>
+<p>A NULL URI is always less than (never equal to) a non-NULL URI.</p>
+<div class="refsect3">
+<a name="raptor-uri-compare.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>uri1</p></td>
+<td class="parameter_description"><p>URI 1 (may be NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri2</p></td>
+<td class="parameter_description"><p>URI 2 (may be NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-compare.returns"></a><h4>Returns</h4>
+<p> -1 if uri1 &lt; uri2, 0 if equal, 1 if uri1 &gt; uri2</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-equals"></a><h3>raptor_uri_equals ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_uri_equals (<em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri1</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri2</code></em>);</pre>
+<p>Check if two URIs are equal.</p>
+<p>A NULL URI is not equal to a non-NULL URI.</p>
+<div class="refsect3">
+<a name="raptor-uri-equals.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>uri1</p></td>
+<td class="parameter_description"><p>URI 1 (may be NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri2</p></td>
+<td class="parameter_description"><p>URI 2 (may be NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-equals.returns"></a><h4>Returns</h4>
+<p> non-0 if the URIs are equal</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-copy"></a><h3>raptor_uri_copy ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+raptor_uri_copy (<em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>);</pre>
+<p>Constructor - get a copy of a URI.</p>
+<div class="refsect3">
+<a name="raptor-uri-copy.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>URI object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-copy.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-as-string"></a><h3>raptor_uri_as_string ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">char</span> *
+raptor_uri_as_string (<em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>);</pre>
+<p>Get a string representation of a URI.</p>
+<p>Returns a shared pointer to a string representation of <em class="parameter"><code>uri</code></em>
+. This
+string is shared and must not be freed, otherwise see use the
+<a class="link" href="raptor2-section-uri.html#raptor-uri-to-string" title="raptor_uri_to_string ()"><code class="function">raptor_uri_to_string()</code></a> or <a class="link" href="raptor2-section-uri.html#raptor-uri-to-counted-string" title="raptor_uri_to_counted_string ()"><code class="function">raptor_uri_to_counted_string()</code></a> methods.</p>
+<div class="refsect3">
+<a name="raptor-uri-as-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-as-string.returns"></a><h4>Returns</h4>
+<p> shared string representation of URI</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-as-counted-string"></a><h3>raptor_uri_as_counted_string ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">char</span> *
+raptor_uri_as_counted_string (<em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> *len_p</code></em>);</pre>
+<p>Get a string representation of a URI with count.</p>
+<p>Returns a shared pointer to a string representation of <em class="parameter"><code>uri</code></em>
+ along
+with the length of the string in <em class="parameter"><code>len_p</code></em>
+, if not NULL. This
+string is shared and must not be freed, otherwise see use the
+<a class="link" href="raptor2-section-uri.html#raptor-uri-to-string" title="raptor_uri_to_string ()"><code class="function">raptor_uri_to_string()</code></a> or <a class="link" href="raptor2-section-uri.html#raptor-uri-to-counted-string" title="raptor_uri_to_counted_string ()"><code class="function">raptor_uri_to_counted_string()</code></a> methods.</p>
+<div class="refsect3">
+<a name="raptor-uri-as-counted-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>URI object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len_p</p></td>
+<td class="parameter_description"><p>address of length variable or NULL</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-as-counted-string.returns"></a><h4>Returns</h4>
+<p> shared string representation of URI</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-to-relative-counted-uri-string"></a><h3>raptor_uri_to_relative_counted_uri_string ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">char</span> *
+raptor_uri_to_relative_counted_uri_string
+ (<em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *base_uri</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *reference_uri</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> *length_p</code></em>);</pre>
+<p>Get the counted relative URI string of a URI against a base URI.</p>
+<div class="refsect3">
+<a name="raptor-uri-to-relative-counted-uri-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>base_uri</p></td>
+<td class="parameter_description"><p>The base absolute URI to resolve against (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>reference_uri</p></td>
+<td class="parameter_description"><p>The reference absolute URI to use</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length_p</p></td>
+<td class="parameter_description"><p>Location to store the length of the relative URI string or NULL</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-to-relative-counted-uri-string.returns"></a><h4>Returns</h4>
+<p> A newly allocated relative URI string or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-to-relative-uri-string"></a><h3>raptor_uri_to_relative_uri_string ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">char</span> *
+raptor_uri_to_relative_uri_string (<em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *base_uri</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *reference_uri</code></em>);</pre>
+<p>Get the relative URI string of a URI against a base URI.</p>
+<div class="refsect3">
+<a name="raptor-uri-to-relative-uri-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>base_uri</p></td>
+<td class="parameter_description"><p>The base absolute URI to resolve against</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>reference_uri</p></td>
+<td class="parameter_description"><p>The reference absolute URI to use</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-to-relative-uri-string.returns"></a><h4>Returns</h4>
+<p> A newly allocated relative URI string or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-to-counted-string"></a><h3>raptor_uri_to_counted_string ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">char</span> *
+raptor_uri_to_counted_string (<em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> *len_p</code></em>);</pre>
+<p>Get a new counted string for a URI.</p>
+<p>If <em class="parameter"><code>len_p</code></em>
+ is not NULL, the length of the string is stored in it.</p>
+<p>The memory allocated must be freed by the caller and
+<a class="link" href="raptor2-section-memory.html#raptor-free-memory" title="raptor_free_memory ()"><code class="function">raptor_free_memory()</code></a> should be used for best portability.</p>
+<div class="refsect3">
+<a name="raptor-uri-to-counted-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len_p</p></td>
+<td class="parameter_description"><p>Pointer to length (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-to-counted-string.returns"></a><h4>Returns</h4>
+<p> new string or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-to-string"></a><h3>raptor_uri_to_string ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">char</span> *
+raptor_uri_to_string (<em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>);</pre>
+<p>Get a new string for a URI.</p>
+<p>The memory allocated must be freed by the caller and
+<a class="link" href="raptor2-section-memory.html#raptor-free-memory" title="raptor_free_memory ()"><code class="function">raptor_free_memory()</code></a> should be used for best portability.</p>
+<div class="refsect3">
+<a name="raptor-uri-to-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-to-string.returns"></a><h4>Returns</h4>
+<p> new string or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-resolve-uri-reference"></a><h3>raptor_uri_resolve_uri_reference ()</h3>
+<pre class="programlisting"><span class="returnvalue">size_t</span>
+raptor_uri_resolve_uri_reference (<em class="parameter"><code>const <span class="type">char</span> *base_uri</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *reference_uri</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">char</span> *buffer</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> length</code></em>);</pre>
+<p>Resolve a URI against a base URI to create a new absolute URI.</p>
+<div class="refsect3">
+<a name="raptor-uri-resolve-uri-reference.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>base_uri</p></td>
+<td class="parameter_description"><p>Base URI string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>reference_uri</p></td>
+<td class="parameter_description"><p>Reference URI string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>buffer</p></td>
+<td class="parameter_description"><p>Destination URI output buffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>Length of destination output buffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-resolve-uri-reference.returns"></a><h4>Returns</h4>
+<p> length of resolved string or 0 on failure (such as <em class="parameter"><code>buffer</code></em>
+too small)</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-counted-filename-to-uri-string"></a><h3>raptor_uri_counted_filename_to_uri_string ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">char</span> *
+raptor_uri_counted_filename_to_uri_string
+ (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> filename_len</code></em>);</pre>
+<p>Converts a counted filename to a file: URI.</p>
+<p>Handles the OS-specific escaping on turning filenames into URIs
+and returns a new buffer that the caller must <code class="function">free()</code>. Turns a
+space in the filename into %20 and '%' into %25.</p>
+<div class="refsect3">
+<a name="raptor-uri-counted-filename-to-uri-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>filename</p></td>
+<td class="parameter_description"><p>The filename to convert</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>filename_len</p></td>
+<td class="parameter_description"><p>length of <em class="parameter"><code>filename</code></em>
+or 0 to count it here</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-counted-filename-to-uri-string.returns"></a><h4>Returns</h4>
+<p> A newly allocated string with the URI or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-filename-to-uri-string"></a><h3>raptor_uri_filename_to_uri_string ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">char</span> *
+raptor_uri_filename_to_uri_string (<em class="parameter"><code>const <span class="type">char</span> *filename</code></em>);</pre>
+<p>Converts a filename to a file: URI.</p>
+<p>Handles the OS-specific escaping on turning filenames into URIs
+and returns a new buffer that the caller must <code class="function">free()</code>. Turns a
+space in the filename into %20 and '%' into %25.</p>
+<div class="refsect3">
+<a name="raptor-uri-filename-to-uri-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>filename</p></td>
+<td class="parameter_description"><p>The filename to convert</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-filename-to-uri-string.returns"></a><h4>Returns</h4>
+<p> A newly allocated string with the URI or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-uri-string-is-absolute"></a><h3>raptor_uri_uri_string_is_absolute ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_uri_uri_string_is_absolute (<em class="parameter"><code>const unsigned <span class="type">char</span> *uri_string</code></em>);</pre>
+<p>Check if a uri string is an absolute URI</p>
+<div class="refsect3">
+<a name="raptor-uri-uri-string-is-absolute.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>uri_string</p></td>
+<td class="parameter_description"><p>uri to check write</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-uri-string-is-absolute.returns"></a><h4>Returns</h4>
+<p> &gt;0 if absolute, 0 if not, &lt; 0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-uri-string-is-file-uri"></a><h3>raptor_uri_uri_string_is_file_uri ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_uri_uri_string_is_file_uri (<em class="parameter"><code>const unsigned <span class="type">char</span> *uri_string</code></em>);</pre>
+<p>Check if a URI string is a file: URI.</p>
+<div class="refsect3">
+<a name="raptor-uri-uri-string-is-file-uri.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>uri_string</p></td>
+<td class="parameter_description"><p>The URI string to check</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-uri-string-is-file-uri.returns"></a><h4>Returns</h4>
+<p> Non zero if URI string is a file: URI</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-uri-string-to-filename"></a><h3>raptor_uri_uri_string_to_filename ()</h3>
+<pre class="programlisting"><span class="returnvalue">char</span> *
+raptor_uri_uri_string_to_filename (<em class="parameter"><code>const <span class="type">char</span> *uri_string</code></em>);</pre>
+<p>Convert a file: URI to a filename.</p>
+<p>Handles the OS-specific file: URIs to filename mappings. Returns
+a new buffer containing the filename that the caller must free.</p>
+<p>See also <a class="link" href="raptor2-section-uri.html#raptor-uri-uri-string-to-counted-filename-fragment" title="raptor_uri_uri_string_to_counted_filename_fragment ()"><code class="function">raptor_uri_uri_string_to_counted_filename_fragment()</code></a></p>
+<div class="refsect3">
+<a name="raptor-uri-uri-string-to-filename.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>uri_string</p></td>
+<td class="parameter_description"><p>The file: URI to convert</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-uri-string-to-filename.returns"></a><h4>Returns</h4>
+<p> A newly allocated string with the filename or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-uri-string-to-filename-fragment"></a><h3>raptor_uri_uri_string_to_filename_fragment ()</h3>
+<pre class="programlisting"><span class="returnvalue">char</span> *
+raptor_uri_uri_string_to_filename_fragment
+ (<em class="parameter"><code>const <span class="type">char</span> *uri_string</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">char</span> **fragment_p</code></em>);</pre>
+<p>Convert a file: URI to a filename and fragment.</p>
+<p>Handles the OS-specific file: URIs to filename mappings. Returns
+a new buffer containing the filename that the caller must free.</p>
+<p>If <em class="parameter"><code>fragment_p</code></em>
+ is given, a new string containing the URI fragment
+is returned, or NULL if none is present</p>
+<p>See also <a class="link" href="raptor2-section-uri.html#raptor-uri-uri-string-to-counted-filename-fragment" title="raptor_uri_uri_string_to_counted_filename_fragment ()"><code class="function">raptor_uri_uri_string_to_counted_filename_fragment()</code></a></p>
+<div class="refsect3">
+<a name="raptor-uri-uri-string-to-filename-fragment.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>uri_string</p></td>
+<td class="parameter_description"><p>The file: URI to convert</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>fragment_p</p></td>
+<td class="parameter_description"><p>Address of pointer to store any URI fragment or NULL</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-uri-string-to-filename-fragment.returns"></a><h4>Returns</h4>
+<p> A newly allocated string with the filename or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-uri-string-to-counted-filename-fragment"></a><h3>raptor_uri_uri_string_to_counted_filename_fragment ()</h3>
+<pre class="programlisting"><span class="returnvalue">char</span> *
+raptor_uri_uri_string_to_counted_filename_fragment
+ (<em class="parameter"><code>const <span class="type">char</span> *uri_string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> *len_p</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">char</span> **fragment_p</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> *fragment_len_p</code></em>);</pre>
+<p>Convert a file: URI to a counted filename and counted fragment.</p>
+<p>Handles the OS-specific file: URIs to filename mappings. Returns
+a new buffer containing the filename that the caller must free.</p>
+<p>If <em class="parameter"><code>len_p</code></em>
+ is present the length of the filename is returned</p>
+<p>If <em class="parameter"><code>fragment_p</code></em>
+ is given, a new string containing the URI fragment
+is returned, or NULL if none is present. If <em class="parameter"><code>fragment_len_p</code></em>
+ is present
+the length is returned in it.</p>
+<div class="refsect3">
+<a name="raptor-uri-uri-string-to-counted-filename-fragment.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>uri_string</p></td>
+<td class="parameter_description"><p>The file: URI to convert</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len_p</p></td>
+<td class="parameter_description"><p>address of filename length variable or NULL</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>fragment_p</p></td>
+<td class="parameter_description"><p>Address of pointer to store any URI fragment or NULL</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>fragment_len_p</p></td>
+<td class="parameter_description"><p>address of length variable or NULL</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-uri-string-to-counted-filename-fragment.returns"></a><h4>Returns</h4>
+<p> A newly allocated string with the filename or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-print"></a><h3>raptor_uri_print ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_uri_print (<em class="parameter"><code>const <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>,
+ <em class="parameter"><code><span class="type">FILE</span> *stream</code></em>);</pre>
+<p>Print a URI to a file handle.</p>
+<div class="refsect3">
+<a name="raptor-uri-print.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>URI to print</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>stream</p></td>
+<td class="parameter_description"><p>The file handle to print to</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-print.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-get-world"></a><h3>raptor_uri_get_world ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="returnvalue">raptor_world</span></a> *
+raptor_uri_get_world (<em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>);</pre>
+<p>Get the raptor_world object associated with a raptor_uri.</p>
+<div class="refsect3">
+<a name="raptor-uri-get-world.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-get-world.returns"></a><h4>Returns</h4>
+<p> raptor_world object</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-write"></a><h3>raptor_uri_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_uri_write (<em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Write a raptor URI to the iostream.</p>
+<div class="refsect3">
+<a name="raptor-uri-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>URI</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>raptor iostream</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-write.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-file-exists"></a><h3>raptor_uri_file_exists ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_uri_file_exists (<em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>);</pre>
+<p>Check if a file: URI is a file that exists</p>
+<div class="refsect3">
+<a name="raptor-uri-file-exists.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>URI string</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-file-exists.returns"></a><h4>Returns</h4>
+<p> &gt; 0 if file exists, 0 if does not exist, &lt; 0 if not a file URI or error</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-filename-exists"></a><h3>raptor_uri_filename_exists ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_uri_filename_exists (<em class="parameter"><code>const unsigned <span class="type">char</span> *path</code></em>);</pre>
+<p>Check if <em class="parameter"><code>path</code></em>
+ points to a file that exists</p>
+<div class="refsect3">
+<a name="raptor-uri-filename-exists.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>path</p></td>
+<td class="parameter_description"><p>file path</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-filename-exists.returns"></a><h4>Returns</h4>
+<p> &gt; 0 if file exists, 0 if does not exist, &lt; 0 on error</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-to-turtle-counted-string"></a><h3>raptor_uri_to_turtle_counted_string ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">char</span> *
+raptor_uri_to_turtle_counted_string (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *base_uri</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> *len_p</code></em>);</pre>
+<p>Convert <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> to a string.
+Caller has responsibility to free the string.</p>
+<p>Note: This creates and destroys several internal objects for each
+call so for more efficient writing, create a turtle serializer.</p>
+<div class="refsect3">
+<a name="raptor-uri-to-turtle-counted-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>uri</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>namespace stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>base_uri</p></td>
+<td class="parameter_description"><p>base URI</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len_p</p></td>
+<td class="parameter_description"><p>Pointer to location to store length of new string (if not NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-to-turtle-counted-string.returns"></a><h4>Returns</h4>
+<p> the new string or NULL on failure. The length of
+the new string is returned in *<em class="parameter"><code>len_p</code></em>
+if len_p is not NULL.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-to-turtle-string"></a><h3>raptor_uri_to_turtle_string ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">char</span> *
+raptor_uri_to_turtle_string (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *base_uri</code></em>);</pre>
+<p>Convert <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> to a string.
+Caller has responsibility to free the string.</p>
+<p>Note: This creates and destroys several internal objects for each
+call so for more efficient writing, create a turtle serializer.</p>
+<div class="refsect3">
+<a name="raptor-uri-to-turtle-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>uri</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>namespace stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>base_uri</p></td>
+<td class="parameter_description"><p>base URI</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-to-turtle-string.returns"></a><h4>Returns</h4>
+<p> the new string or NULL on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-turtle-write"></a><h3>raptor_uri_turtle_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_uri_turtle_write (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *base_uri</code></em>);</pre>
+<p>Write <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> to a stream in turtle syntax (using QNames).</p>
+<p>Note: This creates and destroys several internal objects for each
+call so for more efficient writing, create a turtle serializer.</p>
+<div class="refsect3">
+<a name="raptor-uri-turtle-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>iostream for writing</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>uri</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>namespace stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>base_uri</p></td>
+<td class="parameter_description"><p>base URI</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-turtle-write.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-uri.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="raptor-uri"></a><h3>raptor_uri</h3>
+<pre class="programlisting">raptor_uri* raptor_uri;
+</pre>
+<p>Raptor URI Class.</p>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-section-world.html b/docs/html/raptor2-section-world.html
new file mode 100644
index 0000000..f14948a
--- /dev/null
+++ b/docs/html/raptor2-section-world.html
@@ -0,0 +1,854 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>section-world: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="serializer-dot.html" title="GraphViz dot serializer (name dot)">
+<link rel="next" href="raptor2-section-general.html" title="section-general">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#raptor2-section-world.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="serializer-dot.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-section-general.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="raptor2-section-world"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="raptor2-section-world.top_of_page"></a>section-world</span></h2>
+<p>section-world</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="raptor2-section-world.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="define_keyword">#define</td>
+<td class="function_name"><a class="link" href="raptor2-section-world.html#raptor-new-world" title="raptor_new_world">raptor_new_world</a></td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-world.html#raptor-world-open" title="raptor_world_open ()">raptor_world_open</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-world.html#raptor-free-world" title="raptor_free_world ()">raptor_free_world</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-world.html#raptor-world-set-flag" title="raptor_world_set_flag ()">raptor_world_set_flag</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-world.html#raptor-world-set-libxslt-security-preferences" title="raptor_world_set_libxslt_security_preferences ()">raptor_world_set_libxslt_security_preferences</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-world.html#raptor-world-set-log-handler" title="raptor_world_set_log_handler ()">raptor_world_set_log_handler</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <a class="link" href="raptor2-section-general.html#raptor-syntax-description" title="raptor_syntax_description"><span class="returnvalue">raptor_syntax_description</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-world.html#raptor-world-get-parser-description" title="raptor_world_get_parser_description ()">raptor_world_get_parser_description</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-world.html#raptor-world-is-parser-name" title="raptor_world_is_parser_name ()">raptor_world_is_parser_name</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-world.html#raptor-world-guess-parser-name" title="raptor_world_guess_parser_name ()">raptor_world_guess_parser_name</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <a class="link" href="raptor2-section-general.html#raptor-syntax-description" title="raptor_syntax_description"><span class="returnvalue">raptor_syntax_description</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-world.html#raptor-world-get-serializer-description" title="raptor_world_get_serializer_description ()">raptor_world_get_serializer_description</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-world.html#raptor-world-is-serializer-name" title="raptor_world_is_serializer_name ()">raptor_world_is_serializer_name</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-world.html#raptor-world-generate-bnodeid" title="raptor_world_generate_bnodeid ()">raptor_world_generate_bnodeid</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-world.html#raptor-world-set-generate-bnodeid-handler" title="raptor_world_set_generate_bnodeid_handler ()">raptor_world_set_generate_bnodeid_handler</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-world.html#raptor-world-set-generate-bnodeid-parameters" title="raptor_world_set_generate_bnodeid_parameters ()">raptor_world_set_generate_bnodeid_parameters</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-world.html#raptor-world-get-parsers-count" title="raptor_world_get_parsers_count ()">raptor_world_get_parsers_count</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-world.html#raptor-world-get-serializers-count" title="raptor_world_get_serializers_count ()">raptor_world_get_serializers_count</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-world.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="other_proto_type">
+<col class="other_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="typedef_keyword">typedef</td>
+<td class="function_name"><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world">raptor_world</a></td>
+</tr>
+<tr>
+<td class="datatype_keyword">enum</td>
+<td class="function_name"><a class="link" href="raptor2-section-world.html#raptor-world-flag" title="enum raptor_world_flag">raptor_world_flag</a></td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-world.description"></a><h2>Description</h2>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-world.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="raptor-new-world"></a><h3>raptor_new_world</h3>
+<pre class="programlisting">#define raptor_new_world() raptor_new_world_internal(RAPTOR_VERSION)
+</pre>
+<p>Allocate a new raptor_world object.</p>
+<p>Allocation of the world and initialization are decoupled to allow
+changing settings on the world object before init.</p>
+<p>Settings and configuration of the world may be made after creating
+the object and before the world is initialized using methods such
+as <a class="link" href="raptor2-section-world.html#raptor-world-set-flag" title="raptor_world_set_flag ()"><code class="function">raptor_world_set_flag()</code></a>, <a class="link" href="raptor2-section-world.html#raptor-world-set-log-handler" title="raptor_world_set_log_handler ()"><code class="function">raptor_world_set_log_handler()</code></a>,
+<a class="link" href="raptor2-section-world.html#raptor-world-set-generate-bnodeid-handler" title="raptor_world_set_generate_bnodeid_handler ()"><code class="function">raptor_world_set_generate_bnodeid_handler()</code></a>. Some configuration
+may not be changed after initialization.</p>
+<p>The raptor_world is initialized with <a class="link" href="raptor2-section-world.html#raptor-world-open" title="raptor_world_open ()"><code class="function">raptor_world_open()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-new-world.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>version_decimal</p></td>
+<td class="parameter_description"><p>raptor version as a decimal integer as defined by the macro <a class="link" href="raptor2-section-general.html#RAPTOR-VERSION:CAPS" title="RAPTOR_VERSION"><span class="type">RAPTOR_VERSION</span></a> and static int <a class="link" href="raptor2-section-general.html#raptor-version-decimal" title="raptor_version_decimal"><span class="type">raptor_version_decimal</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-world.returns"></a><h4>Returns</h4>
+<p> uninitialized raptor_world object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-world-open"></a><h3>raptor_world_open ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_world_open (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>);</pre>
+<p>Initialise the raptor library.</p>
+<p>Initializes a <a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> object created by <a class="link" href="raptor2-section-world.html#raptor-new-world" title="raptor_new_world"><code class="function">raptor_new_world()</code></a>.
+Allocation and initialization are decoupled to allow
+changing settings on the world object before init.</p>
+<p>The initialized world object is used with subsequent raptor API calls.</p>
+<div class="refsect3">
+<a name="raptor-world-open.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-world-open.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-free-world"></a><h3>raptor_free_world ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_free_world (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>);</pre>
+<p>Terminate the raptor library.</p>
+<p>Destroys the raptor_world object and all related information.</p>
+<div class="refsect3">
+<a name="raptor-free-world.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-world-set-flag"></a><h3>raptor_world_set_flag ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_world_set_flag (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world-flag" title="enum raptor_world_flag"><span class="type">raptor_world_flag</span></a> flag</code></em>,
+ <em class="parameter"><code><span class="type">int</span> value</code></em>);</pre>
+<p>Set library-wide configuration</p>
+<p>This function is used to control raptor-wide options across
+classes. These options must be set before <a class="link" href="raptor2-section-world.html#raptor-world-open" title="raptor_world_open ()"><code class="function">raptor_world_open()</code></a> is
+called explicitly or implicitly (by creating a raptor object).
+There is no enumeration function for these flags because they are
+not user options and must be set before the library is
+initialised. For similar reasons, there is no get function.</p>
+<p>See the <a href="raptor2-section-world.html#raptor-world-flag"><span class="type">raptor_world_flags</span></a> documentation for full details of
+what the flags mean.</p>
+<div class="refsect3">
+<a name="raptor-world-set-flag.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>flag</p></td>
+<td class="parameter_description"><p>flag</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>value</p></td>
+<td class="parameter_description"><p>value</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-world-set-flag.returns"></a><h4>Returns</h4>
+<p> 0 on success, non-0 on failure: &lt;0 on errors (-1 if flag is unknown, -2 if value is illegal) and &gt;0 if world is already opened</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-world-set-libxslt-security-preferences"></a><h3>raptor_world_set_libxslt_security_preferences ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_world_set_libxslt_security_preferences
+ (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *security_preferences</code></em>);</pre>
+<p>Set libxslt security preferences policy object</p>
+<p>The <em class="parameter"><code>security_preferences</code></em>
+ object will NOT become owned by
+<a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a>.</p>
+<p>If libxslt is compiled into the library, <em class="parameter"><code>security_preferences</code></em>
+
+should be an <span class="type">xsltSecurityPrefsPtr</span> and will be used to call
+<code class="function">xsltSetCtxtSecurityPrefs()</code> when an XSLT engine is initialised.
+If <em class="parameter"><code>security_preferences</code></em>
+ is NULL, this will disable all raptor's
+calls to <code class="function">xsltSetCtxtSecurityPrefs()</code>.</p>
+<p>If libxslt is not compiled in, the object set here is not used.</p>
+<div class="refsect3">
+<a name="raptor-world-set-libxslt-security-preferences.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>security_preferences</p></td>
+<td class="parameter_description"><p>security preferences (an <span class="type">xsltSecurityPrefsPtr</span>) or NULL</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-world-set-libxslt-security-preferences.returns"></a><h4>Returns</h4>
+<p> 0 on success, non-0 on failure: &lt;0 on errors and &gt;0 if world is already opened</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-world-set-log-handler"></a><h3>raptor_world_set_log_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_world_set_log_handler (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-log-handler" title="raptor_log_handler ()"><span class="type">raptor_log_handler</span></a> handler</code></em>);</pre>
+<p>Set the message (error, warning, info) handling function.</p>
+<p>The function will receive callbacks when messages are generated</p>
+<div class="refsect3">
+<a name="raptor-world-set-log-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data to pass to function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>handler</p></td>
+<td class="parameter_description"><p>pointer to the function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-world-set-log-handler.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-world-get-parser-description"></a><h3>raptor_world_get_parser_description ()</h3>
+<pre class="programlisting">const <a class="link" href="raptor2-section-general.html#raptor-syntax-description" title="raptor_syntax_description"><span class="returnvalue">raptor_syntax_description</span></a> *
+raptor_world_get_parser_description (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">int</span> counter</code></em>);</pre>
+<p>Get parser descriptive syntax information</p>
+<div class="refsect3">
+<a name="raptor-world-get-parser-description.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>counter</p></td>
+<td class="parameter_description"><p>index into the list of parsers</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-world-get-parser-description.returns"></a><h4>Returns</h4>
+<p> description or NULL if counter is out of range</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-world-is-parser-name"></a><h3>raptor_world_is_parser_name ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_world_is_parser_name (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
+<p>Check the name of a parser is known.</p>
+<div class="refsect3">
+<a name="raptor-world-is-parser-name.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>name</p></td>
+<td class="parameter_description"><p>the syntax name</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-world-is-parser-name.returns"></a><h4>Returns</h4>
+<p> non 0 if name is a known syntax name</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-world-guess-parser-name"></a><h3>raptor_world_guess_parser_name ()</h3>
+<pre class="programlisting">const <span class="returnvalue">char</span> *
+raptor_world_guess_parser_name (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *buffer</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> len</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *identifier</code></em>);</pre>
+<p>Guess a parser name for content.</p>
+<p>Find a parser by scoring recognition of the syntax by a block of
+characters, the content identifier or a mime type. The content
+identifier is typically a filename or URI or some other identifier.</p>
+<p>If the guessing finds only low scores, NULL will be returned.</p>
+<div class="refsect3">
+<a name="raptor-world-guess-parser-name.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>URI identifying the syntax (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>mime_type</p></td>
+<td class="parameter_description"><p>mime type identifying the content (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>buffer</p></td>
+<td class="parameter_description"><p>buffer of content to guess (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len</p></td>
+<td class="parameter_description"><p>length of buffer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>identifier</p></td>
+<td class="parameter_description"><p>identifier of content (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-world-guess-parser-name.returns"></a><h4>Returns</h4>
+<p> a parser name or NULL if no guess could be made</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-world-get-serializer-description"></a><h3>raptor_world_get_serializer_description ()</h3>
+<pre class="programlisting">const <a class="link" href="raptor2-section-general.html#raptor-syntax-description" title="raptor_syntax_description"><span class="returnvalue">raptor_syntax_description</span></a> *
+raptor_world_get_serializer_description
+ (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">int</span> counter</code></em>);</pre>
+<p>Get serializer descriptive syntax information</p>
+<div class="refsect3">
+<a name="raptor-world-get-serializer-description.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>counter</p></td>
+<td class="parameter_description"><p>index into the list of serializers</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-world-get-serializer-description.returns"></a><h4>Returns</h4>
+<p> description or NULL if counter is out of range</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-world-is-serializer-name"></a><h3>raptor_world_is_serializer_name ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_world_is_serializer_name (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *name</code></em>);</pre>
+<p>Check name of a serializer.</p>
+<div class="refsect3">
+<a name="raptor-world-is-serializer-name.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>name</p></td>
+<td class="parameter_description"><p>the syntax name</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-world-is-serializer-name.returns"></a><h4>Returns</h4>
+<p> non 0 if name is a known syntax name</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-world-generate-bnodeid"></a><h3>raptor_world_generate_bnodeid ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">char</span> *
+raptor_world_generate_bnodeid (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>);</pre>
+<p>Generate an new blank node ID</p>
+<div class="refsect3">
+<a name="raptor-world-generate-bnodeid.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-world-generate-bnodeid.returns"></a><h4>Returns</h4>
+<p> newly allocated generated ID or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-world-set-generate-bnodeid-handler"></a><h3>raptor_world_set_generate_bnodeid_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_world_set_generate_bnodeid_handler
+ (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-generate-bnodeid-handler" title="raptor_generate_bnodeid_handler ()"><span class="type">raptor_generate_bnodeid_handler</span></a> handler</code></em>);</pre>
+<p>Set the generate ID handler function.</p>
+<p>Sets the function to generate IDs for the library. The handler is
+called with the <em class="parameter"><code>user_data</code></em>
+ parameter.</p>
+<p>The final argument of the callback method is user_bnodeid, the value of
+the rdf:nodeID attribute that the user provided if any (or NULL).
+It can either be returned directly as the generated value when present or
+modified. The passed in value must be <code class="function">free()</code>d if it is not used.</p>
+<p>If handler is NULL, the default method is used</p>
+<div class="refsect3">
+<a name="raptor-world-set-generate-bnodeid-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data pointer for callback</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>handler</p></td>
+<td class="parameter_description"><p>generate ID callback function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-world-set-generate-bnodeid-parameters"></a><h3>raptor_world_set_generate_bnodeid_parameters ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_world_set_generate_bnodeid_parameters
+ (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><span class="type">char</span> *prefix</code></em>,
+ <em class="parameter"><code><span class="type">int</span> base</code></em>);</pre>
+<p>Set default ID generation parameters.</p>
+<p>Sets the parameters for the default algorithm used to generate IDs.
+The default algorithm uses both <em class="parameter"><code>prefix</code></em>
+ and <em class="parameter"><code>base</code></em>
+ to generate a new
+identifier. The exact identifier generated is not guaranteed to
+be a strict concatenation of <em class="parameter"><code>prefix</code></em>
+ and <em class="parameter"><code>base</code></em>
+ but will use both
+parts. The <em class="parameter"><code>prefix</code></em>
+ parameter is copied to generate an ID.</p>
+<p>For finer control of the generated identifiers, use
+<a class="link" href="raptor2-section-world.html#raptor-world-set-generate-bnodeid-handler" title="raptor_world_set_generate_bnodeid_handler ()"><code class="function">raptor_world_set_generate_bnodeid_handler()</code></a>.</p>
+<p>If <em class="parameter"><code>prefix</code></em>
+ is NULL, the default prefix is used (currently "genid")
+If <em class="parameter"><code>base</code></em>
+ is less than 1, it is initialised to 1.</p>
+<div class="refsect3">
+<a name="raptor-world-set-generate-bnodeid-parameters.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>prefix</p></td>
+<td class="parameter_description"><p>prefix string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>base</p></td>
+<td class="parameter_description"><p>integer base identifier</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-world-get-parsers-count"></a><h3>raptor_world_get_parsers_count ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_world_get_parsers_count (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>);</pre>
+<p>Get number of parsers</p>
+<div class="refsect3">
+<a name="raptor-world-get-parsers-count.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-world-get-parsers-count.returns"></a><h4>Returns</h4>
+<p> number of parsers or &lt;0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-world-get-serializers-count"></a><h3>raptor_world_get_serializers_count ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_world_get_serializers_count (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>);</pre>
+<p>Get number of serializers</p>
+<div class="refsect3">
+<a name="raptor-world-get-serializers-count.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-world-get-serializers-count.returns"></a><h4>Returns</h4>
+<p> number of serializers or &lt;0 on failure</p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-world.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="raptor-world"></a><h3>raptor_world</h3>
+<pre class="programlisting">typedef struct raptor_world_s raptor_world;
+</pre>
+<p>Raptor world class.</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-world-flag"></a><h3>enum raptor_world_flag</h3>
+<p>Raptor world flags</p>
+<p>These are used by <a href="raptor2-section-world.html#raptor-world-set-flag"><code class="function">raptor_world_set_flags()</code></a> to control raptor-wide
+options across classes. These must be set before
+<a class="link" href="raptor2-section-world.html#raptor-world-open" title="raptor_world_open ()"><code class="function">raptor_world_open()</code></a> is called explicitly or implicitly (by
+creating a raptor object). There is no enumeration function for
+these flags because they are not user options and must be set
+before the library is initialised. For similar reasons, there is
+no get function.</p>
+<p>If any libxml handler saving/restoring is enabled, any existing
+handler and context is saved before parsing and restored
+afterwards. Otherwise, no saving/restoring is performed.</p>
+<div class="refsect3">
+<a name="raptor-world-flag.members"></a><h4>Members</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="300px" class="enum_members_name">
+<col class="enum_members_description">
+<col width="200px" class="enum_members_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-WORLD-FLAG-LIBXML-GENERIC-ERROR-SAVE:CAPS"></a>RAPTOR_WORLD_FLAG_LIBXML_GENERIC_ERROR_SAVE</p></td>
+<td class="enum_member_description">
+<p>if set (non-0 value) - save/restore the libxml generic error handler when raptor library initializes (default set)</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-WORLD-FLAG-LIBXML-STRUCTURED-ERROR-SAVE:CAPS"></a>RAPTOR_WORLD_FLAG_LIBXML_STRUCTURED_ERROR_SAVE</p></td>
+<td class="enum_member_description">
+<p>if set (non-0 value) - save/restore the libxml structured error handler when raptor library terminates (default set)</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-WORLD-FLAG-URI-INTERNING:CAPS"></a>RAPTOR_WORLD_FLAG_URI_INTERNING</p></td>
+<td class="enum_member_description">
+<p>if set (non-0 value) - each URI is saved interned in-memory and reused (default set)</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+<tr>
+<td class="enum_member_name"><p><a name="RAPTOR-WORLD-FLAG-WWW-SKIP-INIT-FINISH:CAPS"></a>RAPTOR_WORLD_FLAG_WWW_SKIP_INIT_FINISH</p></td>
+<td class="enum_member_description">
+<p>if set (non-0 value) the raptor will neither initialise or terminate the lower level WWW library. Usually in raptor initialising either curl_global_init (for libcurl) are called and in raptor cleanup, curl_global_cleanup is called. This flag allows the application finer control over these libraries such as setting other global options or potentially calling and terminating raptor several times. It does mean that applications which use this call must do their own extra work in order to allocate and free all resources to the system.</p>
+</td>
+<td class="enum_member_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-section-www.html b/docs/html/raptor2-section-www.html
new file mode 100644
index 0000000..efcbdc2
--- /dev/null
+++ b/docs/html/raptor2-section-www.html
@@ -0,0 +1,1241 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>section-www: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor2-section-uri.html" title="section-uri">
+<link rel="next" href="raptor2-section-xml-namespace.html" title="section-xml-namespace">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#raptor2-section-www.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-section-uri.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-section-xml-namespace.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="raptor2-section-www"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="raptor2-section-www.top_of_page"></a>section-www</span></h2>
+<p>section-www</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="raptor2-section-www.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="returnvalue">raptor_www</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-new-www" title="raptor_new_www ()">raptor_new_www</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="returnvalue">raptor_www</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-new-www-with-connection" title="raptor_new_www_with_connection ()">raptor_new_www_with_connection</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-free-www" title="raptor_free_www ()">raptor_free_www</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-www.html#raptor-www-write-bytes-handler" title="raptor_www_write_bytes_handler ()">*raptor_www_write_bytes_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-www.html#raptor-www-content-type-handler" title="raptor_www_content_type_handler ()">*raptor_www_content_type_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-www-set-user-agent2" title="raptor_www_set_user_agent2 ()">raptor_www_set_user_agent2</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-www-set-user-agent" title="raptor_www_set_user_agent ()">raptor_www_set_user_agent</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-www-set-proxy2" title="raptor_www_set_proxy2 ()">raptor_www_set_proxy2</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-www-set-proxy" title="raptor_www_set_proxy ()">raptor_www_set_proxy</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-www-set-http-accept2" title="raptor_www_set_http_accept2 ()">raptor_www_set_http_accept2</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-www-set-http-accept" title="raptor_www_set_http_accept ()">raptor_www_set_http_accept</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-www-set-http-cache-control" title="raptor_www_set_http_cache_control ()">raptor_www_set_http_cache_control</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-www-set-write-bytes-handler" title="raptor_www_set_write_bytes_handler ()">raptor_www_set_write_bytes_handler</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-www-set-connection-timeout" title="raptor_www_set_connection_timeout ()">raptor_www_set_connection_timeout</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-www-set-content-type-handler" title="raptor_www_set_content_type_handler ()">raptor_www_set_content_type_handler</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-www.html#raptor-uri-filter-func" title="raptor_uri_filter_func ()">*raptor_uri_filter_func</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-www-set-uri-filter" title="raptor_www_set_uri_filter ()">raptor_www_set_uri_filter</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<span class="c_punctuation">(</span><a class="link" href="raptor2-section-www.html#raptor-www-final-uri-handler" title="raptor_www_final_uri_handler ()">*raptor_www_final_uri_handler</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-www-get-final-uri" title="raptor_www_get_final_uri ()">raptor_www_get_final_uri</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-www-set-final-uri-handler" title="raptor_www_set_final_uri_handler ()">raptor_www_set_final_uri_handler</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-www-fetch" title="raptor_www_fetch ()">raptor_www_fetch</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-www-fetch-to-string" title="raptor_www_fetch_to_string ()">raptor_www_fetch_to_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-www-get-connection" title="raptor_www_get_connection ()">raptor_www_get_connection</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-www-set-ssl-cert-options" title="raptor_www_set_ssl_cert_options ()">raptor_www_set_ssl_cert_options</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-www-set-ssl-verify-options" title="raptor_www_set_ssl_verify_options ()">raptor_www_set_ssl_verify_options</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-www.html#raptor-www-abort" title="raptor_www_abort ()">raptor_www_abort</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-www.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="other_proto_type">
+<col class="other_proto_name">
+</colgroup>
+<tbody><tr>
+<td class="typedef_keyword">typedef</td>
+<td class="function_name"><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www">raptor_www</a></td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-www.description"></a><h2>Description</h2>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-www.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="raptor-new-www"></a><h3>raptor_new_www ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="returnvalue">raptor_www</span></a> *
+raptor_new_www (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>);</pre>
+<p>Constructor - create a new <a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> object.</p>
+<div class="refsect3">
+<a name="raptor-new-www.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-www.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> or NULL on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-www-with-connection"></a><h3>raptor_new_www_with_connection ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="returnvalue">raptor_www</span></a> *
+raptor_new_www_with_connection (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *connection</code></em>);</pre>
+<p>Constructor - create a new <a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> object over an existing WWW connection.</p>
+<p>At present this only works with a libcurl CURL handle object
+when raptor is compiled with libcurl suppport. Otherwise the
+<em class="parameter"><code>connection</code></em>
+ is ignored. This allows such things as setting
+up special flags on the curl handle before passing into the constructor.</p>
+<div class="refsect3">
+<a name="raptor-new-www-with-connection.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>connection</p></td>
+<td class="parameter_description"><p>external WWW connection object.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-www-with-connection.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> object or NULL on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-free-www"></a><h3>raptor_free_www ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_free_www (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>);</pre>
+<p>Destructor - destroy a <a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> object.</p>
+<div class="refsect3">
+<a name="raptor-free-www.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p>WWW object.</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-write-bytes-handler"></a><h3>raptor_www_write_bytes_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+<span class="c_punctuation">(</span>*raptor_www_write_bytes_handler<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *userdata</code></em>,
+ <em class="parameter"><code>const <span class="type">void</span> *ptr</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> size</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> nmemb</code></em>);</pre>
+<p>Receiving bytes of data from WWW retrieval handler.</p>
+<p>Set by <a class="link" href="raptor2-section-www.html#raptor-www-set-write-bytes-handler" title="raptor_www_set_write_bytes_handler ()"><code class="function">raptor_www_set_write_bytes_handler()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-www-write-bytes-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p>WWW object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>userdata</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>ptr</p></td>
+<td class="parameter_description"><p>data pointer</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>size</p></td>
+<td class="parameter_description"><p>size of individual item</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>nmemb</p></td>
+<td class="parameter_description"><p>number of items</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-content-type-handler"></a><h3>raptor_www_content_type_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+<span class="c_punctuation">(</span>*raptor_www_content_type_handler<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *userdata</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *content_type</code></em>);</pre>
+<p>Receiving Content-Type: header from WWW retrieval handler.</p>
+<p>Set by <a class="link" href="raptor2-section-www.html#raptor-www-set-content-type-handler" title="raptor_www_set_content_type_handler ()"><code class="function">raptor_www_set_content_type_handler()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-www-content-type-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p>WWW object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>userdata</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>content_type</p></td>
+<td class="parameter_description"><p>content type seen</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-set-user-agent2"></a><h3>raptor_www_set_user_agent2 ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_www_set_user_agent2 (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *user_agent</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> user_agent_len</code></em>);</pre>
+<p>Set the user agent value, for HTTP requests typically.</p>
+<div class="refsect3">
+<a name="raptor-www-set-user-agent2.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p>WWW object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_agent</p></td>
+<td class="parameter_description"><p>User-Agent string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_agent_len</p></td>
+<td class="parameter_description"><p>Length of <em class="parameter"><code>user_agent</code></em>
+string or 0 to count it here.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-www-set-user-agent2.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-set-user-agent"></a><h3>raptor_www_set_user_agent ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_www_set_user_agent (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *user_agent</code></em>);</pre>
+<div class="warning"><p><code class="literal">raptor_www_set_user_agent</code> is deprecated and should not be used in newly-written code.</p></div>
+<p>Set the user agent value, for HTTP requests typically.</p>
+<p><em class="parameter"><code>Deprecated</code></em>
+: use <a class="link" href="raptor2-section-www.html#raptor-www-set-user-agent2" title="raptor_www_set_user_agent2 ()"><code class="function">raptor_www_set_user_agent2()</code></a> which takes a length
+parameter and returns a value to singify failure.</p>
+<div class="refsect3">
+<a name="raptor-www-set-user-agent.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p>WWW object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_agent</p></td>
+<td class="parameter_description"><p>User-Agent string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-set-proxy2"></a><h3>raptor_www_set_proxy2 ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_www_set_proxy2 (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *proxy</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> proxy_len</code></em>);</pre>
+<p>Set the proxy for the WWW object.</p>
+<p>The <em class="parameter"><code>proxy</code></em>
+ usually a string of the form http://server.domain:port.</p>
+<div class="refsect3">
+<a name="raptor-www-set-proxy2.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p>WWW object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>proxy</p></td>
+<td class="parameter_description"><p>proxy string.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>proxy_len</p></td>
+<td class="parameter_description"><p>Length of <em class="parameter"><code>proxy</code></em>
+string or 0 to count it here.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-www-set-proxy2.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-set-proxy"></a><h3>raptor_www_set_proxy ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_www_set_proxy (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *proxy</code></em>);</pre>
+<div class="warning"><p><code class="literal">raptor_www_set_proxy</code> is deprecated and should not be used in newly-written code.</p></div>
+<p>Set the proxy for the WWW object.</p>
+<p>The <em class="parameter"><code>proxy</code></em>
+ usually a string of the form http://server.domain:port.</p>
+<p><em class="parameter"><code>Deprecated</code></em>
+: use <a class="link" href="raptor2-section-www.html#raptor-www-set-proxy2" title="raptor_www_set_proxy2 ()"><code class="function">raptor_www_set_proxy2()</code></a> which takes an length
+parameter and returns a value to singify failure.</p>
+<div class="refsect3">
+<a name="raptor-www-set-proxy.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p>WWW object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>proxy</p></td>
+<td class="parameter_description"><p>proxy string.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-set-http-accept2"></a><h3>raptor_www_set_http_accept2 ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_www_set_http_accept2 (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *value</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> value_len</code></em>);</pre>
+<p>Set HTTP Accept header.</p>
+<div class="refsect3">
+<a name="raptor-www-set-http-accept2.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> class</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>value</p></td>
+<td class="parameter_description"><p>Accept: header value or NULL to have an empty one.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>value_len</p></td>
+<td class="parameter_description"><p>Length of <em class="parameter"><code>value</code></em>
+string or 0 to count it here.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-www-set-http-accept2.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-set-http-accept"></a><h3>raptor_www_set_http_accept ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_www_set_http_accept (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *value</code></em>);</pre>
+<div class="warning"><p><code class="literal">raptor_www_set_http_accept</code> is deprecated and should not be used in newly-written code.</p></div>
+<p>Set HTTP Accept header.</p>
+<p><em class="parameter"><code>Deprecated</code></em>
+: use <a class="link" href="raptor2-section-www.html#raptor-www-set-http-accept2" title="raptor_www_set_http_accept2 ()"><code class="function">raptor_www_set_http_accept2()</code></a> which takes an
+length parameter and returns a value to singify failure.</p>
+<div class="refsect3">
+<a name="raptor-www-set-http-accept.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> class</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>value</p></td>
+<td class="parameter_description"><p>Accept: header value or NULL to have an empty one.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-set-http-cache-control"></a><h3>raptor_www_set_http_cache_control ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_www_set_http_cache_control (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *cache_control</code></em>);</pre>
+<p>Set HTTP Cache-Control:header (default none)</p>
+<p>The <em class="parameter"><code>cache_control</code></em>
+ value can be a string to set it, "" to send
+a blank header or NULL to not set the header at all.</p>
+<div class="refsect3">
+<a name="raptor-www-set-http-cache-control.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p>WWW object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>cache_control</p></td>
+<td class="parameter_description"><p>Cache-Control header value (or NULL to disable)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-www-set-http-cache-control.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-set-write-bytes-handler"></a><h3>raptor_www_set_write_bytes_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_www_set_write_bytes_handler (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www-write-bytes-handler" title="raptor_www_write_bytes_handler ()"><span class="type">raptor_www_write_bytes_handler</span></a> handler</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
+<p>Set the handler to receive bytes written by the <a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> implementation.</p>
+<div class="refsect3">
+<a name="raptor-www-set-write-bytes-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p>WWW object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>handler</p></td>
+<td class="parameter_description"><p>bytes handler function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>bytes handler data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-set-connection-timeout"></a><h3>raptor_www_set_connection_timeout ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_www_set_connection_timeout (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>,
+ <em class="parameter"><code><span class="type">int</span> timeout</code></em>);</pre>
+<p>Set WWW connection timeout</p>
+<div class="refsect3">
+<a name="raptor-www-set-connection-timeout.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p>WWW object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>timeout</p></td>
+<td class="parameter_description"><p>Timeout in seconds</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-set-content-type-handler"></a><h3>raptor_www_set_content_type_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_www_set_content_type_handler (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www-content-type-handler" title="raptor_www_content_type_handler ()"><span class="type">raptor_www_content_type_handler</span></a> handler</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
+<p>Set the handler to receive the HTTP Content-Type header value.</p>
+<p>This is called if or when the value is discovered during retrieval
+by the raptor_www implementation. Not all implementations provide
+access to this.</p>
+<div class="refsect3">
+<a name="raptor-www-set-content-type-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p>WWW object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>handler</p></td>
+<td class="parameter_description"><p>content type handler function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>content type handler data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-uri-filter-func"></a><h3>raptor_uri_filter_func ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+<span class="c_punctuation">(</span>*raptor_uri_filter_func<span class="c_punctuation">)</span> (<em class="parameter"><code><span class="type">void</span> *user_data</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>);</pre>
+<p>Callback function for <a class="link" href="raptor2-section-www.html#raptor-www-set-uri-filter" title="raptor_www_set_uri_filter ()"><span class="type">raptor_www_set_uri_filter</span></a></p>
+<div class="refsect3">
+<a name="raptor-uri-filter-func.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> URI to check</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-uri-filter-func.returns"></a><h4>Returns</h4>
+<p> non-0 to filter the URI</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-set-uri-filter"></a><h3>raptor_www_set_uri_filter ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_www_set_uri_filter (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-uri-filter-func" title="raptor_uri_filter_func ()"><span class="type">raptor_uri_filter_func</span></a> filter</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
+<p>Set URI filter function for WWW retrieval.</p>
+<div class="refsect3">
+<a name="raptor-www-set-uri-filter.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p>WWW object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>filter</p></td>
+<td class="parameter_description"><p>URI filter function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>User data to pass to filter function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-final-uri-handler"></a><h3>raptor_www_final_uri_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+<span class="c_punctuation">(</span>*raptor_www_final_uri_handler<span class="c_punctuation">)</span> (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *userdata</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *final_uri</code></em>);</pre>
+<p>Receiving the final resolved URI from a WWW retrieval</p>
+<p>Set by <a class="link" href="raptor2-section-www.html#raptor-www-set-final-uri-handler" title="raptor_www_set_final_uri_handler ()"><code class="function">raptor_www_set_final_uri_handler()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-www-final-uri-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p>WWW object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>userdata</p></td>
+<td class="parameter_description"><p>user data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>final_uri</p></td>
+<td class="parameter_description"><p>final URI seen</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-get-final-uri"></a><h3>raptor_www_get_final_uri ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+raptor_www_get_final_uri (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>);</pre>
+<p>Get the WWW final resolved URI.</p>
+<p>This returns the URI used after any protocol redirection.</p>
+<div class="refsect3">
+<a name="raptor-www-get-final-uri.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> object </p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-www-get-final-uri.returns"></a><h4>Returns</h4>
+<p> a new URI or NULL if not known.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-set-final-uri-handler"></a><h3>raptor_www_set_final_uri_handler ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_www_set_final_uri_handler (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www-final-uri-handler" title="raptor_www_final_uri_handler ()"><span class="type">raptor_www_final_uri_handler</span></a> handler</code></em>,
+ <em class="parameter"><code><span class="type">void</span> *user_data</code></em>);</pre>
+<p>Set the handler to receive the HTTP Content-Type header value.</p>
+<p>This is called if or when the value is discovered during retrieval
+by the raptor_www implementation. Not all implementations provide
+access to this.</p>
+<div class="refsect3">
+<a name="raptor-www-set-final-uri-handler.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p>WWW object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>handler</p></td>
+<td class="parameter_description"><p>content type handler function</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>user_data</p></td>
+<td class="parameter_description"><p>content type handler data</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-fetch"></a><h3>raptor_www_fetch ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_www_fetch (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>);</pre>
+<p>Start a WWW content retrieval for the given URI, returning data via the write_bytes handler.</p>
+<div class="refsect3">
+<a name="raptor-www-fetch.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p>WWW object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>URI to read from</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-www-fetch.returns"></a><h4>Returns</h4>
+<p> non-0 on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-fetch-to-string"></a><h3>raptor_www_fetch_to_string ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_www_fetch_to_string (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>,
+ <em class="parameter"><code><span class="type">void</span> **string_p</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> *length_p</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-general.html#raptor-data-malloc-handler" title="raptor_data_malloc_handler ()"><span class="type">raptor_data_malloc_handler</span></a> const malloc_handler</code></em>);</pre>
+<p>Start a WWW content retrieval for the given URI, returning the data in a new string.</p>
+<p>If <em class="parameter"><code>malloc_handler</code></em>
+ is null, raptor will allocate it using it's
+own memory allocator. *string_p is set to NULL on failure (and
+*length_p to 0 if length_p is not NULL).</p>
+<div class="refsect3">
+<a name="raptor-www-fetch-to-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p>raptor_www object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>raptor_uri to retrieve</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>string_p</p></td>
+<td class="parameter_description"><p>pointer to location to hold string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length_p</p></td>
+<td class="parameter_description"><p>pointer to location to hold length of string (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>malloc_handler</p></td>
+<td class="parameter_description"><p>pointer to <code class="function">malloc()</code> to use to make string (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-www-fetch-to-string.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-get-connection"></a><h3>raptor_www_get_connection ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span> *
+raptor_www_get_connection (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>);</pre>
+<p>Get WWW library connection object.</p>
+<p>Return the internal WWW connection handle. For libcurl, this
+returns the CURL handle and for libxml the context. Otherwise
+it returns NULL.</p>
+<div class="refsect3">
+<a name="raptor-www-get-connection.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> object </p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-www-get-connection.returns"></a><h4>Returns</h4>
+<p> connection pointer</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-set-ssl-cert-options"></a><h3>raptor_www_set_ssl_cert_options ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_www_set_ssl_cert_options (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *cert_filename</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *cert_type</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *cert_passphrase</code></em>);</pre>
+<p>Set SSL client certificate options (where supported)</p>
+<div class="refsect3">
+<a name="raptor-www-set-ssl-cert-options.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p>WWW object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>cert_filename</p></td>
+<td class="parameter_description"><p>SSL client certificate file</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>cert_type</p></td>
+<td class="parameter_description"><p>SSL client certificate type (default is "PEM")</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>cert_passphrase</p></td>
+<td class="parameter_description"><p>SSL client certificate password</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-www-set-ssl-cert-options.returns"></a><h4>Returns</h4>
+<p> non-0 when setting options is not supported</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-set-ssl-verify-options"></a><h3>raptor_www_set_ssl_verify_options ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_www_set_ssl_verify_options (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>,
+ <em class="parameter"><code><span class="type">int</span> verify_peer</code></em>,
+ <em class="parameter"><code><span class="type">int</span> verify_host</code></em>);</pre>
+<p>Set whether SSL verifies the authenticity of the peer's certificate</p>
+<p>These options correspond to setting the curl
+CURLOPT_SSL_VERIFYPEER and CURLOPT_SSL_VERIFYHOST options.</p>
+<div class="refsect3">
+<a name="raptor-www-set-ssl-verify-options.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p>WWW object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>verify_peer</p></td>
+<td class="parameter_description"><p>SSL verify peer - non-0 to verify peer SSL certificate (default)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>verify_host</p></td>
+<td class="parameter_description"><p>SSL verify host - 0 none, non-0 to require a CN match (default).</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-www-set-ssl-verify-options.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-www-abort"></a><h3>raptor_www_abort ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_www_abort (<em class="parameter"><code><a class="link" href="raptor2-section-www.html#raptor-www" title="raptor_www"><span class="type">raptor_www</span></a> *www</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *reason</code></em>);</pre>
+<p>Abort an ongoing raptor WWW operation and pass back a reason.</p>
+<p>This is typically used within one of the raptor WWW handlers
+when retrieval need no longer continue due to another
+processing issue or error.</p>
+<div class="refsect3">
+<a name="raptor-www-abort.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>www</p></td>
+<td class="parameter_description"><p>WWW object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>reason</p></td>
+<td class="parameter_description"><p>abort reason message</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-www.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="raptor-www"></a><h3>raptor_www</h3>
+<pre class="programlisting">raptor_www* raptor_www;
+</pre>
+<p>Raptor WWW class</p>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-section-xml-namespace.html b/docs/html/raptor2-section-xml-namespace.html
new file mode 100644
index 0000000..fc2bdb3
--- /dev/null
+++ b/docs/html/raptor2-section-xml-namespace.html
@@ -0,0 +1,1023 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>section-xml-namespace: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor2-section-www.html" title="section-www">
+<link rel="next" href="raptor2-section-xml-qname.html" title="section-xml-qname">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#raptor2-section-xml-namespace.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-section-www.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-section-xml-qname.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="raptor2-section-xml-namespace"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="raptor2-section-xml-namespace.top_of_page"></a>section-xml-namespace</span></h2>
+<p>section-xml-namespace</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="raptor2-section-xml-namespace.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="returnvalue">raptor_namespace</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-new-namespace-from-uri" title="raptor_new_namespace_from_uri ()">raptor_new_namespace_from_uri</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="returnvalue">raptor_namespace_stack</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-new-namespaces" title="raptor_new_namespaces ()">raptor_new_namespaces</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespaces-init" title="raptor_namespaces_init ()">raptor_namespaces_init</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespaces-clear" title="raptor_namespaces_clear ()">raptor_namespaces_clear</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-free-namespaces" title="raptor_free_namespaces ()">raptor_free_namespaces</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespaces-start-namespace" title="raptor_namespaces_start_namespace ()">raptor_namespaces_start_namespace</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespaces-start-namespace-full" title="raptor_namespaces_start_namespace_full ()">raptor_namespaces_start_namespace_full</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespaces-end-for-depth" title="raptor_namespaces_end_for_depth ()">raptor_namespaces_end_for_depth</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="returnvalue">raptor_namespace</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespaces-get-default-namespace" title="raptor_namespaces_get_default_namespace ()">raptor_namespaces_get_default_namespace</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="returnvalue">raptor_namespace</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespaces-find-namespace" title="raptor_namespaces_find_namespace ()">raptor_namespaces_find_namespace</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="returnvalue">raptor_namespace</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespaces-find-namespace-by-uri" title="raptor_namespaces_find_namespace_by_uri ()">raptor_namespaces_find_namespace_by_uri</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespaces-namespace-in-scope" title="raptor_namespaces_namespace_in_scope ()">raptor_namespaces_namespace_in_scope</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="returnvalue">raptor_namespace</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-new-namespace" title="raptor_new_namespace ()">raptor_new_namespace</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-free-namespace" title="raptor_free_namespace ()">raptor_free_namespace</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-get-uri" title="raptor_namespace_get_uri ()">raptor_namespace_get_uri</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-get-prefix" title="raptor_namespace_get_prefix ()">raptor_namespace_get_prefix</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-get-counted-prefix" title="raptor_namespace_get_counted_prefix ()">raptor_namespace_get_counted_prefix</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-write" title="raptor_namespace_write ()">raptor_namespace_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack-start-namespace" title="raptor_namespace_stack_start_namespace ()">raptor_namespace_stack_start_namespace</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-format-as-xml" title="raptor_namespace_format_as_xml ()">raptor_namespace_format_as_xml</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-namespace.html#raptor-xml-namespace-string-parse" title="raptor_xml_namespace_string_parse ()">raptor_xml_namespace_string_parse</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-xml-namespace.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="other_proto_type">
+<col class="other_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="typedef_keyword">typedef</td>
+<td class="function_name"><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace">raptor_namespace</a></td>
+</tr>
+<tr>
+<td class="typedef_keyword">typedef</td>
+<td class="function_name"><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack">raptor_namespace_stack</a></td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-xml-namespace.description"></a><h2>Description</h2>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-xml-namespace.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="raptor-new-namespace-from-uri"></a><h3>raptor_new_namespace_from_uri ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="returnvalue">raptor_namespace</span></a> *
+raptor_new_namespace_from_uri (<em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *prefix</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *ns_uri</code></em>,
+ <em class="parameter"><code><span class="type">int</span> depth</code></em>);</pre>
+<p>Constructor - create a new namespace from a prefix and URI object.</p>
+<p>This declares but does not enable the namespace declaration (or 'start' it)
+Use <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespaces-start-namespace" title="raptor_namespaces_start_namespace ()"><code class="function">raptor_namespaces_start_namespace()</code></a> to make the namespace
+enabled and in scope for binding prefixes.</p>
+<p>Alternatively use <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespaces-start-namespace-full" title="raptor_namespaces_start_namespace_full ()"><code class="function">raptor_namespaces_start_namespace_full()</code></a> can construct
+and enable a namespace in one call.</p>
+<div class="refsect3">
+<a name="raptor-new-namespace-from-uri.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>namespace stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>prefix</p></td>
+<td class="parameter_description"><p>namespace prefix string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>ns_uri</p></td>
+<td class="parameter_description"><p>namespace URI</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>depth</p></td>
+<td class="parameter_description"><p>depth of namespace in the stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-namespace-from-uri.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-namespaces"></a><h3>raptor_new_namespaces ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="returnvalue">raptor_namespace_stack</span></a> *
+raptor_new_namespaces (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><span class="type">int</span> defaults</code></em>);</pre>
+<p>Constructor - create a new <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a>.</p>
+<p>See <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespaces-init" title="raptor_namespaces_init ()"><code class="function">raptor_namespaces_init()</code></a> for the values of <em class="parameter"><code>defaults</code></em>
+.</p>
+<div class="refsect3">
+<a name="raptor-new-namespaces.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>defaults</p></td>
+<td class="parameter_description"><p>namespaces to initialise</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-namespaces.returns"></a><h4>Returns</h4>
+<p> a new namespace stack or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-namespaces-init"></a><h3>raptor_namespaces_init ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_namespaces_init (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code><span class="type">int</span> defaults</code></em>);</pre>
+<p>Initialise an existing namespaces stack object</p>
+<p>This sets up the stack optionally with some common RDF namespaces.</p>
+<p><em class="parameter"><code>defaults</code></em>
+ can be 0 for none, 1 for just XML, 2 for RDF, RDFS, OWL
+and XSD (RDQL uses this) or 3+ undefined.</p>
+<div class="refsect3">
+<a name="raptor-namespaces-init.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> to initialise</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>defaults</p></td>
+<td class="parameter_description"><p>namespaces to initialise.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-namespaces-init.returns"></a><h4>Returns</h4>
+<p> non-0 on error</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-namespaces-clear"></a><h3>raptor_namespaces_clear ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_namespaces_clear (<em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>);</pre>
+<p>Empty a namespace stack of namespaces and any other resources.</p>
+<div class="refsect3">
+<a name="raptor-namespaces-clear.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>namespace stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-free-namespaces"></a><h3>raptor_free_namespaces ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_free_namespaces (<em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>);</pre>
+<p>Destructor - destroy a namespace stack</p>
+<div class="refsect3">
+<a name="raptor-free-namespaces.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>namespace stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-namespaces-start-namespace"></a><h3>raptor_namespaces_start_namespace ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_namespaces_start_namespace (<em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> *nspace</code></em>);</pre>
+<p>Start a namespace on a stack of namespaces.</p>
+<div class="refsect3">
+<a name="raptor-namespaces-start-namespace.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>namespace stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>nspace</p></td>
+<td class="parameter_description"><p>namespace to start</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-namespaces-start-namespace-full"></a><h3>raptor_namespaces_start_namespace_full ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_namespaces_start_namespace_full
+ (<em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *prefix</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *ns_uri_string</code></em>,
+ <em class="parameter"><code><span class="type">int</span> depth</code></em>);</pre>
+<p>Create a new namespace and start it on a stack of namespaces.</p>
+<p>See <a class="link" href="raptor2-section-xml-namespace.html#raptor-new-namespace" title="raptor_new_namespace ()"><code class="function">raptor_new_namespace()</code></a> for the meanings of <em class="parameter"><code>prefix</code></em>
+,
+<em class="parameter"><code>ns_uri_string</code></em>
+ and <em class="parameter"><code>depth</code></em>
+ for namespaces.</p>
+<div class="refsect3">
+<a name="raptor-namespaces-start-namespace-full.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>namespace stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>prefix</p></td>
+<td class="parameter_description"><p>new namespace prefix (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>ns_uri_string</p></td>
+<td class="parameter_description"><p>new namespace URI (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>depth</p></td>
+<td class="parameter_description"><p>new namespace depth</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-namespaces-start-namespace-full.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-namespaces-end-for-depth"></a><h3>raptor_namespaces_end_for_depth ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_namespaces_end_for_depth (<em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code><span class="type">int</span> depth</code></em>);</pre>
+<p>End all namespaces at the given depth in the namespace stack.</p>
+<div class="refsect3">
+<a name="raptor-namespaces-end-for-depth.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>namespace stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>depth</p></td>
+<td class="parameter_description"><p>depth</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-namespaces-get-default-namespace"></a><h3>raptor_namespaces_get_default_namespace ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="returnvalue">raptor_namespace</span></a> *
+raptor_namespaces_get_default_namespace
+ (<em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>);</pre>
+<p>Get the current default namespace in-scope in a stack.</p>
+<div class="refsect3">
+<a name="raptor-namespaces-get-default-namespace.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>namespace stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-namespaces-get-default-namespace.returns"></a><h4>Returns</h4>
+<p> <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> or NULL if no default namespace is in scope</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-namespaces-find-namespace"></a><h3>raptor_namespaces_find_namespace ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="returnvalue">raptor_namespace</span></a> *
+raptor_namespaces_find_namespace (<em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *prefix</code></em>,
+ <em class="parameter"><code><span class="type">int</span> prefix_length</code></em>);</pre>
+<p>Find a namespace in a namespace stack by prefix.</p>
+<p>Note that this uses the <em class="parameter"><code>length</code></em>
+ so that the prefix may be a prefix (sic)
+of a longer string. If <em class="parameter"><code>prefix</code></em>
+ is NULL, the default namespace will
+be returned if present, <em class="parameter"><code>prefix_length</code></em>
+ length is ignored in this case.</p>
+<div class="refsect3">
+<a name="raptor-namespaces-find-namespace.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>namespace stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>prefix</p></td>
+<td class="parameter_description"><p>namespace prefix to find</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>prefix_length</p></td>
+<td class="parameter_description"><p>length of prefix.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-namespaces-find-namespace.returns"></a><h4>Returns</h4>
+<p> <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> for the prefix or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-namespaces-find-namespace-by-uri"></a><h3>raptor_namespaces_find_namespace_by_uri ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="returnvalue">raptor_namespace</span></a> *
+raptor_namespaces_find_namespace_by_uri
+ (<em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *ns_uri</code></em>);</pre>
+<p>Find a namespace in a namespace stack by namespace URI.</p>
+<div class="refsect3">
+<a name="raptor-namespaces-find-namespace-by-uri.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>namespace stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>ns_uri</p></td>
+<td class="parameter_description"><p>namespace URI to find</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-namespaces-find-namespace-by-uri.returns"></a><h4>Returns</h4>
+<p> <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> for the URI or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-namespaces-namespace-in-scope"></a><h3>raptor_namespaces_namespace_in_scope ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_namespaces_namespace_in_scope (<em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code>const <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> *nspace</code></em>);</pre>
+<p>Test if a given namespace is in-scope in the namespace stack.</p>
+<div class="refsect3">
+<a name="raptor-namespaces-namespace-in-scope.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>namespace stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>nspace</p></td>
+<td class="parameter_description"><p>namespace</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-namespaces-namespace-in-scope.returns"></a><h4>Returns</h4>
+<p> non-0 if the namespace is in scope.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-namespace"></a><h3>raptor_new_namespace ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="returnvalue">raptor_namespace</span></a> *
+raptor_new_namespace (<em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *prefix</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *ns_uri_string</code></em>,
+ <em class="parameter"><code><span class="type">int</span> depth</code></em>);</pre>
+<p>Constructor - create a new namespace from a prefix and URI string with a depth scope.</p>
+<p>This declares but does not enable the namespace declaration (or 'start' it)
+Use <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespaces-start-namespace" title="raptor_namespaces_start_namespace ()"><code class="function">raptor_namespaces_start_namespace()</code></a> to make the namespace
+enabled and in scope for binding prefixes.</p>
+<p>Alternatively use <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespaces-start-namespace-full" title="raptor_namespaces_start_namespace_full ()"><code class="function">raptor_namespaces_start_namespace_full()</code></a> can construct
+and enable a namespace in one call.</p>
+<p>The <em class="parameter"><code>depth</code></em>
+ is a way to use the stack of namespaces for providing scoped
+namespaces where inner scope namespaces override outer scope namespaces.
+This is primarily for RDF/XML and XML syntaxes that have hierarchical
+elements. The main use of this is <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespaces-end-for-depth" title="raptor_namespaces_end_for_depth ()"><code class="function">raptor_namespaces_end_for_depth()</code></a>
+to disable ('end') all namespaces at a given depth. Otherwise set this
+to 0.</p>
+<div class="refsect3">
+<a name="raptor-new-namespace.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>namespace stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>prefix</p></td>
+<td class="parameter_description"><p>namespace prefix string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>ns_uri_string</p></td>
+<td class="parameter_description"><p>namespace URI string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>depth</p></td>
+<td class="parameter_description"><p>depth of namespace in the stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-namespace.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-free-namespace"></a><h3>raptor_free_namespace ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_free_namespace (<em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> *ns</code></em>);</pre>
+<p>Destructor - destroy a namespace.</p>
+<div class="refsect3">
+<a name="raptor-free-namespace.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>ns</p></td>
+<td class="parameter_description"><p>namespace object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-namespace-get-uri"></a><h3>raptor_namespace_get_uri ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+raptor_namespace_get_uri (<em class="parameter"><code>const <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> *ns</code></em>);</pre>
+<p>Get the namespace URI.</p>
+<div class="refsect3">
+<a name="raptor-namespace-get-uri.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>ns</p></td>
+<td class="parameter_description"><p>namespace object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-namespace-get-uri.returns"></a><h4>Returns</h4>
+<p> namespace URI or NULL</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-namespace-get-prefix"></a><h3>raptor_namespace_get_prefix ()</h3>
+<pre class="programlisting">const unsigned <span class="returnvalue">char</span> *
+raptor_namespace_get_prefix (<em class="parameter"><code>const <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> *ns</code></em>);</pre>
+<p>Get the namespace prefix.</p>
+<div class="refsect3">
+<a name="raptor-namespace-get-prefix.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>ns</p></td>
+<td class="parameter_description"><p>namespace object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-namespace-get-prefix.returns"></a><h4>Returns</h4>
+<p> prefix string or NULL</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-namespace-get-counted-prefix"></a><h3>raptor_namespace_get_counted_prefix ()</h3>
+<pre class="programlisting">const unsigned <span class="returnvalue">char</span> *
+raptor_namespace_get_counted_prefix (<em class="parameter"><code>const <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> *ns</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> *length_p</code></em>);</pre>
+<p>Get the namespace prefix and length.</p>
+<div class="refsect3">
+<a name="raptor-namespace-get-counted-prefix.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>ns</p></td>
+<td class="parameter_description"><p>namespace object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length_p</p></td>
+<td class="parameter_description"><p>pointer to store length or NULL</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-namespace-get-counted-prefix.returns"></a><h4>Returns</h4>
+<p> prefix string or NULL</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-namespace-write"></a><h3>raptor_namespace_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_namespace_write (<em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> *ns</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Write a formatted namespace to an iostream</p>
+<div class="refsect3">
+<a name="raptor-namespace-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>ns</p></td>
+<td class="parameter_description"><p>namespace to write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>raptor iosteram</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-namespace-write.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-namespace-stack-start-namespace"></a><h3>raptor_namespace_stack_start_namespace ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_namespace_stack_start_namespace
+ (<em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> *ns</code></em>,
+ <em class="parameter"><code><span class="type">int</span> new_depth</code></em>);</pre>
+<p>Copy an existing namespace to a namespace stack with a new depth
+and start it.</p>
+<p>The <em class="parameter"><code>depth</code></em>
+ is a way to use the stack of namespaces for providing scoped
+namespaces where inner scope namespaces override outer scope namespaces.
+This is primarily for RDF/XML and XML syntaxes that have hierarchical
+elements. The main use of this is <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespaces-end-for-depth" title="raptor_namespaces_end_for_depth ()"><code class="function">raptor_namespaces_end_for_depth()</code></a>
+to disable ('end') all namespaces at a given depth. If depths are
+not being needed it is unlikely this call is ever needed to copy an
+existing namespace at a new depth.</p>
+<div class="refsect3">
+<a name="raptor-namespace-stack-start-namespace.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>namespace stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>ns</p></td>
+<td class="parameter_description"><p>namespace</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>new_depth</p></td>
+<td class="parameter_description"><p>new depth</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-namespace-stack-start-namespace.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-namespace-format-as-xml"></a><h3>raptor_namespace_format_as_xml ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">char</span> *
+raptor_namespace_format_as_xml (<em class="parameter"><code>const <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> *ns</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> *length_p</code></em>);</pre>
+<p>Format a namespace in an XML style into a newly allocated string.</p>
+<p>Generates a string of the form xmlns:prefix="uri",
+xmlns="uri", xmlns:prefix="" or xmlns="" depending on the
+namespace's prefix or URI. Double quotes are always used.</p>
+<p>If <em class="parameter"><code>length_p</code></em>
+ is not NULL, the length of the string is
+stored in the address it points to.</p>
+<p>See also <a class="link" href="raptor2-section-xml-namespace.html#raptor-xml-namespace-string-parse" title="raptor_xml_namespace_string_parse ()"><code class="function">raptor_xml_namespace_string_parse()</code></a></p>
+<div class="refsect3">
+<a name="raptor-namespace-format-as-xml.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>ns</p></td>
+<td class="parameter_description"><p>namespace object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length_p</p></td>
+<td class="parameter_description"><p>pointer to length (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-namespace-format-as-xml.returns"></a><h4>Returns</h4>
+<p> namespace formatted as newly allocated string or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-namespace-string-parse"></a><h3>raptor_xml_namespace_string_parse ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_xml_namespace_string_parse (<em class="parameter"><code>const <span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">char</span> **prefix</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">char</span> **uri_string</code></em>);</pre>
+<p>Parse a string containing an XML style namespace declaration
+into a namespace prefix and URI pair.</p>
+<p>The string is of the form xmlns:prefix="uri",
+xmlns="uri", xmlns:prefix="" or xmlns="".
+The quotes can be single or double quotes.</p>
+<p>Two values are returned from this function into *<em class="parameter"><code>prefix</code></em>
+ and
+*<em class="parameter"><code>uri_string</code></em>
+. Either but not both may be NULL.</p>
+<p>See also <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-format-as-xml" title="raptor_namespace_format_as_xml ()"><code class="function">raptor_namespace_format_as_xml()</code></a></p>
+<div class="refsect3">
+<a name="raptor-xml-namespace-string-parse.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>string to parse</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>prefix</p></td>
+<td class="parameter_description"><p>pointer to location to store namespace prefix</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri_string</p></td>
+<td class="parameter_description"><p>pointer to location to store namespace URI</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-xml-namespace-string-parse.returns"></a><h4>Returns</h4>
+<p> non-0 on failure.</p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-xml-namespace.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="raptor-namespace"></a><h3>raptor_namespace</h3>
+<pre class="programlisting">raptor_namespace* raptor_namespace;
+</pre>
+<p>Raptor XML Namespace class</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-namespace-stack"></a><h3>raptor_namespace_stack</h3>
+<pre class="programlisting">raptor_namespace_stack* raptor_namespace_stack;
+</pre>
+<p>Raptor XML Namespace Stack class</p>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-section-xml-qname.html b/docs/html/raptor2-section-xml-qname.html
new file mode 100644
index 0000000..cddab91
--- /dev/null
+++ b/docs/html/raptor2-section-xml-qname.html
@@ -0,0 +1,668 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>section-xml-qname: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor2-section-xml-namespace.html" title="section-xml-namespace">
+<link rel="next" href="raptor2-section-xml.html" title="section-xml">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#raptor2-section-xml-qname.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-section-xml-namespace.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-section-xml.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="raptor2-section-xml-qname"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="raptor2-section-xml-qname.top_of_page"></a>section-xml-qname</span></h2>
+<p>section-xml-qname</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="raptor2-section-xml-qname.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="returnvalue">raptor_qname</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-qname.html#raptor-new-qname" title="raptor_new_qname ()">raptor_new_qname</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="returnvalue">raptor_qname</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-qname.html#raptor-new-qname-from-namespace-local-name" title="raptor_new_qname_from_namespace_local_name ()">raptor_new_qname_from_namespace_local_name</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="returnvalue">raptor_qname</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-qname.html#raptor-new-qname-from-namespace-uri" title="raptor_new_qname_from_namespace_uri ()">raptor_new_qname_from_namespace_uri</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="returnvalue">raptor_qname</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-qname.html#raptor-qname-copy" title="raptor_qname_copy ()">raptor_qname_copy</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-qname.html#raptor-free-qname" title="raptor_free_qname ()">raptor_free_qname</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-qname.html#raptor-qname-equal" title="raptor_qname_equal ()">raptor_qname_equal</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-qname.html#raptor-qname-string-to-uri" title="raptor_qname_string_to_uri ()">raptor_qname_string_to_uri</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-qname.html#raptor-qname-write" title="raptor_qname_write ()">raptor_qname_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-qname.html#raptor-qname-format-as-xml" title="raptor_qname_format_as_xml ()">raptor_qname_format_as_xml</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-qname.html#raptor-qname-get-counted-value" title="raptor_qname_get_counted_value ()">raptor_qname_get_counted_value</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-qname.html#raptor-qname-get-local-name" title="raptor_qname_get_local_name ()">raptor_qname_get_local_name</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="returnvalue">raptor_namespace</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-qname.html#raptor-qname-get-namespace" title="raptor_qname_get_namespace ()">raptor_qname_get_namespace</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-qname.html#raptor-qname-get-value" title="raptor_qname_get_value ()">raptor_qname_get_value</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml-qname.html#raptor-qname-to-counted-name" title="raptor_qname_to_counted_name ()">raptor_qname_to_counted_name</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-xml-qname.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="other_proto_type">
+<col class="other_proto_name">
+</colgroup>
+<tbody><tr>
+<td class="typedef_keyword">typedef</td>
+<td class="function_name"><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname">raptor_qname</a></td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-xml-qname.description"></a><h2>Description</h2>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-xml-qname.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="raptor-new-qname"></a><h3>raptor_new_qname ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="returnvalue">raptor_qname</span></a> *
+raptor_new_qname (<em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *value</code></em>);</pre>
+<p>Constructor - create a new XML qname.</p>
+<p>Create a new qname from the local element/attribute name,
+with optional (attribute) value. The namespace stack is used
+to look up the name and find the namespace and generate the
+URI of the qname.</p>
+<div class="refsect3">
+<a name="raptor-new-qname.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>namespace stack to look up for namespaces</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>name</p></td>
+<td class="parameter_description"><p>element or attribute name</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>value</p></td>
+<td class="parameter_description"><p>attribute value (else is an element)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-qname.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-qname-from-namespace-local-name"></a><h3>raptor_new_qname_from_namespace_local_name ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="returnvalue">raptor_qname</span></a> *
+raptor_new_qname_from_namespace_local_name
+ (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> *ns</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *local_name</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *value</code></em>);</pre>
+<p>Constructor - create a new XML qname.</p>
+<p>Create a new qname from the namespace and local element/attribute name,
+with optional (attribute) value.</p>
+<div class="refsect3">
+<a name="raptor-new-qname-from-namespace-local-name.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>ns</p></td>
+<td class="parameter_description"><p>namespace of qname (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>local_name</p></td>
+<td class="parameter_description"><p>element or attribute name</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>value</p></td>
+<td class="parameter_description"><p>attribute value (else is an element)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-qname-from-namespace-local-name.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-qname-from-namespace-uri"></a><h3>raptor_new_qname_from_namespace_uri ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="returnvalue">raptor_qname</span></a> *
+raptor_new_qname_from_namespace_uri (<em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *uri</code></em>,
+ <em class="parameter"><code><span class="type">int</span> xml_version</code></em>);</pre>
+<p>Make an appropriate XML Qname from the namespaces on a namespace stack</p>
+<p>Makes a qname from the in-scope namespaces in a stack if the URI matches
+the prefix and the rest is a legal XML name.</p>
+<div class="refsect3">
+<a name="raptor-new-qname-from-namespace-uri.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>namespace stack</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>uri</p></td>
+<td class="parameter_description"><p>URI to use to make qname</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>xml_version</p></td>
+<td class="parameter_description"><p>XML Version</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-qname-from-namespace-uri.returns"></a><h4>Returns</h4>
+<p> <a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> for the URI or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-qname-copy"></a><h3>raptor_qname_copy ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="returnvalue">raptor_qname</span></a> *
+raptor_qname_copy (<em class="parameter"><code><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> *qname</code></em>);</pre>
+<p>Copy constructor - copy an existing XML qname.</p>
+<div class="refsect3">
+<a name="raptor-qname-copy.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>qname</p></td>
+<td class="parameter_description"><p>existing qname</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-qname-copy.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-free-qname"></a><h3>raptor_free_qname ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_free_qname (<em class="parameter"><code><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> *name</code></em>);</pre>
+<p>Destructor - destroy a raptor_qname object.</p>
+<div class="refsect3">
+<a name="raptor-free-qname.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>name</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-qname-equal"></a><h3>raptor_qname_equal ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_qname_equal (<em class="parameter"><code><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> *name1</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> *name2</code></em>);</pre>
+<p>Compare two XML Qnames for equality.</p>
+<div class="refsect3">
+<a name="raptor-qname-equal.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>name1</p></td>
+<td class="parameter_description"><p>first <a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>name2</p></td>
+<td class="parameter_description"><p>second <span class="type">raptor_name</span></p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-qname-equal.returns"></a><h4>Returns</h4>
+<p> non-0 if the qnames are equal.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-qname-string-to-uri"></a><h3>raptor_qname_string_to_uri ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="returnvalue">raptor_uri</span></a> *
+raptor_qname_string_to_uri (<em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> name_len</code></em>);</pre>
+<p>Get the URI for a qname.</p>
+<p>Utility function to turn a string representing a QName in the
+N3 style, into a new URI representing it. A NULL name or name ":"
+returns the default namespace URI. A name "p:" returns
+namespace name (URI) for the namespace with prefix "p".</p>
+<p>Partially equivalent to
+ qname = raptor_new_qname(nstack, name, NULL);
+ uri = raptor_uri_copy(qname-&gt;uri);
+ raptor_free_qname(qname)
+but without making the qname, and it also handles the NULL and
+":" name cases as well as error checking.</p>
+<div class="refsect3">
+<a name="raptor-qname-string-to-uri.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> to decode the namespace</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>name</p></td>
+<td class="parameter_description"><p>QName string or NULL</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>name_len</p></td>
+<td class="parameter_description"><p>QName string length</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-qname-string-to-uri.returns"></a><h4>Returns</h4>
+<p> new <a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-qname-write"></a><h3>raptor_qname_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_qname_write (<em class="parameter"><code><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> *qname</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Write a formatted qname to an iostream</p>
+<div class="refsect3">
+<a name="raptor-qname-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>qname</p></td>
+<td class="parameter_description"><p>QName to write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>raptor iosteram</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-qname-write.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-qname-format-as-xml"></a><h3>raptor_qname_format_as_xml ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">char</span> *
+raptor_qname_format_as_xml (<em class="parameter"><code>const <a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> *qname</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> *length_p</code></em>);</pre>
+<p>Format a qname in an XML style into a newly allocated string.</p>
+<p>Generates a string of the form a:b="value" or a="value"
+depending on the qname's prefix. Double quotes are always used.</p>
+<p>If <em class="parameter"><code>length_p</code></em>
+ is not NULL, the length of the string is
+stored in the address it points to.</p>
+<div class="refsect3">
+<a name="raptor-qname-format-as-xml.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>qname</p></td>
+<td class="parameter_description"><p>qname object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length_p</p></td>
+<td class="parameter_description"><p>pointer to length (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-qname-format-as-xml.returns"></a><h4>Returns</h4>
+<p> qname formatted as newly allocated string or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-qname-get-counted-value"></a><h3>raptor_qname_get_counted_value ()</h3>
+<pre class="programlisting">const unsigned <span class="returnvalue">char</span> *
+raptor_qname_get_counted_value (<em class="parameter"><code><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> *name</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> *length_p</code></em>);</pre>
+<p>Get the <span class="type">raptor_value</span> of an XML QName.</p>
+<div class="refsect3">
+<a name="raptor-qname-get-counted-value.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>name</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length_p</p></td>
+<td class="parameter_description"><p>pointer to variable to store length of name (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-qname-get-counted-value.returns"></a><h4>Returns</h4>
+<p> the value</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-qname-get-local-name"></a><h3>raptor_qname_get_local_name ()</h3>
+<pre class="programlisting">const unsigned <span class="returnvalue">char</span> *
+raptor_qname_get_local_name (<em class="parameter"><code><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> *name</code></em>);</pre>
+<p>Get the <span class="type">raptor_local_name</span> of an XML QName.</p>
+<div class="refsect3">
+<a name="raptor-qname-get-local-name.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>name</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-qname-get-local-name.returns"></a><h4>Returns</h4>
+<p> the local_name</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-qname-get-namespace"></a><h3>raptor_qname_get_namespace ()</h3>
+<pre class="programlisting">const <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="returnvalue">raptor_namespace</span></a> *
+raptor_qname_get_namespace (<em class="parameter"><code><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> *name</code></em>);</pre>
+<p>Get the <a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> of an XML QName.</p>
+<div class="refsect3">
+<a name="raptor-qname-get-namespace.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>name</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-qname-get-namespace.returns"></a><h4>Returns</h4>
+<p> the namespace</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-qname-get-value"></a><h3>raptor_qname_get_value ()</h3>
+<pre class="programlisting">const unsigned <span class="returnvalue">char</span> *
+raptor_qname_get_value (<em class="parameter"><code><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> *name</code></em>);</pre>
+<p>Get the <span class="type">raptor_value</span> of an XML QName.</p>
+<div class="refsect3">
+<a name="raptor-qname-get-value.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>name</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-qname-get-value.returns"></a><h4>Returns</h4>
+<p> the value</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-qname-to-counted-name"></a><h3>raptor_qname_to_counted_name ()</h3>
+<pre class="programlisting">unsigned <span class="returnvalue">char</span> *
+raptor_qname_to_counted_name (<em class="parameter"><code><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> *qname</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> *length_p</code></em>);</pre>
+<p>Get the string form of a QName name</p>
+<div class="refsect3">
+<a name="raptor-qname-to-counted-name.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>qname</p></td>
+<td class="parameter_description"><p>QName to write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length_p</p></td>
+<td class="parameter_description"><p>pointer to variable to store length of name (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-qname-to-counted-name.returns"></a><h4>Returns</h4>
+<p> new string name or NULL on failure</p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-xml-qname.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="raptor-qname"></a><h3>raptor_qname</h3>
+<pre class="programlisting">raptor_qname* raptor_qname;
+</pre>
+<p>Raptor XML qname class</p>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2-section-xml.html b/docs/html/raptor2-section-xml.html
new file mode 100644
index 0000000..2fcd01a
--- /dev/null
+++ b/docs/html/raptor2-section-xml.html
@@ -0,0 +1,1565 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>section-xml: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<link rel="prev" href="raptor2-section-xml-qname.html" title="section-xml-qname">
+<link rel="next" href="raptor-formats.html" title="Syntax Formats supported in Raptor">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts">
+<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
+ <a href="#raptor2-section-xml.description" class="shortcut">Description</a></span>
+</td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="reference-manual.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor2-section-xml-qname.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor-formats.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="refentry">
+<a name="raptor2-section-xml"></a><div class="titlepage"></div>
+<div class="refnamediv"><table width="100%"><tr>
+<td valign="top">
+<h2><span class="refentrytitle"><a name="raptor2-section-xml.top_of_page"></a>section-xml</span></h2>
+<p>section-xml</p>
+</td>
+<td class="gallery_image" valign="top" align="right"></td>
+</tr></table></div>
+<div class="refsect1">
+<a name="raptor2-section-xml.functions"></a><h2>Functions</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="functions_proto_type">
+<col class="functions_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="returnvalue">raptor_xml_element</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-new-xml-element" title="raptor_new_xml_element ()">raptor_new_xml_element</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="returnvalue">raptor_xml_element</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-new-xml-element-from-namespace-local-name" title="raptor_new_xml_element_from_namespace_local_name ()">raptor_new_xml_element_from_namespace_local_name</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-free-xml-element" title="raptor_free_xml_element ()">raptor_free_xml_element</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="returnvalue">raptor_qname</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-element-get-name" title="raptor_xml_element_get_name ()">raptor_xml_element_get_name</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="returnvalue">raptor_qname</span></a> **
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-element-get-attributes" title="raptor_xml_element_get_attributes ()">raptor_xml_element_get_attributes</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-element-get-attributes-count" title="raptor_xml_element_get_attributes_count ()">raptor_xml_element_get_attributes_count</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-element-set-attributes" title="raptor_xml_element_set_attributes ()">raptor_xml_element_set_attributes</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-element-declare-namespace" title="raptor_xml_element_declare_namespace ()">raptor_xml_element_declare_namespace</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-element-is-empty" title="raptor_xml_element_is_empty ()">raptor_xml_element_is_empty</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">const unsigned <span class="returnvalue">char</span> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-element-get-language" title="raptor_xml_element_get_language ()">raptor_xml_element_get_language</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-element-write" title="raptor_xml_element_write ()">raptor_xml_element_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="returnvalue">raptor_xml_writer</span></a> *
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-new-xml-writer" title="raptor_new_xml_writer ()">raptor_new_xml_writer</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-free-xml-writer" title="raptor_free_xml_writer ()">raptor_free_xml_writer</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-writer-empty-element" title="raptor_xml_writer_empty_element ()">raptor_xml_writer_empty_element</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-writer-start-element" title="raptor_xml_writer_start_element ()">raptor_xml_writer_start_element</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-writer-end-element" title="raptor_xml_writer_end_element ()">raptor_xml_writer_end_element</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-writer-cdata" title="raptor_xml_writer_cdata ()">raptor_xml_writer_cdata</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-writer-cdata-counted" title="raptor_xml_writer_cdata_counted ()">raptor_xml_writer_cdata_counted</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-writer-raw" title="raptor_xml_writer_raw ()">raptor_xml_writer_raw</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-writer-raw-counted" title="raptor_xml_writer_raw_counted ()">raptor_xml_writer_raw_counted</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-writer-comment" title="raptor_xml_writer_comment ()">raptor_xml_writer_comment</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-writer-comment-counted" title="raptor_xml_writer_comment_counted ()">raptor_xml_writer_comment_counted</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-writer-flush" title="raptor_xml_writer_flush ()">raptor_xml_writer_flush</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">void</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-writer-newline" title="raptor_xml_writer_newline ()">raptor_xml_writer_newline</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-writer-get-depth" title="raptor_xml_writer_get_depth ()">raptor_xml_writer_get_depth</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-writer-set-option" title="raptor_xml_writer_set_option ()">raptor_xml_writer_set_option</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-writer-get-option" title="raptor_xml_writer_get_option ()">raptor_xml_writer_get_option</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-escape-string-any" title="raptor_xml_escape_string_any ()">raptor_xml_escape_string_any</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-escape-string-any-write" title="raptor_xml_escape_string_any_write ()">raptor_xml_escape_string_any_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-escape-string" title="raptor_xml_escape_string ()">raptor_xml_escape_string</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-escape-string-write" title="raptor_xml_escape_string_write ()">raptor_xml_escape_string_write</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+<tr>
+<td class="function_type">
+<span class="returnvalue">int</span>
+</td>
+<td class="function_name">
+<a class="link" href="raptor2-section-xml.html#raptor-xml-name-check" title="raptor_xml_name_check ()">raptor_xml_name_check</a> <span class="c_punctuation">()</span>
+</td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-xml.other"></a><h2>Types and Values</h2>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="other_proto_type">
+<col class="other_proto_name">
+</colgroup>
+<tbody>
+<tr>
+<td class="typedef_keyword">typedef</td>
+<td class="function_name"><a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element">raptor_xml_element</a></td>
+</tr>
+<tr>
+<td class="typedef_keyword">typedef</td>
+<td class="function_name"><a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer">raptor_xml_writer</a></td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-xml.description"></a><h2>Description</h2>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-xml.functions_details"></a><h2>Functions</h2>
+<div class="refsect2">
+<a name="raptor-new-xml-element"></a><h3>raptor_new_xml_element ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="returnvalue">raptor_xml_element</span></a> *
+raptor_new_xml_element (<em class="parameter"><code><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> *name</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *xml_language</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *xml_base</code></em>);</pre>
+<p>Constructor - create a new XML element from a QName</p>
+<p>The <em class="parameter"><code>xml_language</code></em>
+ and <em class="parameter"><code>xml_base</code></em>
+ become owned by the new object.</p>
+<div class="refsect3">
+<a name="raptor-new-xml-element.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>name</p></td>
+<td class="parameter_description"><p>The XML element name</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>xml_language</p></td>
+<td class="parameter_description"><p>the in-scope XML language (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>xml_base</p></td>
+<td class="parameter_description"><p>the in-scope XML base URI (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-xml-element.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="type">raptor_xml_element</span></a> or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-xml-element-from-namespace-local-name"></a><h3>raptor_new_xml_element_from_namespace_local_name ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="returnvalue">raptor_xml_element</span></a> *
+raptor_new_xml_element_from_namespace_local_name
+ (<em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> *ns</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
+ <em class="parameter"><code>const unsigned <span class="type">char</span> *xml_language</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-uri.html#raptor-uri" title="raptor_uri"><span class="type">raptor_uri</span></a> *xml_base</code></em>);</pre>
+<p>Constructor - create a new XML element from an XML namespace and a local name</p>
+<p>Added in 1.4.16.</p>
+<div class="refsect3">
+<a name="raptor-new-xml-element-from-namespace-local-name.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>ns</p></td>
+<td class="parameter_description"><p>namespace</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>name</p></td>
+<td class="parameter_description"><p>the XML element local name</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>xml_language</p></td>
+<td class="parameter_description"><p>the in-scope XML language (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>xml_base</p></td>
+<td class="parameter_description"><p>base uri (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-xml-element-from-namespace-local-name.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="type">raptor_xml_element</span></a> or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-free-xml-element"></a><h3>raptor_free_xml_element ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_free_xml_element (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="type">raptor_xml_element</span></a> *element</code></em>);</pre>
+<p>Destructor - destroy a raptor_xml_element object.</p>
+<div class="refsect3">
+<a name="raptor-free-xml-element.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>element</p></td>
+<td class="parameter_description"><p>XML Element</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-element-get-name"></a><h3>raptor_xml_element_get_name ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="returnvalue">raptor_qname</span></a> *
+raptor_xml_element_get_name (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="type">raptor_xml_element</span></a> *xml_element</code></em>);</pre>
+<p>Get the XML Name of an XML element</p>
+<div class="refsect3">
+<a name="raptor-xml-element-get-name.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>xml_element</p></td>
+<td class="parameter_description"><p>XML Element</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-xml-element-get-name.returns"></a><h4>Returns</h4>
+<p> The Name.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-element-get-attributes"></a><h3>raptor_xml_element_get_attributes ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="returnvalue">raptor_qname</span></a> **
+raptor_xml_element_get_attributes (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="type">raptor_xml_element</span></a> *xml_element</code></em>);</pre>
+<p>Get the array of attributes on the XML element.</p>
+<p>Use <a class="link" href="raptor2-section-xml.html#raptor-xml-element-get-attributes-count" title="raptor_xml_element_get_attributes_count ()"><code class="function">raptor_xml_element_get_attributes_count()</code></a> to get the count
+of the array size.</p>
+<div class="refsect3">
+<a name="raptor-xml-element-get-attributes.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>xml_element</p></td>
+<td class="parameter_description"><p>XML Element</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-xml-element-get-attributes.returns"></a><h4>Returns</h4>
+<p> the array of qnames or NULL if none are present.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-element-get-attributes-count"></a><h3>raptor_xml_element_get_attributes_count ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_xml_element_get_attributes_count
+ (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="type">raptor_xml_element</span></a> *xml_element</code></em>);</pre>
+<p>Get the number of attributes on the XML element.</p>
+<div class="refsect3">
+<a name="raptor-xml-element-get-attributes-count.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>xml_element</p></td>
+<td class="parameter_description"><p>XML Element</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-xml-element-get-attributes-count.returns"></a><h4>Returns</h4>
+<p> Integer number of attributes - 0 or more.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-element-set-attributes"></a><h3>raptor_xml_element_set_attributes ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_xml_element_set_attributes (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="type">raptor_xml_element</span></a> *xml_element</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml-qname.html#raptor-qname" title="raptor_qname"><span class="type">raptor_qname</span></a> **attributes</code></em>,
+ <em class="parameter"><code><span class="type">int</span> count</code></em>);</pre>
+<p>Set the attributes on an XML element.</p>
+<p>The <em class="parameter"><code>attributes</code></em>
+ array becomes owned by the element after this function.</p>
+<div class="refsect3">
+<a name="raptor-xml-element-set-attributes.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>xml_element</p></td>
+<td class="parameter_description"><p>XML Element</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>attributes</p></td>
+<td class="parameter_description"><p>Array of XML Qname attributes with values</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>count</p></td>
+<td class="parameter_description"><p>Length of array</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-element-declare-namespace"></a><h3>raptor_xml_element_declare_namespace ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_xml_element_declare_namespace (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="type">raptor_xml_element</span></a> *xml_element</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace" title="raptor_namespace"><span class="type">raptor_namespace</span></a> *nspace</code></em>);</pre>
+<p>Declare a namespace on the XML Element.</p>
+<div class="refsect3">
+<a name="raptor-xml-element-declare-namespace.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>xml_element</p></td>
+<td class="parameter_description"><p>XML Element</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>nspace</p></td>
+<td class="parameter_description"><p>raptor_namespace to declare</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-xml-element-declare-namespace.returns"></a><h4>Returns</h4>
+<p> non-0 if namespace cannot be declared </p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-element-is-empty"></a><h3>raptor_xml_element_is_empty ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_xml_element_is_empty (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="type">raptor_xml_element</span></a> *xml_element</code></em>);</pre>
+<p>Check if an XML Element is empty.</p>
+<div class="refsect3">
+<a name="raptor-xml-element-is-empty.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>xml_element</p></td>
+<td class="parameter_description"><p>XML Element</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-xml-element-is-empty.returns"></a><h4>Returns</h4>
+<p> non-0 if the element is empty.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-element-get-language"></a><h3>raptor_xml_element_get_language ()</h3>
+<pre class="programlisting">const unsigned <span class="returnvalue">char</span> *
+raptor_xml_element_get_language (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="type">raptor_xml_element</span></a> *xml_element</code></em>);</pre>
+<p>Get the XML language of the element.</p>
+<div class="refsect3">
+<a name="raptor-xml-element-get-language.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>xml_element</p></td>
+<td class="parameter_description"><p>XML Element</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-xml-element-get-language.returns"></a><h4>Returns</h4>
+<p> XML language or NULL if none in scope</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-element-write"></a><h3>raptor_xml_element_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_xml_element_write (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="type">raptor_xml_element</span></a> *element</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code><span class="type">int</span> is_empty</code></em>,
+ <em class="parameter"><code><span class="type">int</span> is_end</code></em>,
+ <em class="parameter"><code><span class="type">int</span> depth</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Write a formatted XML element to a <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a></p>
+<div class="refsect3">
+<a name="raptor-xml-element-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>element</p></td>
+<td class="parameter_description"><p>XML element to format</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>Namespace stack context to use in formatting</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>is_empty</p></td>
+<td class="parameter_description"><p>non-0 if element is empty</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>is_end</p></td>
+<td class="parameter_description"><p>non-0 if this is an end element (else is a start element)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>depth</p></td>
+<td class="parameter_description"><p>XML element depth</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>iostream object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-xml-element-write.returns"></a><h4>Returns</h4>
+<p> non-0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-new-xml-writer"></a><h3>raptor_new_xml_writer ()</h3>
+<pre class="programlisting"><a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="returnvalue">raptor_xml_writer</span></a> *
+raptor_new_xml_writer (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml-namespace.html#raptor-namespace-stack" title="raptor_namespace_stack"><span class="type">raptor_namespace_stack</span></a> *nstack</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Constructor - Create a new XML Writer writing XML to a raptor_iostream</p>
+<div class="refsect3">
+<a name="raptor-new-xml-writer.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor_world object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>nstack</p></td>
+<td class="parameter_description"><p>Namespace stack for the writer to start with (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>I/O stream to write to</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-new-xml-writer.returns"></a><h4>Returns</h4>
+<p> a new <a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="type">raptor_xml_writer</span></a> object or NULL on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-free-xml-writer"></a><h3>raptor_free_xml_writer ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_free_xml_writer (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="type">raptor_xml_writer</span></a> *xml_writer</code></em>);</pre>
+<p>Destructor - Free XML Writer</p>
+<div class="refsect3">
+<a name="raptor-free-xml-writer.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>xml_writer</p></td>
+<td class="parameter_description"><p>XML writer object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-writer-empty-element"></a><h3>raptor_xml_writer_empty_element ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_xml_writer_empty_element (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="type">raptor_xml_writer</span></a> *xml_writer</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="type">raptor_xml_element</span></a> *element</code></em>);</pre>
+<p>Write an empty XML element to the XML writer.</p>
+<p>Closes any previous empty element if XML writer option AUTO_EMPTY
+is enabled.</p>
+<div class="refsect3">
+<a name="raptor-xml-writer-empty-element.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>xml_writer</p></td>
+<td class="parameter_description"><p>XML writer object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>element</p></td>
+<td class="parameter_description"><p>XML element object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-writer-start-element"></a><h3>raptor_xml_writer_start_element ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_xml_writer_start_element (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="type">raptor_xml_writer</span></a> *xml_writer</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="type">raptor_xml_element</span></a> *element</code></em>);</pre>
+<p>Write a start XML element to the XML writer.</p>
+<p>Closes any previous empty element if XML writer option AUTO_EMPTY
+is enabled.</p>
+<p>Indents the start element if XML writer option AUTO_INDENT is enabled.</p>
+<div class="refsect3">
+<a name="raptor-xml-writer-start-element.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>xml_writer</p></td>
+<td class="parameter_description"><p>XML writer object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>element</p></td>
+<td class="parameter_description"><p>XML element object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-writer-end-element"></a><h3>raptor_xml_writer_end_element ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_xml_writer_end_element (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="type">raptor_xml_writer</span></a> *xml_writer</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-element" title="raptor_xml_element"><span class="type">raptor_xml_element</span></a> *element</code></em>);</pre>
+<p>Write an end XML element to the XML writer.</p>
+<p>Indents the end element if XML writer option AUTO_INDENT is enabled.</p>
+<div class="refsect3">
+<a name="raptor-xml-writer-end-element.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>xml_writer</p></td>
+<td class="parameter_description"><p>XML writer object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>element</p></td>
+<td class="parameter_description"><p>XML element object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-writer-cdata"></a><h3>raptor_xml_writer_cdata ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_xml_writer_cdata (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="type">raptor_xml_writer</span></a> *xml_writer</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *s</code></em>);</pre>
+<p>Write CDATA XML-escaped to the XML writer.</p>
+<p>Closes any previous empty element if XML writer option AUTO_EMPTY
+is enabled.</p>
+<div class="refsect3">
+<a name="raptor-xml-writer-cdata.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>xml_writer</p></td>
+<td class="parameter_description"><p>XML writer object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>s</p></td>
+<td class="parameter_description"><p>string to XML escape and write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-writer-cdata-counted"></a><h3>raptor_xml_writer_cdata_counted ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_xml_writer_cdata_counted (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="type">raptor_xml_writer</span></a> *xml_writer</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *s</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">int</span> len</code></em>);</pre>
+<p>Write counted CDATA XML-escaped to the XML writer.</p>
+<p>Closes any previous empty element if XML writer option AUTO_EMPTY
+is enabled.</p>
+<div class="refsect3">
+<a name="raptor-xml-writer-cdata-counted.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>xml_writer</p></td>
+<td class="parameter_description"><p>XML writer object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>s</p></td>
+<td class="parameter_description"><p>string to XML escape and write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len</p></td>
+<td class="parameter_description"><p>length of string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-writer-raw"></a><h3>raptor_xml_writer_raw ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_xml_writer_raw (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="type">raptor_xml_writer</span></a> *xml_writer</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *s</code></em>);</pre>
+<p>Write a string raw to the XML writer.</p>
+<p>Closes any previous empty element if XML writer option AUTO_EMPTY
+is enabled.</p>
+<div class="refsect3">
+<a name="raptor-xml-writer-raw.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>xml_writer</p></td>
+<td class="parameter_description"><p>XML writer object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>s</p></td>
+<td class="parameter_description"><p>string to write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-writer-raw-counted"></a><h3>raptor_xml_writer_raw_counted ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_xml_writer_raw_counted (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="type">raptor_xml_writer</span></a> *xml_writer</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *s</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">int</span> len</code></em>);</pre>
+<p>Write a counted string raw to the XML writer.</p>
+<p>Closes any previous empty element if XML writer option AUTO_EMPTY
+is enabled.</p>
+<div class="refsect3">
+<a name="raptor-xml-writer-raw-counted.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>xml_writer</p></td>
+<td class="parameter_description"><p>XML writer object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>s</p></td>
+<td class="parameter_description"><p>string to write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len</p></td>
+<td class="parameter_description"><p>length of string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-writer-comment"></a><h3>raptor_xml_writer_comment ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_xml_writer_comment (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="type">raptor_xml_writer</span></a> *xml_writer</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *s</code></em>);</pre>
+<p>Write an XML comment to the XML writer.</p>
+<p>Closes any previous empty element if XML writer option AUTO_EMPTY
+is enabled.</p>
+<div class="refsect3">
+<a name="raptor-xml-writer-comment.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>xml_writer</p></td>
+<td class="parameter_description"><p>XML writer object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>s</p></td>
+<td class="parameter_description"><p>comment string to write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-writer-comment-counted"></a><h3>raptor_xml_writer_comment_counted ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_xml_writer_comment_counted (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="type">raptor_xml_writer</span></a> *xml_writer</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *s</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">int</span> len</code></em>);</pre>
+<p>Write a counted XML comment to the XML writer.</p>
+<p>Closes any previous empty element if XML writer option AUTO_EMPTY
+is enabled.</p>
+<div class="refsect3">
+<a name="raptor-xml-writer-comment-counted.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>xml_writer</p></td>
+<td class="parameter_description"><p>XML writer object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>s</p></td>
+<td class="parameter_description"><p>comment string to write</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len</p></td>
+<td class="parameter_description"><p>length of string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-writer-flush"></a><h3>raptor_xml_writer_flush ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_xml_writer_flush (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="type">raptor_xml_writer</span></a> *xml_writer</code></em>);</pre>
+<p>Finish the XML writer.</p>
+<div class="refsect3">
+<a name="raptor-xml-writer-flush.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>xml_writer</p></td>
+<td class="parameter_description"><p>XML writer object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-writer-newline"></a><h3>raptor_xml_writer_newline ()</h3>
+<pre class="programlisting"><span class="returnvalue">void</span>
+raptor_xml_writer_newline (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="type">raptor_xml_writer</span></a> *xml_writer</code></em>);</pre>
+<p>Write a newline to the XML writer.</p>
+<p>Indents the next line if XML writer option AUTO_INDENT is enabled.</p>
+<div class="refsect3">
+<a name="raptor-xml-writer-newline.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>xml_writer</p></td>
+<td class="parameter_description"><p>XML writer object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-writer-get-depth"></a><h3>raptor_xml_writer_get_depth ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_xml_writer_get_depth (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="type">raptor_xml_writer</span></a> *xml_writer</code></em>);</pre>
+<p>Get the current XML Writer element depth</p>
+<div class="refsect3">
+<a name="raptor-xml-writer-get-depth.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody><tr>
+<td class="parameter_name"><p>xml_writer</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="type">raptor_xml_writer</span></a> xml writer object</p></td>
+<td class="parameter_annotations"> </td>
+</tr></tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-xml-writer-get-depth.returns"></a><h4>Returns</h4>
+<p> element stack depth</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-writer-set-option"></a><h3>raptor_xml_writer_set_option ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_xml_writer_set_option (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="type">raptor_xml_writer</span></a> *xml_writer</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="type">raptor_option</span></a> option</code></em>,
+ <em class="parameter"><code><span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">int</span> integer</code></em>);</pre>
+<p>Set xml_writer option.</p>
+<p>If <em class="parameter"><code>string</code></em>
+ is not NULL and the option type is numeric, the string
+value is converted to an integer and used in preference to <em class="parameter"><code>integer</code></em>
+.</p>
+<p>If <em class="parameter"><code>string</code></em>
+ is NULL and the option type is not numeric, an error is
+returned.</p>
+<p>The <em class="parameter"><code>string</code></em>
+ values used are copied.</p>
+<p>The allowed options are available via
+<a class="link" href="raptor2-section-option.html#raptor-world-get-option-description" title="raptor_world_get_option_description ()"><code class="function">raptor_world_get_option_description()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-xml-writer-set-option.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>xml_writer</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="type">raptor_xml_writer</span></a> xml_writer object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>option</p></td>
+<td class="parameter_description"><p>option to set from enumerated <a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="type">raptor_option</span></a> values</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>string option value (or NULL)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>integer</p></td>
+<td class="parameter_description"><p>integer option value</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-xml-writer-set-option.returns"></a><h4>Returns</h4>
+<p> non 0 on failure or if the option is unknown</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-writer-get-option"></a><h3>raptor_xml_writer_get_option ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_xml_writer_get_option (<em class="parameter"><code><a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="type">raptor_xml_writer</span></a> *xml_writer</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="type">raptor_option</span></a> option</code></em>,
+ <em class="parameter"><code><span class="type">char</span> **string_p</code></em>,
+ <em class="parameter"><code><span class="type">int</span> *integer_p</code></em>);</pre>
+<p>Get xml_writer option.</p>
+<p>Any string value returned in *<em class="parameter"><code>string_p</code></em>
+ is shared and must
+be copied by the caller.</p>
+<p>The allowed options are available via
+<a class="link" href="raptor2-section-option.html#raptor-world-get-option-description" title="raptor_world_get_option_description ()"><code class="function">raptor_world_get_option_description()</code></a>.</p>
+<div class="refsect3">
+<a name="raptor-xml-writer-get-option.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>xml_writer</p></td>
+<td class="parameter_description"><p><a class="link" href="raptor2-section-xml.html#raptor-xml-writer" title="raptor_xml_writer"><span class="type">raptor_xml_writer</span></a> xml_writer object</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>option</p></td>
+<td class="parameter_description"><p>option to get value</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>string_p</p></td>
+<td class="parameter_description"><p>pointer to where to store string value</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>integer_p</p></td>
+<td class="parameter_description"><p>pointer to where to store integer value</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-xml-writer-get-option.returns"></a><h4>Returns</h4>
+<p> option value or &lt; 0 for an illegal option</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-escape-string-any"></a><h3>raptor_xml_escape_string_any ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_xml_escape_string_any (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> len</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">char</span> *buffer</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> length</code></em>,
+ <em class="parameter"><code><span class="type">char</span> quote</code></em>,
+ <em class="parameter"><code><span class="type">int</span> xml_version</code></em>);</pre>
+<p>Return an XML-escaped version a string.</p>
+<p>Follows</p>
+<a class="ulink" href="http://www.w3.org/TR/xml-c14n#ProcessingModel" target="_top">Canonical XML rules on Text Nodes and Attribute Nodes</a><p>Both:
+ Replaces <code class="literal">&amp;</code> and <code class="literal">&lt;</code>
+ with <code class="literal">&amp;amp;</code> and <code class="literal">&amp;lt;</code>
+respectively, preserving other characters.</p>
+<p>Text Nodes:
+ <code class="literal">&gt;</code> is turned into <code class="literal">&amp;gt;</code>
+ #<span class="type">xD</span> is turned into <code class="literal">&amp;#<span class="type">xD</span>;</code></p>
+<p>Attribute Nodes:
+ <code class="literal">&gt;</code> is generated not <code class="literal">&amp;gt</code>.
+ #<span class="type">x9</span>, #<span class="type">xA</span> and #<span class="type">xD</span> are turned into
+ <code class="literal">&amp;#<span class="type">x9</span>;</code>,
+ <code class="literal">&amp;#<span class="type">xA</span>;</code> and
+ <code class="literal">&amp;#<span class="type">xD</span>;</code>
+ entities.</p>
+<p>If <em class="parameter"><code>quote</code></em>
+ is given it can be either of '\'' or '\"'
+which will be turned into <code class="literal">&amp;apos;</code> or
+<code class="literal">&amp;quot;</code> respectively.
+ASCII NUL ('\0') or any other character will not be escaped.</p>
+<p>If <em class="parameter"><code>buffer</code></em>
+ is NULL, no work is done but the size of buffer
+required is returned. The output in buffer remains in UTF-8.</p>
+<p>If the input <em class="parameter"><code>string</code></em>
+ is empty, a single NUL will be written to the
+buffer.</p>
+<div class="refsect3">
+<a name="raptor-xml-escape-string-any.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>string to XML escape (UTF-8)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len</p></td>
+<td class="parameter_description"><p>length of string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>buffer</p></td>
+<td class="parameter_description"><p>the buffer to use for new string (UTF-8) or NULL to just calculate expected length</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>buffer size</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>quote</p></td>
+<td class="parameter_description"><p>optional quote character to escape for attribute content, or 0</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>xml_version</p></td>
+<td class="parameter_description"><p>XML 1.0 (10) or XML 1.1 (11)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-xml-escape-string-any.returns"></a><h4>Returns</h4>
+<p> the number of bytes required / used or &lt;0 on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-escape-string-any-write"></a><h3>raptor_xml_escape_string_any_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_xml_escape_string_any_write (<em class="parameter"><code>const <span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> len</code></em>,
+ <em class="parameter"><code><span class="type">char</span> quote</code></em>,
+ <em class="parameter"><code><span class="type">int</span> xml_version</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Write an XML-escaped version of a string to an iostream.</p>
+<p>See <a class="link" href="raptor2-section-xml.html#raptor-xml-escape-string" title="raptor_xml_escape_string ()"><code class="function">raptor_xml_escape_string()</code></a> for the escapes performed and
+the conditions on <em class="parameter"><code>quote</code></em>
+ and <em class="parameter"><code>string</code></em>
+. XML 1.1 allows additional
+characters in XML such as U+0001 to U+001F inclusive.</p>
+<div class="refsect3">
+<a name="raptor-xml-escape-string-any-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>string to XML escape (UTF-8)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len</p></td>
+<td class="parameter_description"><p>length of string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>quote</p></td>
+<td class="parameter_description"><p>optional quote character to escape for attribute content, or 0</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>xml_version</p></td>
+<td class="parameter_description"><p>XML version - 10 (XML 1.0) or 11 (XML 1.1)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>the <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> to write to</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-xml-escape-string-any-write.returns"></a><h4>Returns</h4>
+<p> non 0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-escape-string"></a><h3>raptor_xml_escape_string ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_xml_escape_string (<em class="parameter"><code><a class="link" href="raptor2-section-world.html#raptor-world" title="raptor_world"><span class="type">raptor_world</span></a> *world</code></em>,
+ <em class="parameter"><code>const <span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> len</code></em>,
+ <em class="parameter"><code>unsigned <span class="type">char</span> *buffer</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> length</code></em>,
+ <em class="parameter"><code><span class="type">char</span> quote</code></em>);</pre>
+<p>Return an XML 1.0-escaped version a string.</p>
+<p>See <a class="link" href="raptor2-section-xml.html#raptor-xml-escape-string-any" title="raptor_xml_escape_string_any ()"><code class="function">raptor_xml_escape_string_any()</code></a> for the conditions on parameters.</p>
+<div class="refsect3">
+<a name="raptor-xml-escape-string.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>world</p></td>
+<td class="parameter_description"><p>raptor world</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>string to XML 1.0 escape (UTF-8)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len</p></td>
+<td class="parameter_description"><p>length of string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>buffer</p></td>
+<td class="parameter_description"><p>the buffer to use for new string (UTF-8) or NULL to just calculate expected length.</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>buffer size</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>quote</p></td>
+<td class="parameter_description"><p>optional quote character to escape for attribute content, or 0</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-xml-escape-string.returns"></a><h4>Returns</h4>
+<p> the number of bytes required / used or &lt;0 on failure.</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-escape-string-write"></a><h3>raptor_xml_escape_string_write ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_xml_escape_string_write (<em class="parameter"><code>const <span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> len</code></em>,
+ <em class="parameter"><code><span class="type">char</span> quote</code></em>,
+ <em class="parameter"><code><a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> *iostr</code></em>);</pre>
+<p>Write an XML 1.0-escaped version of a string to an iostream.</p>
+<p>See <a class="link" href="raptor2-section-xml.html#raptor-xml-escape-string-any-write" title="raptor_xml_escape_string_any_write ()"><code class="function">raptor_xml_escape_string_any_write()</code></a> for the escapes
+performed and the conditions on <em class="parameter"><code>quote</code></em>
+ and <em class="parameter"><code>string</code></em>
+.</p>
+<div class="refsect3">
+<a name="raptor-xml-escape-string-write.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>string to XML 1.0 escape (UTF-8)</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>len</p></td>
+<td class="parameter_description"><p>length of string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>quote</p></td>
+<td class="parameter_description"><p>optional quote character to escape for attribute content, or 0</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>iostr</p></td>
+<td class="parameter_description"><p>the <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> to write to</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-xml-escape-string-write.returns"></a><h4>Returns</h4>
+<p> non 0 on failure</p>
+</div>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-name-check"></a><h3>raptor_xml_name_check ()</h3>
+<pre class="programlisting"><span class="returnvalue">int</span>
+raptor_xml_name_check (<em class="parameter"><code>const <span class="type">char</span> *string</code></em>,
+ <em class="parameter"><code><span class="type">size_t</span> length</code></em>,
+ <em class="parameter"><code><span class="type">int</span> xml_version</code></em>);</pre>
+<p>Check a string is a legal XML name (and legal UTF8).</p>
+<p>xml_version is either 10 (for XML 1.0) or 11 for (XML 1.1). Any
+other version fails.</p>
+<div class="refsect3">
+<a name="raptor-xml-name-check.parameters"></a><h4>Parameters</h4>
+<div class="informaltable"><table class="informaltable" width="100%" border="0">
+<colgroup>
+<col width="150px" class="parameters_name">
+<col class="parameters_description">
+<col width="200px" class="parameters_annotations">
+</colgroup>
+<tbody>
+<tr>
+<td class="parameter_name"><p>string</p></td>
+<td class="parameter_description"><p>UTF-8 name string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>length</p></td>
+<td class="parameter_description"><p>length of string</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+<tr>
+<td class="parameter_name"><p>xml_version</p></td>
+<td class="parameter_description"><p>XML version</p></td>
+<td class="parameter_annotations"> </td>
+</tr>
+</tbody>
+</table></div>
+</div>
+<div class="refsect3">
+<a name="raptor-xml-name-check.returns"></a><h4>Returns</h4>
+<p> Non 0 if the string is a legal XML name</p>
+</div>
+</div>
+</div>
+<div class="refsect1">
+<a name="raptor2-section-xml.other_details"></a><h2>Types and Values</h2>
+<div class="refsect2">
+<a name="raptor-xml-element"></a><h3>raptor_xml_element</h3>
+<pre class="programlisting">raptor_xml_element* raptor_xml_element;
+</pre>
+<p>Raptor XML Element class</p>
+</div>
+<hr>
+<div class="refsect2">
+<a name="raptor-xml-writer"></a><h3>raptor_xml_writer</h3>
+<pre class="programlisting">raptor_xml_writer* raptor_xml_writer;
+</pre>
+<p>Raptor XML Writer class</p>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/raptor2.devhelp2 b/docs/html/raptor2.devhelp2
new file mode 100644
index 0000000..69e2967
--- /dev/null
+++ b/docs/html/raptor2.devhelp2
@@ -0,0 +1,731 @@
+<?xml version="1.0" encoding="utf-8" standalone="no"?>
+<book xmlns="http://www.devhelp.net/book" title="Raptor RDF Syntax Library Manual" link="index.html" author="" name="raptor2" version="2" language="c">
+ <chapters>
+ <sub name="Raptor Overview" link="introduction.html"/>
+ <sub name="Raptor Tutorial" link="tutorial.html">
+ <sub name="Initialising and Finishing using the Library" link="tutorial-initialising-finishing.html"/>
+ <sub name="Listing built-in functionality" link="tutorial-querying-functionality.html"/>
+ <sub name="Parsing syntaxes to RDF Triples" link="tutorial-parsing.html">
+ <sub name="Introduction" link="tutorial-parsing.html#tutorial-parsing-intro"/>
+ <sub name="Create the Parser object" link="tutorial-parser-create.html"/>
+ <sub name="Parser options" link="tutorial-parser-features.html"/>
+ <sub name="Set RDF statement callback handler" link="tutorial-parser-set-triple-handler.html"/>
+ <sub name="Set parsing log message handlers" link="tutorial-parser-set-error-warning-handlers.html"/>
+ <sub name="Set the identifier creator handler" link="tutorial-parser-set-id-handler.html"/>
+ <sub name="Set namespace declared handler" link="tutorial-parser-set-namespace-handler.html"/>
+ <sub name="Set the parsing strictness" link="tutorial-parse-strictness.html"/>
+ <sub name="Provide syntax content to parse" link="tutorial-parser-content.html">
+ <sub name="Parse the content from a URI (raptor_parser_parse_uri())" link="tutorial-parser-content.html#parse-from-uri"/>
+ <sub name="Parse the content of a URI using an existing WWW connection (raptor_parser_parse_uri_with_connection())" link="tutorial-parser-content.html#parse-from-www"/>
+ <sub name="Parse the content of a C FILE* (raptor_parser_parse_file_stream())" link="tutorial-parser-content.html#parse-from-filehandle"/>
+ <sub name="Parse the content of a file URI (raptor_parser_parse_file())" link="tutorial-parser-content.html#parse-from-file-uri"/>
+ <sub name="Parse chunks of syntax content provided by the application (raptor_parser_parse_start() and raptor_parser_parse_chunk())" link="tutorial-parser-content.html#parse-from-chunks"/>
+ </sub>
+ <sub name="Restrict parser network access" link="restrict-parser-network-access.html">
+ <sub name="Filtering parser network requests with option RAPTOR_OPTION_NO_NET" link="restrict-parser-network-access.html#tutorial-filter-network-with-feature"/>
+ <sub name="Filtering parser network requests with raptor_www_set_uri_filter()" link="restrict-parser-network-access.html#tutorial-filter-network-www-uri-filter"/>
+ <sub name="Filtering parser network requests with raptor_parser_set_uri_filter()" link="restrict-parser-network-access.html#tutorial-filter-network-parser-uri-filter"/>
+ <sub name="Setting timeout for parser network requests with option RAPTOR_OPTION_WWW_TIMEOUT" link="restrict-parser-network-access.html#tutorial-filter-network-parser-timeout"/>
+ </sub>
+ <sub name="Querying parser static information" link="tutorial-parser-static-info.html"/>
+ <sub name="Querying parser run-time information" link="tutorial-parser-runtime-info.html"/>
+ <sub name="Aborting parsing" link="tutorial-parser-abort.html"/>
+ <sub name="Destroy the parser" link="tutorial-parser-destroy.html"/>
+ <sub name="Parsing example code" link="tutorial-parser-example.html"/>
+ </sub>
+ <sub name="Serializing RDF triples to a syntax" link="tutorial-serializing.html">
+ <sub name="Introduction" link="tutorial-serializing.html#tutorial-serializing-intro"/>
+ <sub name="Create the Serializer object" link="tutorial-serializer-create.html"/>
+ <sub name="Serializer options" link="tutorial-serializer-features.html"/>
+ <sub name="Declare namespaces" link="tutorial-serializer-declare-namespace.html"/>
+ <sub name="Set error and warning handlers" link="tutorial-serializer-set-error-warning-handlers.html"/>
+ <sub name="Provide a destination for the serialized syntax" link="tutorial-serializer-to-destination.html">
+ <sub name="Serialize to a filename (raptor_serializer_start_to_filename())" link="tutorial-serializer-to-destination.html#serialize-to-filename"/>
+ <sub name="Serialize to a string (raptor_serializer_start_to_string())" link="tutorial-serializer-to-destination.html#serialize-to-string"/>
+ <sub name="Serialize to a FILE* file handle (raptor_serializer_start_to_file_handle())" link="tutorial-serializer-to-destination.html#serialize-to-filehandle"/>
+ <sub name="Serialize to an raptor_iostream (raptor_serializer_start_to_iostream())" link="tutorial-serializer-to-destination.html#serialize-to-iostream"/>
+ </sub>
+ <sub name="Get or construct RDF Statements (Triples)" link="tutorial-serializer-get-triples.html"/>
+ <sub name="Send RDF Triples to serializer" link="tutorial-serializer-send-triples.html"/>
+ <sub name="Querying serializer run-time information" link="tutorial-serializer-runtime-info.html"/>
+ <sub name="Destroy the serializer" link="tutorial-serializer-destroy.html"/>
+ <sub name="Serializing example code" link="tutorial-serializer-example.html"/>
+ </sub>
+ </sub>
+ <sub name="Raptor Reference Manual" link="reference-manual.html">
+ <sub name="Parsers in Raptor (syntax to triples)" link="raptor-parsers.html">
+ <sub name="Introduction" link="raptor-parsers.html#raptor-parsers-intro"/>
+ <sub name="GRDDL parser (name grddl)" link="parser-grddl.html"/>
+ <sub name="Guess parser (name guess)" link="parser-guess.html"/>
+ <sub name="JSON parser (name json)" link="parser-json.html"/>
+ <sub name="N-Triples parser (name ntriples)" link="parser-ntriples.html"/>
+ <sub name="RDFa parser - (name rdfa)" link="parser-rdfa.html"/>
+ <sub name="RDF/XML parser - default (name rdfxml)" link="parser-rdfxml.html"/>
+ <sub name="RSS Tag Soup parser (name rss-tag-soup)" link="parser-rss-tag-soup.html"/>
+ <sub name="TRiG parser (name trig)" link="parser-trig.html"/>
+ <sub name="Turtle Terse RDF Triple Language parser (name turtle)" link="parser-turtle.html"/>
+ </sub>
+ <sub name="Serializers in Raptor (triples to syntax)" link="raptor-serializers.html">
+ <sub name="Introduction" link="raptor-serializers.html#raptor-serializers-intro"/>
+ <sub name="Atom 1.0 serializer (name atom)" link="serializer-atom.html"/>
+ <sub name="JSON serializers (name json and name json-triples)" link="serializer-json.html"/>
+ <sub name="mKR serializer - default (name mkr)" link="serializer-mkr.html"/>
+ <sub name="N-Quads serializer - default (name nquads)" link="serializer-nquads.html"/>
+ <sub name="N-Triples serializer - default (name ntriples)" link="serializer-ntriples.html"/>
+ <sub name="RDF/XML serializer (name rdfxml)" link="serializer-rdfxml.html"/>
+ <sub name="RDF/XML (Abbreviated) serializer (name rdfxml-abbrev)" link="serializer-rdfxml-abbrev.html"/>
+ <sub name="RDF/XML (XMP Profile) serializer (name rdfxml-xmp)" link="serializer-rdfxml-xmp.html"/>
+ <sub name="Turtle serializer (name turtle)" link="serializer-turtle.html"/>
+ <sub name="RSS 1.0 serializer (name rss-1.0)" link="serializer-rss-1-0.html"/>
+ <sub name="GraphViz dot serializer (name dot)" link="serializer-dot.html"/>
+ </sub>
+ <sub name="section-world" link="raptor2-section-world.html"/>
+ <sub name="section-general" link="raptor2-section-general.html"/>
+ <sub name="section-memory" link="raptor2-section-memory.html"/>
+ <sub name="section-avltree" link="raptor2-section-avltree.html"/>
+ <sub name="section-constants" link="raptor2-section-constants.html"/>
+ <sub name="section-option" link="raptor2-section-option.html"/>
+ <sub name="section-iostream" link="raptor2-section-iostream.html"/>
+ <sub name="section-locator" link="raptor2-section-locator.html"/>
+ <sub name="section-parser" link="raptor2-section-parser.html"/>
+ <sub name="section-sax2" link="raptor2-section-sax2.html"/>
+ <sub name="section-sequence" link="raptor2-section-sequence.html"/>
+ <sub name="section-serializer" link="raptor2-section-serializer.html"/>
+ <sub name="section-stringbuffer" link="raptor2-section-stringbuffer.html"/>
+ <sub name="section-triples" link="raptor2-section-triples.html"/>
+ <sub name="section-unicode" link="raptor2-section-unicode.html"/>
+ <sub name="section-uri" link="raptor2-section-uri.html"/>
+ <sub name="section-www" link="raptor2-section-www.html"/>
+ <sub name="section-xml-namespace" link="raptor2-section-xml-namespace.html"/>
+ <sub name="section-xml-qname" link="raptor2-section-xml-qname.html"/>
+ <sub name="section-xml" link="raptor2-section-xml.html"/>
+ <sub name="Syntax Formats supported in Raptor" link="raptor-formats.html">
+ <sub name="Introduction" link="raptor-formats.html#raptor-formats-intro"/>
+ <sub name="MIME Types by Parser" link="raptor-formats-types-by-parser.html"/>
+ <sub name="MIME Types by Serializer" link="raptor-formats-types-by-serializer.html"/>
+ <sub name="MIME Types Index" link="raptor-formats-types-index.html"/>
+ </sub>
+ <sub name="API Changes" link="raptor2-changes.html">
+ <sub name="Introduction" link="raptor2-changes.html#raptor2-changes-intro"/>
+ <sub name="Changes between raptor2 1.4.21 and 2.0.0" link="raptor2-changes-1-4-21-to-2-0-0.html">
+ <sub name="New functions, types, enums and constants" link="raptor2-changes-1-4-21-to-2-0-0.html#raptor2-changes-new-1-4-21-to-2-0-0"/>
+ <sub name="Deleted functions, types, enums and constants" link="raptor2-changes-1-4-21-to-2-0-0.html#raptor2-changes-deleted-1-4-21-to-2-0-0"/>
+ <sub name="Renamed functions, enums and constants" link="raptor2-changes-1-4-21-to-2-0-0.html#raptor2-changes-renamed-1-4-21-to-2-0-0"/>
+ <sub name="Changed functions and types" link="raptor2-changes-1-4-21-to-2-0-0.html#raptor2-changes-changed-1-4-21-to-2-0-0"/>
+ </sub>
+ <sub name="Changes between raptor2 2.0.3 and 2.0.4" link="raptor2-changes-2-0-3-to-2-0-4.html">
+ <sub name="New functions, types, enums and constants" link="raptor2-changes-2-0-3-to-2-0-4.html#raptor2-changes-new-2-0-3-to-2-0-4"/>
+ </sub>
+ <sub name="Changes between raptor2 2.0.4 and 2.0.5" link="raptor2-changes-2-0-4-to-2-0-5.html">
+ <sub name="New functions, types, enums and constants" link="raptor2-changes-2-0-4-to-2-0-5.html#raptor2-changes-new-2-0-4-to-2-0-5"/>
+ </sub>
+ <sub name="Changes between raptor2 2.0.5 and 2.0.6" link="raptor2-changes-2-0-5-to-2-0-6.html">
+ <sub name="New functions, types, enums and constants" link="raptor2-changes-2-0-5-to-2-0-6.html#raptor2-changes-new-2-0-5-to-2-0-6"/>
+ </sub>
+ <sub name="Changes between raptor2 2.0.6 and 2.0.7" link="raptor2-changes-2-0-6-to-2-0-7.html">
+ <sub name="New functions, types, enums and constants" link="raptor2-changes-2-0-6-to-2-0-7.html#raptor2-changes-new-2-0-6-to-2-0-7"/>
+ </sub>
+ <sub name="Changes between raptor2 2.0.7 and 2.0.8" link="raptor2-changes-2-0-7-to-2-0-8.html">
+ <sub name="New functions, types, enums and constants" link="raptor2-changes-2-0-7-to-2-0-8.html#raptor2-changes-new-2-0-7-to-2-0-8"/>
+ </sub>
+ <sub name="Changes between raptor2 2.0.9 and 2.0.10" link="raptor2-changes-2-0-9-to-2-0-10.html">
+ <sub name="New functions, types, enums and constants" link="raptor2-changes-2-0-9-to-2-0-10.html#raptor2-changes-new-2-0-9-to-2-0-10"/>
+ </sub>
+ <sub name="Changes between raptor2 2.0.10 and 2.0.11" link="raptor2-changes-2-0-10-to-2-0-11.html">
+ <sub name="New functions, types, enums and constants" link="raptor2-changes-2-0-10-to-2-0-11.html#raptor2-changes-new-2-0-10-to-2-0-11"/>
+ </sub>
+ <sub name="Changes between raptor2 2.0.11 and 2.0.12" link="raptor2-changes-2-0-11-to-2-0-12.html">
+ <sub name="New functions, types, enums and constants" link="raptor2-changes-2-0-11-to-2-0-12.html#raptor2-changes-new-2-0-11-to-2-0-12"/>
+ </sub>
+ <sub name="Changes between raptor2 2.0.13 and 2.0.14" link="raptor2-changes-2-0-13-to-2-0-14.html">
+ <sub name="New functions, types, enums and constants" link="raptor2-changes-2-0-13-to-2-0-14.html#raptor2-changes-new-2-0-13-to-2-0-14"/>
+ </sub>
+ <sub name="Changes between raptor2 2.0.14 and 2.0.15" link="raptor2-changes-2-0-14-to-2-0-15.html">
+ <sub name="New functions, types, enums and constants" link="raptor2-changes-2-0-14-to-2-0-15.html#raptor2-changes-new-2-0-14-to-2-0-15"/>
+ </sub>
+ <sub name="Changes between raptor2 2.0.15 and 2.0.16" link="raptor2-changes-2-0-15-to-2-0-16.html">
+ <sub name="New functions, types, enums and constants" link="raptor2-changes-2-0-15-to-2-0-16.html#raptor2-changes-new-2-0-15-to-2-0-16"/>
+ <sub name="Deleted functions, types, enums and constants" link="raptor2-changes-2-0-15-to-2-0-16.html#raptor2-changes-deleted-2-0-15-to-2-0-16"/>
+ </sub>
+ </sub>
+ </sub>
+ <sub name="Index" link="ix01.html"/>
+ </chapters>
+ <functions>
+ <keyword type="macro" name="raptor_new_world" link="raptor2-section-world.html#raptor-new-world"/>
+ <keyword type="function" name="raptor_world_open ()" link="raptor2-section-world.html#raptor-world-open"/>
+ <keyword type="function" name="raptor_free_world ()" link="raptor2-section-world.html#raptor-free-world"/>
+ <keyword type="function" name="raptor_world_set_flag ()" link="raptor2-section-world.html#raptor-world-set-flag"/>
+ <keyword type="function" name="raptor_world_set_libxslt_security_preferences ()" link="raptor2-section-world.html#raptor-world-set-libxslt-security-preferences"/>
+ <keyword type="function" name="raptor_world_set_log_handler ()" link="raptor2-section-world.html#raptor-world-set-log-handler"/>
+ <keyword type="function" name="raptor_world_get_parser_description ()" link="raptor2-section-world.html#raptor-world-get-parser-description"/>
+ <keyword type="function" name="raptor_world_is_parser_name ()" link="raptor2-section-world.html#raptor-world-is-parser-name"/>
+ <keyword type="function" name="raptor_world_guess_parser_name ()" link="raptor2-section-world.html#raptor-world-guess-parser-name"/>
+ <keyword type="function" name="raptor_world_get_serializer_description ()" link="raptor2-section-world.html#raptor-world-get-serializer-description"/>
+ <keyword type="function" name="raptor_world_is_serializer_name ()" link="raptor2-section-world.html#raptor-world-is-serializer-name"/>
+ <keyword type="function" name="raptor_world_generate_bnodeid ()" link="raptor2-section-world.html#raptor-world-generate-bnodeid"/>
+ <keyword type="function" name="raptor_world_set_generate_bnodeid_handler ()" link="raptor2-section-world.html#raptor-world-set-generate-bnodeid-handler"/>
+ <keyword type="function" name="raptor_world_set_generate_bnodeid_parameters ()" link="raptor2-section-world.html#raptor-world-set-generate-bnodeid-parameters"/>
+ <keyword type="function" name="raptor_world_get_parsers_count ()" link="raptor2-section-world.html#raptor-world-get-parsers-count"/>
+ <keyword type="function" name="raptor_world_get_serializers_count ()" link="raptor2-section-world.html#raptor-world-get-serializers-count"/>
+ <keyword type="typedef" name="raptor_world" link="raptor2-section-world.html#raptor-world"/>
+ <keyword type="enum" name="enum raptor_world_flag" link="raptor2-section-world.html#raptor-world-flag"/>
+ <keyword type="function" name="raptor_statement_handler ()" link="raptor2-section-general.html#raptor-statement-handler"/>
+ <keyword type="function" name="raptor_snprintf ()" link="raptor2-section-general.html#raptor-snprintf"/>
+ <keyword type="function" name="raptor_vasprintf ()" link="raptor2-section-general.html#raptor-vasprintf"/>
+ <keyword type="function" name="raptor_vsnprintf ()" link="raptor2-section-general.html#raptor-vsnprintf" deprecated=""/>
+ <keyword type="function" name="raptor_vsnprintf2 ()" link="raptor2-section-general.html#raptor-vsnprintf2"/>
+ <keyword type="function" name="raptor_sort_r ()" link="raptor2-section-general.html#raptor-sort-r"/>
+ <keyword type="function" name="raptor_log_handler ()" link="raptor2-section-general.html#raptor-log-handler"/>
+ <keyword type="function" name="raptor_log_level_get_label ()" link="raptor2-section-general.html#raptor-log-level-get-label"/>
+ <keyword type="function" name="raptor_domain_get_label ()" link="raptor2-section-general.html#raptor-domain-get-label"/>
+ <keyword type="function" name="raptor_data_compare_handler ()" link="raptor2-section-general.html#raptor-data-compare-handler"/>
+ <keyword type="function" name="raptor_data_compare_arg_handler ()" link="raptor2-section-general.html#raptor-data-compare-arg-handler"/>
+ <keyword type="function" name="raptor_data_context_free_handler ()" link="raptor2-section-general.html#raptor-data-context-free-handler"/>
+ <keyword type="function" name="raptor_data_context_print_handler ()" link="raptor2-section-general.html#raptor-data-context-print-handler"/>
+ <keyword type="function" name="raptor_data_free_handler ()" link="raptor2-section-general.html#raptor-data-free-handler"/>
+ <keyword type="function" name="raptor_data_malloc_handler ()" link="raptor2-section-general.html#raptor-data-malloc-handler"/>
+ <keyword type="function" name="raptor_data_print_handler ()" link="raptor2-section-general.html#raptor-data-print-handler"/>
+ <keyword type="function" name="raptor_generate_bnodeid_handler ()" link="raptor2-section-general.html#raptor-generate-bnodeid-handler"/>
+ <keyword type="function" name="raptor_syntax_description_validate ()" link="raptor2-section-general.html#raptor-syntax-description-validate"/>
+ <keyword type="macro" name="RAPTOR_VERSION" link="raptor2-section-general.html#RAPTOR-VERSION:CAPS"/>
+ <keyword type="macro" name="RAPTOR_VERSION_MAJOR" link="raptor2-section-general.html#RAPTOR-VERSION-MAJOR:CAPS"/>
+ <keyword type="macro" name="RAPTOR_VERSION_MINOR" link="raptor2-section-general.html#RAPTOR-VERSION-MINOR:CAPS"/>
+ <keyword type="macro" name="RAPTOR_VERSION_RELEASE" link="raptor2-section-general.html#RAPTOR-VERSION-RELEASE:CAPS"/>
+ <keyword type="macro" name="RAPTOR_VERSION_STRING" link="raptor2-section-general.html#RAPTOR-VERSION-STRING:CAPS"/>
+ <keyword type="variable" name="raptor_version_major" link="raptor2-section-general.html#raptor-version-major"/>
+ <keyword type="variable" name="raptor_version_minor" link="raptor2-section-general.html#raptor-version-minor"/>
+ <keyword type="variable" name="raptor_version_release" link="raptor2-section-general.html#raptor-version-release"/>
+ <keyword type="variable" name="raptor_version_decimal" link="raptor2-section-general.html#raptor-version-decimal"/>
+ <keyword type="variable" name="raptor_copyright_string" link="raptor2-section-general.html#raptor-copyright-string"/>
+ <keyword type="variable" name="raptor_home_url_string" link="raptor2-section-general.html#raptor-home-url-string"/>
+ <keyword type="variable" name="raptor_license_string" link="raptor2-section-general.html#raptor-license-string"/>
+ <keyword type="variable" name="raptor_short_copyright_string" link="raptor2-section-general.html#raptor-short-copyright-string"/>
+ <keyword type="variable" name="raptor_version_string" link="raptor2-section-general.html#raptor-version-string"/>
+ <keyword type="variable" name="raptor_owl_namespace_uri" link="raptor2-section-general.html#raptor-owl-namespace-uri"/>
+ <keyword type="variable" name="raptor_rdf_namespace_uri" link="raptor2-section-general.html#raptor-rdf-namespace-uri"/>
+ <keyword type="variable" name="raptor_rdf_schema_namespace_uri" link="raptor2-section-general.html#raptor-rdf-schema-namespace-uri"/>
+ <keyword type="variable" name="raptor_xml_literal_datatype_uri_string" link="raptor2-section-general.html#raptor-xml-literal-datatype-uri-string"/>
+ <keyword type="variable" name="raptor_xml_namespace_uri" link="raptor2-section-general.html#raptor-xml-namespace-uri"/>
+ <keyword type="variable" name="raptor_xmlschema_datatypes_namespace_uri" link="raptor2-section-general.html#raptor-xmlschema-datatypes-namespace-uri"/>
+ <keyword type="struct" name="raptor_log_message" link="raptor2-section-general.html#raptor-log-message"/>
+ <keyword type="enum" name="enum raptor_log_level" link="raptor2-section-general.html#raptor-log-level"/>
+ <keyword type="enum" name="enum raptor_domain" link="raptor2-section-general.html#raptor-domain"/>
+ <keyword type="enum" name="enum raptor_syntax_bitflags" link="raptor2-section-general.html#raptor-syntax-bitflags"/>
+ <keyword type="struct" name="raptor_syntax_description" link="raptor2-section-general.html#raptor-syntax-description"/>
+ <keyword type="struct" name="raptor_type_q" link="raptor2-section-general.html#raptor-type-q"/>
+ <keyword type="function" name="raptor_free_memory ()" link="raptor2-section-memory.html#raptor-free-memory"/>
+ <keyword type="function" name="raptor_alloc_memory ()" link="raptor2-section-memory.html#raptor-alloc-memory"/>
+ <keyword type="function" name="raptor_calloc_memory ()" link="raptor2-section-memory.html#raptor-calloc-memory"/>
+ <keyword type="function" name="raptor_new_avltree ()" link="raptor2-section-avltree.html#raptor-new-avltree"/>
+ <keyword type="function" name="raptor_free_avltree ()" link="raptor2-section-avltree.html#raptor-free-avltree"/>
+ <keyword type="function" name="raptor_avltree_add ()" link="raptor2-section-avltree.html#raptor-avltree-add"/>
+ <keyword type="function" name="raptor_avltree_delete ()" link="raptor2-section-avltree.html#raptor-avltree-delete"/>
+ <keyword type="function" name="raptor_avltree_print ()" link="raptor2-section-avltree.html#raptor-avltree-print"/>
+ <keyword type="function" name="raptor_avltree_remove ()" link="raptor2-section-avltree.html#raptor-avltree-remove"/>
+ <keyword type="function" name="raptor_avltree_search ()" link="raptor2-section-avltree.html#raptor-avltree-search"/>
+ <keyword type="function" name="raptor_avltree_set_print_handler ()" link="raptor2-section-avltree.html#raptor-avltree-set-print-handler"/>
+ <keyword type="function" name="raptor_avltree_size ()" link="raptor2-section-avltree.html#raptor-avltree-size"/>
+ <keyword type="function" name="raptor_avltree_trim ()" link="raptor2-section-avltree.html#raptor-avltree-trim"/>
+ <keyword type="function" name="raptor_avltree_visit ()" link="raptor2-section-avltree.html#raptor-avltree-visit"/>
+ <keyword type="function" name="raptor_new_avltree_iterator ()" link="raptor2-section-avltree.html#raptor-new-avltree-iterator"/>
+ <keyword type="function" name="raptor_free_avltree_iterator ()" link="raptor2-section-avltree.html#raptor-free-avltree-iterator"/>
+ <keyword type="function" name="raptor_avltree_iterator_get ()" link="raptor2-section-avltree.html#raptor-avltree-iterator-get"/>
+ <keyword type="function" name="raptor_avltree_iterator_is_end ()" link="raptor2-section-avltree.html#raptor-avltree-iterator-is-end"/>
+ <keyword type="function" name="raptor_avltree_iterator_next ()" link="raptor2-section-avltree.html#raptor-avltree-iterator-next"/>
+ <keyword type="function" name="raptor_avltree_visit_handler ()" link="raptor2-section-avltree.html#raptor-avltree-visit-handler"/>
+ <keyword type="typedef" name="raptor_avltree" link="raptor2-section-avltree.html#raptor-avltree"/>
+ <keyword type="enum" name="enum raptor_avltree_bitflags" link="raptor2-section-avltree.html#raptor-avltree-bitflags"/>
+ <keyword type="typedef" name="raptor_avltree_iterator" link="raptor2-section-avltree.html#raptor-avltree-iterator"/>
+ <keyword type="variable" name="raptor_rdf_namespace_uri_len" link="raptor2-section-constants.html#raptor-rdf-namespace-uri-len"/>
+ <keyword type="variable" name="raptor_rdf_schema_namespace_uri_len" link="raptor2-section-constants.html#raptor-rdf-schema-namespace-uri-len"/>
+ <keyword type="variable" name="raptor_xml_literal_datatype_uri_string_len" link="raptor2-section-constants.html#raptor-xml-literal-datatype-uri-string-len"/>
+ <keyword type="macro" name="RAPTOR_RDF_MS_URI" link="raptor2-section-constants.html#RAPTOR-RDF-MS-URI:CAPS"/>
+ <keyword type="macro" name="RAPTOR_RDF_SCHEMA_URI" link="raptor2-section-constants.html#RAPTOR-RDF-SCHEMA-URI:CAPS"/>
+ <keyword type="macro" name="RAPTOR_XMLSCHEMA_DATATYPES_URI" link="raptor2-section-constants.html#RAPTOR-XMLSCHEMA-DATATYPES-URI:CAPS"/>
+ <keyword type="macro" name="RAPTOR_OWL_URI" link="raptor2-section-constants.html#RAPTOR-OWL-URI:CAPS"/>
+ <keyword type="function" name="raptor_option_get_count ()" link="raptor2-section-option.html#raptor-option-get-count"/>
+ <keyword type="function" name="raptor_option_get_value_type_label ()" link="raptor2-section-option.html#raptor-option-get-value-type-label"/>
+ <keyword type="function" name="raptor_world_get_option_description ()" link="raptor2-section-option.html#raptor-world-get-option-description"/>
+ <keyword type="function" name="raptor_free_option_description ()" link="raptor2-section-option.html#raptor-free-option-description"/>
+ <keyword type="function" name="raptor_world_get_option_from_uri ()" link="raptor2-section-option.html#raptor-world-get-option-from-uri"/>
+ <keyword type="enum" name="enum raptor_option" link="raptor2-section-option.html#raptor-option"/>
+ <keyword type="struct" name="raptor_option_description" link="raptor2-section-option.html#raptor-option-description"/>
+ <keyword type="enum" name="enum raptor_option_value_type" link="raptor2-section-option.html#raptor-option-value-type"/>
+ <keyword type="function" name="raptor_iostream_init_func ()" link="raptor2-section-iostream.html#raptor-iostream-init-func"/>
+ <keyword type="function" name="raptor_iostream_finish_func ()" link="raptor2-section-iostream.html#raptor-iostream-finish-func"/>
+ <keyword type="function" name="raptor_iostream_write_byte_func ()" link="raptor2-section-iostream.html#raptor-iostream-write-byte-func"/>
+ <keyword type="function" name="raptor_iostream_write_bytes_func ()" link="raptor2-section-iostream.html#raptor-iostream-write-bytes-func"/>
+ <keyword type="function" name="raptor_iostream_write_end_func ()" link="raptor2-section-iostream.html#raptor-iostream-write-end-func"/>
+ <keyword type="function" name="raptor_iostream_read_bytes_func ()" link="raptor2-section-iostream.html#raptor-iostream-read-bytes-func"/>
+ <keyword type="function" name="raptor_iostream_read_eof_func ()" link="raptor2-section-iostream.html#raptor-iostream-read-eof-func"/>
+ <keyword type="function" name="raptor_new_iostream_from_handler ()" link="raptor2-section-iostream.html#raptor-new-iostream-from-handler"/>
+ <keyword type="function" name="raptor_new_iostream_from_sink ()" link="raptor2-section-iostream.html#raptor-new-iostream-from-sink"/>
+ <keyword type="function" name="raptor_new_iostream_from_filename ()" link="raptor2-section-iostream.html#raptor-new-iostream-from-filename"/>
+ <keyword type="function" name="raptor_new_iostream_from_file_handle ()" link="raptor2-section-iostream.html#raptor-new-iostream-from-file-handle"/>
+ <keyword type="function" name="raptor_new_iostream_from_string ()" link="raptor2-section-iostream.html#raptor-new-iostream-from-string"/>
+ <keyword type="function" name="raptor_new_iostream_to_sink ()" link="raptor2-section-iostream.html#raptor-new-iostream-to-sink"/>
+ <keyword type="function" name="raptor_new_iostream_to_filename ()" link="raptor2-section-iostream.html#raptor-new-iostream-to-filename"/>
+ <keyword type="function" name="raptor_new_iostream_to_file_handle ()" link="raptor2-section-iostream.html#raptor-new-iostream-to-file-handle"/>
+ <keyword type="function" name="raptor_new_iostream_to_string ()" link="raptor2-section-iostream.html#raptor-new-iostream-to-string"/>
+ <keyword type="function" name="raptor_free_iostream ()" link="raptor2-section-iostream.html#raptor-free-iostream"/>
+ <keyword type="function" name="raptor_iostream_hexadecimal_write ()" link="raptor2-section-iostream.html#raptor-iostream-hexadecimal-write"/>
+ <keyword type="function" name="raptor_iostream_read_bytes ()" link="raptor2-section-iostream.html#raptor-iostream-read-bytes"/>
+ <keyword type="function" name="raptor_iostream_read_eof ()" link="raptor2-section-iostream.html#raptor-iostream-read-eof"/>
+ <keyword type="function" name="raptor_iostream_tell ()" link="raptor2-section-iostream.html#raptor-iostream-tell"/>
+ <keyword type="function" name="raptor_iostream_counted_string_write ()" link="raptor2-section-iostream.html#raptor-iostream-counted-string-write"/>
+ <keyword type="function" name="raptor_iostream_decimal_write ()" link="raptor2-section-iostream.html#raptor-iostream-decimal-write"/>
+ <keyword type="function" name="raptor_iostream_string_write ()" link="raptor2-section-iostream.html#raptor-iostream-string-write"/>
+ <keyword type="function" name="raptor_iostream_write_byte ()" link="raptor2-section-iostream.html#raptor-iostream-write-byte"/>
+ <keyword type="function" name="raptor_iostream_write_bytes ()" link="raptor2-section-iostream.html#raptor-iostream-write-bytes"/>
+ <keyword type="function" name="raptor_iostream_write_end ()" link="raptor2-section-iostream.html#raptor-iostream-write-end"/>
+ <keyword type="function" name="raptor_bnodeid_ntriples_write ()" link="raptor2-section-iostream.html#raptor-bnodeid-ntriples-write"/>
+ <keyword type="function" name="raptor_string_escaped_write ()" link="raptor2-section-iostream.html#raptor-string-escaped-write"/>
+ <keyword type="function" name="raptor_term_escaped_write ()" link="raptor2-section-iostream.html#raptor-term-escaped-write"/>
+ <keyword type="function" name="raptor_uri_escaped_write ()" link="raptor2-section-iostream.html#raptor-uri-escaped-write"/>
+ <keyword type="function" name="raptor_string_ntriples_write ()" link="raptor2-section-iostream.html#raptor-string-ntriples-write"/>
+ <keyword type="function" name="raptor_string_python_write ()" link="raptor2-section-iostream.html#raptor-string-python-write" deprecated=""/>
+ <keyword type="typedef" name="raptor_iostream" link="raptor2-section-iostream.html#raptor-iostream"/>
+ <keyword type="struct" name="raptor_iostream_handler" link="raptor2-section-iostream.html#raptor-iostream-handler"/>
+ <keyword type="enum" name="enum raptor_escaped_write_bitflags" link="raptor2-section-iostream.html#raptor-escaped-write-bitflags"/>
+ <keyword type="function" name="raptor_locator_print ()" link="raptor2-section-locator.html#raptor-locator-print"/>
+ <keyword type="function" name="raptor_locator_format ()" link="raptor2-section-locator.html#raptor-locator-format"/>
+ <keyword type="function" name="raptor_locator_line ()" link="raptor2-section-locator.html#raptor-locator-line"/>
+ <keyword type="function" name="raptor_locator_column ()" link="raptor2-section-locator.html#raptor-locator-column"/>
+ <keyword type="function" name="raptor_locator_byte ()" link="raptor2-section-locator.html#raptor-locator-byte"/>
+ <keyword type="function" name="raptor_locator_file ()" link="raptor2-section-locator.html#raptor-locator-file"/>
+ <keyword type="function" name="raptor_locator_uri ()" link="raptor2-section-locator.html#raptor-locator-uri"/>
+ <keyword type="struct" name="raptor_locator" link="raptor2-section-locator.html#raptor-locator"/>
+ <keyword type="function" name="raptor_new_parser ()" link="raptor2-section-parser.html#raptor-new-parser"/>
+ <keyword type="function" name="raptor_new_parser_for_content ()" link="raptor2-section-parser.html#raptor-new-parser-for-content"/>
+ <keyword type="function" name="raptor_free_parser ()" link="raptor2-section-parser.html#raptor-free-parser"/>
+ <keyword type="function" name="raptor_graph_mark_handler ()" link="raptor2-section-parser.html#raptor-graph-mark-handler"/>
+ <keyword type="function" name="raptor_namespace_handler ()" link="raptor2-section-parser.html#raptor-namespace-handler"/>
+ <keyword type="function" name="raptor_parser_set_statement_handler ()" link="raptor2-section-parser.html#raptor-parser-set-statement-handler"/>
+ <keyword type="function" name="raptor_parser_set_graph_mark_handler ()" link="raptor2-section-parser.html#raptor-parser-set-graph-mark-handler"/>
+ <keyword type="function" name="raptor_parser_set_namespace_handler ()" link="raptor2-section-parser.html#raptor-parser-set-namespace-handler"/>
+ <keyword type="function" name="raptor_parser_get_description ()" link="raptor2-section-parser.html#raptor-parser-get-description"/>
+ <keyword type="function" name="raptor_parser_get_locator ()" link="raptor2-section-parser.html#raptor-parser-get-locator"/>
+ <keyword type="function" name="raptor_parser_parse_abort ()" link="raptor2-section-parser.html#raptor-parser-parse-abort"/>
+ <keyword type="function" name="raptor_parser_parse_chunk ()" link="raptor2-section-parser.html#raptor-parser-parse-chunk"/>
+ <keyword type="function" name="raptor_parser_parse_file ()" link="raptor2-section-parser.html#raptor-parser-parse-file"/>
+ <keyword type="function" name="raptor_parser_parse_file_stream ()" link="raptor2-section-parser.html#raptor-parser-parse-file-stream"/>
+ <keyword type="function" name="raptor_parser_parse_iostream ()" link="raptor2-section-parser.html#raptor-parser-parse-iostream"/>
+ <keyword type="function" name="raptor_parser_parse_start ()" link="raptor2-section-parser.html#raptor-parser-parse-start"/>
+ <keyword type="function" name="raptor_parser_parse_uri ()" link="raptor2-section-parser.html#raptor-parser-parse-uri"/>
+ <keyword type="function" name="raptor_parser_parse_uri_with_connection ()" link="raptor2-section-parser.html#raptor-parser-parse-uri-with-connection"/>
+ <keyword type="function" name="raptor_parser_get_graph ()" link="raptor2-section-parser.html#raptor-parser-get-graph"/>
+ <keyword type="function" name="raptor_parser_get_name ()" link="raptor2-section-parser.html#raptor-parser-get-name"/>
+ <keyword type="function" name="raptor_parser_set_option ()" link="raptor2-section-parser.html#raptor-parser-set-option"/>
+ <keyword type="function" name="raptor_parser_get_option ()" link="raptor2-section-parser.html#raptor-parser-get-option"/>
+ <keyword type="function" name="raptor_parser_get_accept_header ()" link="raptor2-section-parser.html#raptor-parser-get-accept-header"/>
+ <keyword type="function" name="raptor_parser_set_uri_filter ()" link="raptor2-section-parser.html#raptor-parser-set-uri-filter"/>
+ <keyword type="function" name="raptor_parser_get_world ()" link="raptor2-section-parser.html#raptor-parser-get-world"/>
+ <keyword type="typedef" name="raptor_parser" link="raptor2-section-parser.html#raptor-parser"/>
+ <keyword type="enum" name="enum raptor_graph_mark_flags" link="raptor2-section-parser.html#raptor-graph-mark-flags"/>
+ <keyword type="function" name="raptor_new_sax2 ()" link="raptor2-section-sax2.html#raptor-new-sax2"/>
+ <keyword type="function" name="raptor_free_sax2 ()" link="raptor2-section-sax2.html#raptor-free-sax2"/>
+ <keyword type="function" name="raptor_sax2_start_element_handler ()" link="raptor2-section-sax2.html#raptor-sax2-start-element-handler"/>
+ <keyword type="function" name="raptor_sax2_end_element_handler ()" link="raptor2-section-sax2.html#raptor-sax2-end-element-handler"/>
+ <keyword type="function" name="raptor_sax2_characters_handler ()" link="raptor2-section-sax2.html#raptor-sax2-characters-handler"/>
+ <keyword type="function" name="raptor_sax2_cdata_handler ()" link="raptor2-section-sax2.html#raptor-sax2-cdata-handler"/>
+ <keyword type="function" name="raptor_sax2_comment_handler ()" link="raptor2-section-sax2.html#raptor-sax2-comment-handler"/>
+ <keyword type="function" name="raptor_sax2_unparsed_entity_decl_handler ()" link="raptor2-section-sax2.html#raptor-sax2-unparsed-entity-decl-handler"/>
+ <keyword type="function" name="raptor_sax2_external_entity_ref_handler ()" link="raptor2-section-sax2.html#raptor-sax2-external-entity-ref-handler"/>
+ <keyword type="function" name="raptor_sax2_set_start_element_handler ()" link="raptor2-section-sax2.html#raptor-sax2-set-start-element-handler"/>
+ <keyword type="function" name="raptor_sax2_set_end_element_handler ()" link="raptor2-section-sax2.html#raptor-sax2-set-end-element-handler"/>
+ <keyword type="function" name="raptor_sax2_set_characters_handler ()" link="raptor2-section-sax2.html#raptor-sax2-set-characters-handler"/>
+ <keyword type="function" name="raptor_sax2_set_cdata_handler ()" link="raptor2-section-sax2.html#raptor-sax2-set-cdata-handler"/>
+ <keyword type="function" name="raptor_sax2_set_comment_handler ()" link="raptor2-section-sax2.html#raptor-sax2-set-comment-handler"/>
+ <keyword type="function" name="raptor_sax2_set_unparsed_entity_decl_handler ()" link="raptor2-section-sax2.html#raptor-sax2-set-unparsed-entity-decl-handler"/>
+ <keyword type="function" name="raptor_sax2_set_external_entity_ref_handler ()" link="raptor2-section-sax2.html#raptor-sax2-set-external-entity-ref-handler"/>
+ <keyword type="function" name="raptor_sax2_set_namespace_handler ()" link="raptor2-section-sax2.html#raptor-sax2-set-namespace-handler"/>
+ <keyword type="function" name="raptor_sax2_set_uri_filter ()" link="raptor2-section-sax2.html#raptor-sax2-set-uri-filter"/>
+ <keyword type="function" name="raptor_sax2_parse_start ()" link="raptor2-section-sax2.html#raptor-sax2-parse-start"/>
+ <keyword type="function" name="raptor_sax2_parse_chunk ()" link="raptor2-section-sax2.html#raptor-sax2-parse-chunk"/>
+ <keyword type="function" name="raptor_sax2_inscope_xml_language ()" link="raptor2-section-sax2.html#raptor-sax2-inscope-xml-language"/>
+ <keyword type="function" name="raptor_sax2_inscope_base_uri ()" link="raptor2-section-sax2.html#raptor-sax2-inscope-base-uri"/>
+ <keyword type="typedef" name="raptor_sax2" link="raptor2-section-sax2.html#raptor-sax2"/>
+ <keyword type="function" name="raptor_new_sequence ()" link="raptor2-section-sequence.html#raptor-new-sequence"/>
+ <keyword type="function" name="raptor_new_sequence_with_context ()" link="raptor2-section-sequence.html#raptor-new-sequence-with-context"/>
+ <keyword type="function" name="raptor_free_sequence ()" link="raptor2-section-sequence.html#raptor-free-sequence"/>
+ <keyword type="function" name="raptor_sequence_delete_at ()" link="raptor2-section-sequence.html#raptor-sequence-delete-at"/>
+ <keyword type="function" name="raptor_sequence_get_at ()" link="raptor2-section-sequence.html#raptor-sequence-get-at"/>
+ <keyword type="function" name="raptor_sequence_join ()" link="raptor2-section-sequence.html#raptor-sequence-join"/>
+ <keyword type="function" name="raptor_sequence_next_permutation ()" link="raptor2-section-sequence.html#raptor-sequence-next-permutation"/>
+ <keyword type="function" name="raptor_sequence_pop ()" link="raptor2-section-sequence.html#raptor-sequence-pop"/>
+ <keyword type="function" name="raptor_sequence_print ()" link="raptor2-section-sequence.html#raptor-sequence-print"/>
+ <keyword type="function" name="raptor_sequence_push ()" link="raptor2-section-sequence.html#raptor-sequence-push"/>
+ <keyword type="function" name="raptor_sequence_reverse ()" link="raptor2-section-sequence.html#raptor-sequence-reverse"/>
+ <keyword type="function" name="raptor_sequence_set_at ()" link="raptor2-section-sequence.html#raptor-sequence-set-at"/>
+ <keyword type="function" name="raptor_sequence_shift ()" link="raptor2-section-sequence.html#raptor-sequence-shift"/>
+ <keyword type="function" name="raptor_sequence_size ()" link="raptor2-section-sequence.html#raptor-sequence-size"/>
+ <keyword type="function" name="raptor_sequence_sort ()" link="raptor2-section-sequence.html#raptor-sequence-sort"/>
+ <keyword type="function" name="raptor_sequence_sort_r ()" link="raptor2-section-sequence.html#raptor-sequence-sort-r"/>
+ <keyword type="function" name="raptor_sequence_swap ()" link="raptor2-section-sequence.html#raptor-sequence-swap"/>
+ <keyword type="function" name="raptor_sequence_unshift ()" link="raptor2-section-sequence.html#raptor-sequence-unshift"/>
+ <keyword type="typedef" name="raptor_sequence" link="raptor2-section-sequence.html#raptor-sequence"/>
+ <keyword type="function" name="raptor_new_serializer ()" link="raptor2-section-serializer.html#raptor-new-serializer"/>
+ <keyword type="function" name="raptor_free_serializer ()" link="raptor2-section-serializer.html#raptor-free-serializer"/>
+ <keyword type="function" name="raptor_serializer_start_to_iostream ()" link="raptor2-section-serializer.html#raptor-serializer-start-to-iostream"/>
+ <keyword type="function" name="raptor_serializer_start_to_filename ()" link="raptor2-section-serializer.html#raptor-serializer-start-to-filename"/>
+ <keyword type="function" name="raptor_serializer_start_to_string ()" link="raptor2-section-serializer.html#raptor-serializer-start-to-string"/>
+ <keyword type="function" name="raptor_serializer_start_to_file_handle ()" link="raptor2-section-serializer.html#raptor-serializer-start-to-file-handle"/>
+ <keyword type="function" name="raptor_serializer_set_namespace ()" link="raptor2-section-serializer.html#raptor-serializer-set-namespace"/>
+ <keyword type="function" name="raptor_serializer_set_namespace_from_namespace ()" link="raptor2-section-serializer.html#raptor-serializer-set-namespace-from-namespace"/>
+ <keyword type="function" name="raptor_serializer_serialize_statement ()" link="raptor2-section-serializer.html#raptor-serializer-serialize-statement"/>
+ <keyword type="function" name="raptor_serializer_serialize_end ()" link="raptor2-section-serializer.html#raptor-serializer-serialize-end"/>
+ <keyword type="function" name="raptor_serializer_flush ()" link="raptor2-section-serializer.html#raptor-serializer-flush"/>
+ <keyword type="function" name="raptor_serializer_get_description ()" link="raptor2-section-serializer.html#raptor-serializer-get-description"/>
+ <keyword type="function" name="raptor_serializer_get_iostream ()" link="raptor2-section-serializer.html#raptor-serializer-get-iostream"/>
+ <keyword type="function" name="raptor_serializer_get_locator ()" link="raptor2-section-serializer.html#raptor-serializer-get-locator"/>
+ <keyword type="function" name="raptor_serializer_set_option ()" link="raptor2-section-serializer.html#raptor-serializer-set-option"/>
+ <keyword type="function" name="raptor_serializer_get_option ()" link="raptor2-section-serializer.html#raptor-serializer-get-option"/>
+ <keyword type="function" name="raptor_serializer_get_world ()" link="raptor2-section-serializer.html#raptor-serializer-get-world"/>
+ <keyword type="typedef" name="raptor_serializer" link="raptor2-section-serializer.html#raptor-serializer"/>
+ <keyword type="function" name="raptor_new_stringbuffer ()" link="raptor2-section-stringbuffer.html#raptor-new-stringbuffer"/>
+ <keyword type="function" name="raptor_free_stringbuffer ()" link="raptor2-section-stringbuffer.html#raptor-free-stringbuffer"/>
+ <keyword type="function" name="raptor_stringbuffer_append_counted_string ()" link="raptor2-section-stringbuffer.html#raptor-stringbuffer-append-counted-string"/>
+ <keyword type="function" name="raptor_stringbuffer_append_decimal ()" link="raptor2-section-stringbuffer.html#raptor-stringbuffer-append-decimal"/>
+ <keyword type="function" name="raptor_stringbuffer_append_hexadecimal ()" link="raptor2-section-stringbuffer.html#raptor-stringbuffer-append-hexadecimal"/>
+ <keyword type="function" name="raptor_stringbuffer_append_string ()" link="raptor2-section-stringbuffer.html#raptor-stringbuffer-append-string"/>
+ <keyword type="function" name="raptor_stringbuffer_append_stringbuffer ()" link="raptor2-section-stringbuffer.html#raptor-stringbuffer-append-stringbuffer"/>
+ <keyword type="function" name="raptor_stringbuffer_append_uri_escaped_counted_string ()" link="raptor2-section-stringbuffer.html#raptor-stringbuffer-append-uri-escaped-counted-string"/>
+ <keyword type="function" name="raptor_stringbuffer_prepend_counted_string ()" link="raptor2-section-stringbuffer.html#raptor-stringbuffer-prepend-counted-string"/>
+ <keyword type="function" name="raptor_stringbuffer_prepend_string ()" link="raptor2-section-stringbuffer.html#raptor-stringbuffer-prepend-string"/>
+ <keyword type="function" name="raptor_stringbuffer_as_string ()" link="raptor2-section-stringbuffer.html#raptor-stringbuffer-as-string"/>
+ <keyword type="function" name="raptor_stringbuffer_length ()" link="raptor2-section-stringbuffer.html#raptor-stringbuffer-length"/>
+ <keyword type="function" name="raptor_stringbuffer_copy_to_string ()" link="raptor2-section-stringbuffer.html#raptor-stringbuffer-copy-to-string"/>
+ <keyword type="function" name="raptor_stringbuffer_write ()" link="raptor2-section-stringbuffer.html#raptor-stringbuffer-write"/>
+ <keyword type="typedef" name="raptor_stringbuffer" link="raptor2-section-stringbuffer.html#raptor-stringbuffer"/>
+ <keyword type="function" name="raptor_new_term_from_blank ()" link="raptor2-section-triples.html#raptor-new-term-from-blank"/>
+ <keyword type="function" name="raptor_new_term_from_counted_blank ()" link="raptor2-section-triples.html#raptor-new-term-from-counted-blank"/>
+ <keyword type="function" name="raptor_new_term_from_literal ()" link="raptor2-section-triples.html#raptor-new-term-from-literal"/>
+ <keyword type="function" name="raptor_new_term_from_counted_literal ()" link="raptor2-section-triples.html#raptor-new-term-from-counted-literal"/>
+ <keyword type="function" name="raptor_new_term_from_counted_uri_string ()" link="raptor2-section-triples.html#raptor-new-term-from-counted-uri-string"/>
+ <keyword type="function" name="raptor_new_term_from_uri ()" link="raptor2-section-triples.html#raptor-new-term-from-uri"/>
+ <keyword type="function" name="raptor_new_term_from_uri_string ()" link="raptor2-section-triples.html#raptor-new-term-from-uri-string"/>
+ <keyword type="function" name="raptor_new_term_from_counted_string ()" link="raptor2-section-triples.html#raptor-new-term-from-counted-string"/>
+ <keyword type="function" name="raptor_term_copy ()" link="raptor2-section-triples.html#raptor-term-copy"/>
+ <keyword type="function" name="raptor_term_compare ()" link="raptor2-section-triples.html#raptor-term-compare"/>
+ <keyword type="function" name="raptor_term_equals ()" link="raptor2-section-triples.html#raptor-term-equals"/>
+ <keyword type="function" name="raptor_free_term ()" link="raptor2-section-triples.html#raptor-free-term"/>
+ <keyword type="function" name="raptor_term_to_counted_string ()" link="raptor2-section-triples.html#raptor-term-to-counted-string"/>
+ <keyword type="function" name="raptor_term_to_string ()" link="raptor2-section-triples.html#raptor-term-to-string"/>
+ <keyword type="function" name="raptor_term_ntriples_write ()" link="raptor2-section-triples.html#raptor-term-ntriples-write" deprecated=""/>
+ <keyword type="function" name="raptor_term_to_turtle_counted_string ()" link="raptor2-section-triples.html#raptor-term-to-turtle-counted-string"/>
+ <keyword type="function" name="raptor_term_to_turtle_string ()" link="raptor2-section-triples.html#raptor-term-to-turtle-string"/>
+ <keyword type="function" name="raptor_term_turtle_write ()" link="raptor2-section-triples.html#raptor-term-turtle-write"/>
+ <keyword type="function" name="raptor_new_statement ()" link="raptor2-section-triples.html#raptor-new-statement"/>
+ <keyword type="function" name="raptor_new_statement_from_nodes ()" link="raptor2-section-triples.html#raptor-new-statement-from-nodes"/>
+ <keyword type="function" name="raptor_free_statement ()" link="raptor2-section-triples.html#raptor-free-statement"/>
+ <keyword type="function" name="raptor_statement_copy ()" link="raptor2-section-triples.html#raptor-statement-copy"/>
+ <keyword type="function" name="raptor_statement_compare ()" link="raptor2-section-triples.html#raptor-statement-compare"/>
+ <keyword type="function" name="raptor_statement_equals ()" link="raptor2-section-triples.html#raptor-statement-equals"/>
+ <keyword type="function" name="raptor_statement_init ()" link="raptor2-section-triples.html#raptor-statement-init"/>
+ <keyword type="function" name="raptor_statement_clear ()" link="raptor2-section-triples.html#raptor-statement-clear"/>
+ <keyword type="function" name="raptor_statement_print ()" link="raptor2-section-triples.html#raptor-statement-print"/>
+ <keyword type="function" name="raptor_statement_print_as_ntriples ()" link="raptor2-section-triples.html#raptor-statement-print-as-ntriples"/>
+ <keyword type="function" name="raptor_statement_ntriples_write ()" link="raptor2-section-triples.html#raptor-statement-ntriples-write"/>
+ <keyword type="enum" name="enum raptor_term_type" link="raptor2-section-triples.html#raptor-term-type"/>
+ <keyword type="struct" name="raptor_term" link="raptor2-section-triples.html#raptor-term"/>
+ <keyword type="union" name="raptor_term_value" link="raptor2-section-triples.html#raptor-term-value"/>
+ <keyword type="struct" name="raptor_term_blank_value" link="raptor2-section-triples.html#raptor-term-blank-value"/>
+ <keyword type="struct" name="raptor_term_literal_value" link="raptor2-section-triples.html#raptor-term-literal-value"/>
+ <keyword type="struct" name="raptor_statement" link="raptor2-section-triples.html#raptor-statement"/>
+ <keyword type="function" name="raptor_unicode_utf8_string_put_char ()" link="raptor2-section-unicode.html#raptor-unicode-utf8-string-put-char"/>
+ <keyword type="function" name="raptor_unicode_utf8_string_get_char ()" link="raptor2-section-unicode.html#raptor-unicode-utf8-string-get-char"/>
+ <keyword type="function" name="raptor_unicode_is_xml11_namestartchar ()" link="raptor2-section-unicode.html#raptor-unicode-is-xml11-namestartchar"/>
+ <keyword type="function" name="raptor_unicode_is_xml10_namestartchar ()" link="raptor2-section-unicode.html#raptor-unicode-is-xml10-namestartchar"/>
+ <keyword type="function" name="raptor_unicode_is_xml11_namechar ()" link="raptor2-section-unicode.html#raptor-unicode-is-xml11-namechar"/>
+ <keyword type="function" name="raptor_unicode_is_xml10_namechar ()" link="raptor2-section-unicode.html#raptor-unicode-is-xml10-namechar"/>
+ <keyword type="function" name="raptor_unicode_check_utf8_string ()" link="raptor2-section-unicode.html#raptor-unicode-check-utf8-string"/>
+ <keyword type="function" name="raptor_unicode_utf8_strlen ()" link="raptor2-section-unicode.html#raptor-unicode-utf8-strlen"/>
+ <keyword type="function" name="raptor_unicode_utf8_substr ()" link="raptor2-section-unicode.html#raptor-unicode-utf8-substr"/>
+ <keyword type="typedef" name="raptor_unichar" link="raptor2-section-unicode.html#raptor-unichar"/>
+ <keyword type="function" name="raptor_new_uri ()" link="raptor2-section-uri.html#raptor-new-uri"/>
+ <keyword type="function" name="raptor_new_uri_from_counted_string ()" link="raptor2-section-uri.html#raptor-new-uri-from-counted-string"/>
+ <keyword type="function" name="raptor_new_uri_from_uri_local_name ()" link="raptor2-section-uri.html#raptor-new-uri-from-uri-local-name"/>
+ <keyword type="function" name="raptor_new_uri_from_uri_or_file_string ()" link="raptor2-section-uri.html#raptor-new-uri-from-uri-or-file-string"/>
+ <keyword type="function" name="raptor_new_uri_relative_to_base ()" link="raptor2-section-uri.html#raptor-new-uri-relative-to-base"/>
+ <keyword type="function" name="raptor_new_uri_relative_to_base_counted ()" link="raptor2-section-uri.html#raptor-new-uri-relative-to-base-counted"/>
+ <keyword type="function" name="raptor_new_uri_from_id ()" link="raptor2-section-uri.html#raptor-new-uri-from-id"/>
+ <keyword type="function" name="raptor_new_uri_for_rdf_concept ()" link="raptor2-section-uri.html#raptor-new-uri-for-rdf-concept"/>
+ <keyword type="function" name="raptor_new_uri_for_xmlbase ()" link="raptor2-section-uri.html#raptor-new-uri-for-xmlbase"/>
+ <keyword type="function" name="raptor_new_uri_for_retrieval ()" link="raptor2-section-uri.html#raptor-new-uri-for-retrieval"/>
+ <keyword type="function" name="raptor_free_uri ()" link="raptor2-section-uri.html#raptor-free-uri"/>
+ <keyword type="function" name="raptor_uri_compare ()" link="raptor2-section-uri.html#raptor-uri-compare"/>
+ <keyword type="function" name="raptor_uri_equals ()" link="raptor2-section-uri.html#raptor-uri-equals"/>
+ <keyword type="function" name="raptor_uri_copy ()" link="raptor2-section-uri.html#raptor-uri-copy"/>
+ <keyword type="function" name="raptor_uri_as_string ()" link="raptor2-section-uri.html#raptor-uri-as-string"/>
+ <keyword type="function" name="raptor_uri_as_counted_string ()" link="raptor2-section-uri.html#raptor-uri-as-counted-string"/>
+ <keyword type="function" name="raptor_uri_to_relative_counted_uri_string ()" link="raptor2-section-uri.html#raptor-uri-to-relative-counted-uri-string"/>
+ <keyword type="function" name="raptor_uri_to_relative_uri_string ()" link="raptor2-section-uri.html#raptor-uri-to-relative-uri-string"/>
+ <keyword type="function" name="raptor_uri_to_counted_string ()" link="raptor2-section-uri.html#raptor-uri-to-counted-string"/>
+ <keyword type="function" name="raptor_uri_to_string ()" link="raptor2-section-uri.html#raptor-uri-to-string"/>
+ <keyword type="function" name="raptor_uri_resolve_uri_reference ()" link="raptor2-section-uri.html#raptor-uri-resolve-uri-reference"/>
+ <keyword type="function" name="raptor_uri_counted_filename_to_uri_string ()" link="raptor2-section-uri.html#raptor-uri-counted-filename-to-uri-string"/>
+ <keyword type="function" name="raptor_uri_filename_to_uri_string ()" link="raptor2-section-uri.html#raptor-uri-filename-to-uri-string"/>
+ <keyword type="function" name="raptor_uri_uri_string_is_absolute ()" link="raptor2-section-uri.html#raptor-uri-uri-string-is-absolute"/>
+ <keyword type="function" name="raptor_uri_uri_string_is_file_uri ()" link="raptor2-section-uri.html#raptor-uri-uri-string-is-file-uri"/>
+ <keyword type="function" name="raptor_uri_uri_string_to_filename ()" link="raptor2-section-uri.html#raptor-uri-uri-string-to-filename"/>
+ <keyword type="function" name="raptor_uri_uri_string_to_filename_fragment ()" link="raptor2-section-uri.html#raptor-uri-uri-string-to-filename-fragment"/>
+ <keyword type="function" name="raptor_uri_uri_string_to_counted_filename_fragment ()" link="raptor2-section-uri.html#raptor-uri-uri-string-to-counted-filename-fragment"/>
+ <keyword type="function" name="raptor_uri_print ()" link="raptor2-section-uri.html#raptor-uri-print"/>
+ <keyword type="function" name="raptor_uri_get_world ()" link="raptor2-section-uri.html#raptor-uri-get-world"/>
+ <keyword type="function" name="raptor_uri_write ()" link="raptor2-section-uri.html#raptor-uri-write"/>
+ <keyword type="function" name="raptor_uri_file_exists ()" link="raptor2-section-uri.html#raptor-uri-file-exists"/>
+ <keyword type="function" name="raptor_uri_filename_exists ()" link="raptor2-section-uri.html#raptor-uri-filename-exists"/>
+ <keyword type="function" name="raptor_uri_to_turtle_counted_string ()" link="raptor2-section-uri.html#raptor-uri-to-turtle-counted-string"/>
+ <keyword type="function" name="raptor_uri_to_turtle_string ()" link="raptor2-section-uri.html#raptor-uri-to-turtle-string"/>
+ <keyword type="function" name="raptor_uri_turtle_write ()" link="raptor2-section-uri.html#raptor-uri-turtle-write"/>
+ <keyword type="typedef" name="raptor_uri" link="raptor2-section-uri.html#raptor-uri"/>
+ <keyword type="function" name="raptor_new_www ()" link="raptor2-section-www.html#raptor-new-www"/>
+ <keyword type="function" name="raptor_new_www_with_connection ()" link="raptor2-section-www.html#raptor-new-www-with-connection"/>
+ <keyword type="function" name="raptor_free_www ()" link="raptor2-section-www.html#raptor-free-www"/>
+ <keyword type="function" name="raptor_www_write_bytes_handler ()" link="raptor2-section-www.html#raptor-www-write-bytes-handler"/>
+ <keyword type="function" name="raptor_www_content_type_handler ()" link="raptor2-section-www.html#raptor-www-content-type-handler"/>
+ <keyword type="function" name="raptor_www_set_user_agent2 ()" link="raptor2-section-www.html#raptor-www-set-user-agent2"/>
+ <keyword type="function" name="raptor_www_set_user_agent ()" link="raptor2-section-www.html#raptor-www-set-user-agent" deprecated=""/>
+ <keyword type="function" name="raptor_www_set_proxy2 ()" link="raptor2-section-www.html#raptor-www-set-proxy2"/>
+ <keyword type="function" name="raptor_www_set_proxy ()" link="raptor2-section-www.html#raptor-www-set-proxy" deprecated=""/>
+ <keyword type="function" name="raptor_www_set_http_accept2 ()" link="raptor2-section-www.html#raptor-www-set-http-accept2"/>
+ <keyword type="function" name="raptor_www_set_http_accept ()" link="raptor2-section-www.html#raptor-www-set-http-accept" deprecated=""/>
+ <keyword type="function" name="raptor_www_set_http_cache_control ()" link="raptor2-section-www.html#raptor-www-set-http-cache-control"/>
+ <keyword type="function" name="raptor_www_set_write_bytes_handler ()" link="raptor2-section-www.html#raptor-www-set-write-bytes-handler"/>
+ <keyword type="function" name="raptor_www_set_connection_timeout ()" link="raptor2-section-www.html#raptor-www-set-connection-timeout"/>
+ <keyword type="function" name="raptor_www_set_content_type_handler ()" link="raptor2-section-www.html#raptor-www-set-content-type-handler"/>
+ <keyword type="function" name="raptor_uri_filter_func ()" link="raptor2-section-www.html#raptor-uri-filter-func"/>
+ <keyword type="function" name="raptor_www_set_uri_filter ()" link="raptor2-section-www.html#raptor-www-set-uri-filter"/>
+ <keyword type="function" name="raptor_www_final_uri_handler ()" link="raptor2-section-www.html#raptor-www-final-uri-handler"/>
+ <keyword type="function" name="raptor_www_get_final_uri ()" link="raptor2-section-www.html#raptor-www-get-final-uri"/>
+ <keyword type="function" name="raptor_www_set_final_uri_handler ()" link="raptor2-section-www.html#raptor-www-set-final-uri-handler"/>
+ <keyword type="function" name="raptor_www_fetch ()" link="raptor2-section-www.html#raptor-www-fetch"/>
+ <keyword type="function" name="raptor_www_fetch_to_string ()" link="raptor2-section-www.html#raptor-www-fetch-to-string"/>
+ <keyword type="function" name="raptor_www_get_connection ()" link="raptor2-section-www.html#raptor-www-get-connection"/>
+ <keyword type="function" name="raptor_www_set_ssl_cert_options ()" link="raptor2-section-www.html#raptor-www-set-ssl-cert-options"/>
+ <keyword type="function" name="raptor_www_set_ssl_verify_options ()" link="raptor2-section-www.html#raptor-www-set-ssl-verify-options"/>
+ <keyword type="function" name="raptor_www_abort ()" link="raptor2-section-www.html#raptor-www-abort"/>
+ <keyword type="typedef" name="raptor_www" link="raptor2-section-www.html#raptor-www"/>
+ <keyword type="function" name="raptor_new_namespace_from_uri ()" link="raptor2-section-xml-namespace.html#raptor-new-namespace-from-uri"/>
+ <keyword type="function" name="raptor_new_namespaces ()" link="raptor2-section-xml-namespace.html#raptor-new-namespaces"/>
+ <keyword type="function" name="raptor_namespaces_init ()" link="raptor2-section-xml-namespace.html#raptor-namespaces-init"/>
+ <keyword type="function" name="raptor_namespaces_clear ()" link="raptor2-section-xml-namespace.html#raptor-namespaces-clear"/>
+ <keyword type="function" name="raptor_free_namespaces ()" link="raptor2-section-xml-namespace.html#raptor-free-namespaces"/>
+ <keyword type="function" name="raptor_namespaces_start_namespace ()" link="raptor2-section-xml-namespace.html#raptor-namespaces-start-namespace"/>
+ <keyword type="function" name="raptor_namespaces_start_namespace_full ()" link="raptor2-section-xml-namespace.html#raptor-namespaces-start-namespace-full"/>
+ <keyword type="function" name="raptor_namespaces_end_for_depth ()" link="raptor2-section-xml-namespace.html#raptor-namespaces-end-for-depth"/>
+ <keyword type="function" name="raptor_namespaces_get_default_namespace ()" link="raptor2-section-xml-namespace.html#raptor-namespaces-get-default-namespace"/>
+ <keyword type="function" name="raptor_namespaces_find_namespace ()" link="raptor2-section-xml-namespace.html#raptor-namespaces-find-namespace"/>
+ <keyword type="function" name="raptor_namespaces_find_namespace_by_uri ()" link="raptor2-section-xml-namespace.html#raptor-namespaces-find-namespace-by-uri"/>
+ <keyword type="function" name="raptor_namespaces_namespace_in_scope ()" link="raptor2-section-xml-namespace.html#raptor-namespaces-namespace-in-scope"/>
+ <keyword type="function" name="raptor_new_namespace ()" link="raptor2-section-xml-namespace.html#raptor-new-namespace"/>
+ <keyword type="function" name="raptor_free_namespace ()" link="raptor2-section-xml-namespace.html#raptor-free-namespace"/>
+ <keyword type="function" name="raptor_namespace_get_uri ()" link="raptor2-section-xml-namespace.html#raptor-namespace-get-uri"/>
+ <keyword type="function" name="raptor_namespace_get_prefix ()" link="raptor2-section-xml-namespace.html#raptor-namespace-get-prefix"/>
+ <keyword type="function" name="raptor_namespace_get_counted_prefix ()" link="raptor2-section-xml-namespace.html#raptor-namespace-get-counted-prefix"/>
+ <keyword type="function" name="raptor_namespace_write ()" link="raptor2-section-xml-namespace.html#raptor-namespace-write"/>
+ <keyword type="function" name="raptor_namespace_stack_start_namespace ()" link="raptor2-section-xml-namespace.html#raptor-namespace-stack-start-namespace"/>
+ <keyword type="function" name="raptor_namespace_format_as_xml ()" link="raptor2-section-xml-namespace.html#raptor-namespace-format-as-xml"/>
+ <keyword type="function" name="raptor_xml_namespace_string_parse ()" link="raptor2-section-xml-namespace.html#raptor-xml-namespace-string-parse"/>
+ <keyword type="typedef" name="raptor_namespace" link="raptor2-section-xml-namespace.html#raptor-namespace"/>
+ <keyword type="typedef" name="raptor_namespace_stack" link="raptor2-section-xml-namespace.html#raptor-namespace-stack"/>
+ <keyword type="function" name="raptor_new_qname ()" link="raptor2-section-xml-qname.html#raptor-new-qname"/>
+ <keyword type="function" name="raptor_new_qname_from_namespace_local_name ()" link="raptor2-section-xml-qname.html#raptor-new-qname-from-namespace-local-name"/>
+ <keyword type="function" name="raptor_new_qname_from_namespace_uri ()" link="raptor2-section-xml-qname.html#raptor-new-qname-from-namespace-uri"/>
+ <keyword type="function" name="raptor_qname_copy ()" link="raptor2-section-xml-qname.html#raptor-qname-copy"/>
+ <keyword type="function" name="raptor_free_qname ()" link="raptor2-section-xml-qname.html#raptor-free-qname"/>
+ <keyword type="function" name="raptor_qname_equal ()" link="raptor2-section-xml-qname.html#raptor-qname-equal"/>
+ <keyword type="function" name="raptor_qname_string_to_uri ()" link="raptor2-section-xml-qname.html#raptor-qname-string-to-uri"/>
+ <keyword type="function" name="raptor_qname_write ()" link="raptor2-section-xml-qname.html#raptor-qname-write"/>
+ <keyword type="function" name="raptor_qname_format_as_xml ()" link="raptor2-section-xml-qname.html#raptor-qname-format-as-xml"/>
+ <keyword type="function" name="raptor_qname_get_counted_value ()" link="raptor2-section-xml-qname.html#raptor-qname-get-counted-value"/>
+ <keyword type="function" name="raptor_qname_get_local_name ()" link="raptor2-section-xml-qname.html#raptor-qname-get-local-name"/>
+ <keyword type="function" name="raptor_qname_get_namespace ()" link="raptor2-section-xml-qname.html#raptor-qname-get-namespace"/>
+ <keyword type="function" name="raptor_qname_get_value ()" link="raptor2-section-xml-qname.html#raptor-qname-get-value"/>
+ <keyword type="function" name="raptor_qname_to_counted_name ()" link="raptor2-section-xml-qname.html#raptor-qname-to-counted-name"/>
+ <keyword type="typedef" name="raptor_qname" link="raptor2-section-xml-qname.html#raptor-qname"/>
+ <keyword type="function" name="raptor_new_xml_element ()" link="raptor2-section-xml.html#raptor-new-xml-element"/>
+ <keyword type="function" name="raptor_new_xml_element_from_namespace_local_name ()" link="raptor2-section-xml.html#raptor-new-xml-element-from-namespace-local-name"/>
+ <keyword type="function" name="raptor_free_xml_element ()" link="raptor2-section-xml.html#raptor-free-xml-element"/>
+ <keyword type="function" name="raptor_xml_element_get_name ()" link="raptor2-section-xml.html#raptor-xml-element-get-name"/>
+ <keyword type="function" name="raptor_xml_element_get_attributes ()" link="raptor2-section-xml.html#raptor-xml-element-get-attributes"/>
+ <keyword type="function" name="raptor_xml_element_get_attributes_count ()" link="raptor2-section-xml.html#raptor-xml-element-get-attributes-count"/>
+ <keyword type="function" name="raptor_xml_element_set_attributes ()" link="raptor2-section-xml.html#raptor-xml-element-set-attributes"/>
+ <keyword type="function" name="raptor_xml_element_declare_namespace ()" link="raptor2-section-xml.html#raptor-xml-element-declare-namespace"/>
+ <keyword type="function" name="raptor_xml_element_is_empty ()" link="raptor2-section-xml.html#raptor-xml-element-is-empty"/>
+ <keyword type="function" name="raptor_xml_element_get_language ()" link="raptor2-section-xml.html#raptor-xml-element-get-language"/>
+ <keyword type="function" name="raptor_xml_element_write ()" link="raptor2-section-xml.html#raptor-xml-element-write"/>
+ <keyword type="function" name="raptor_new_xml_writer ()" link="raptor2-section-xml.html#raptor-new-xml-writer"/>
+ <keyword type="function" name="raptor_free_xml_writer ()" link="raptor2-section-xml.html#raptor-free-xml-writer"/>
+ <keyword type="function" name="raptor_xml_writer_empty_element ()" link="raptor2-section-xml.html#raptor-xml-writer-empty-element"/>
+ <keyword type="function" name="raptor_xml_writer_start_element ()" link="raptor2-section-xml.html#raptor-xml-writer-start-element"/>
+ <keyword type="function" name="raptor_xml_writer_end_element ()" link="raptor2-section-xml.html#raptor-xml-writer-end-element"/>
+ <keyword type="function" name="raptor_xml_writer_cdata ()" link="raptor2-section-xml.html#raptor-xml-writer-cdata"/>
+ <keyword type="function" name="raptor_xml_writer_cdata_counted ()" link="raptor2-section-xml.html#raptor-xml-writer-cdata-counted"/>
+ <keyword type="function" name="raptor_xml_writer_raw ()" link="raptor2-section-xml.html#raptor-xml-writer-raw"/>
+ <keyword type="function" name="raptor_xml_writer_raw_counted ()" link="raptor2-section-xml.html#raptor-xml-writer-raw-counted"/>
+ <keyword type="function" name="raptor_xml_writer_comment ()" link="raptor2-section-xml.html#raptor-xml-writer-comment"/>
+ <keyword type="function" name="raptor_xml_writer_comment_counted ()" link="raptor2-section-xml.html#raptor-xml-writer-comment-counted"/>
+ <keyword type="function" name="raptor_xml_writer_flush ()" link="raptor2-section-xml.html#raptor-xml-writer-flush"/>
+ <keyword type="function" name="raptor_xml_writer_newline ()" link="raptor2-section-xml.html#raptor-xml-writer-newline"/>
+ <keyword type="function" name="raptor_xml_writer_get_depth ()" link="raptor2-section-xml.html#raptor-xml-writer-get-depth"/>
+ <keyword type="function" name="raptor_xml_writer_set_option ()" link="raptor2-section-xml.html#raptor-xml-writer-set-option"/>
+ <keyword type="function" name="raptor_xml_writer_get_option ()" link="raptor2-section-xml.html#raptor-xml-writer-get-option"/>
+ <keyword type="function" name="raptor_xml_escape_string_any ()" link="raptor2-section-xml.html#raptor-xml-escape-string-any"/>
+ <keyword type="function" name="raptor_xml_escape_string_any_write ()" link="raptor2-section-xml.html#raptor-xml-escape-string-any-write"/>
+ <keyword type="function" name="raptor_xml_escape_string ()" link="raptor2-section-xml.html#raptor-xml-escape-string"/>
+ <keyword type="function" name="raptor_xml_escape_string_write ()" link="raptor2-section-xml.html#raptor-xml-escape-string-write"/>
+ <keyword type="function" name="raptor_xml_name_check ()" link="raptor2-section-xml.html#raptor-xml-name-check"/>
+ <keyword type="typedef" name="raptor_xml_element" link="raptor2-section-xml.html#raptor-xml-element"/>
+ <keyword type="typedef" name="raptor_xml_writer" link="raptor2-section-xml.html#raptor-xml-writer"/>
+ <keyword type="constant" name="RAPTOR_WORLD_FLAG_LIBXML_GENERIC_ERROR_SAVE" link="raptor2-section-world.html#RAPTOR-WORLD-FLAG-LIBXML-GENERIC-ERROR-SAVE:CAPS"/>
+ <keyword type="constant" name="RAPTOR_WORLD_FLAG_LIBXML_STRUCTURED_ERROR_SAVE" link="raptor2-section-world.html#RAPTOR-WORLD-FLAG-LIBXML-STRUCTURED-ERROR-SAVE:CAPS"/>
+ <keyword type="constant" name="RAPTOR_WORLD_FLAG_URI_INTERNING" link="raptor2-section-world.html#RAPTOR-WORLD-FLAG-URI-INTERNING:CAPS"/>
+ <keyword type="constant" name="RAPTOR_WORLD_FLAG_WWW_SKIP_INIT_FINISH" link="raptor2-section-world.html#RAPTOR-WORLD-FLAG-WWW-SKIP-INIT-FINISH:CAPS"/>
+ <keyword type="constant" name="RAPTOR_LOG_LEVEL_NONE" link="raptor2-section-general.html#RAPTOR-LOG-LEVEL-NONE:CAPS"/>
+ <keyword type="constant" name="RAPTOR_LOG_LEVEL_TRACE" link="raptor2-section-general.html#RAPTOR-LOG-LEVEL-TRACE:CAPS"/>
+ <keyword type="constant" name="RAPTOR_LOG_LEVEL_DEBUG" link="raptor2-section-general.html#RAPTOR-LOG-LEVEL-DEBUG:CAPS"/>
+ <keyword type="constant" name="RAPTOR_LOG_LEVEL_INFO" link="raptor2-section-general.html#RAPTOR-LOG-LEVEL-INFO:CAPS"/>
+ <keyword type="constant" name="RAPTOR_LOG_LEVEL_WARN" link="raptor2-section-general.html#RAPTOR-LOG-LEVEL-WARN:CAPS"/>
+ <keyword type="constant" name="RAPTOR_LOG_LEVEL_ERROR" link="raptor2-section-general.html#RAPTOR-LOG-LEVEL-ERROR:CAPS"/>
+ <keyword type="constant" name="RAPTOR_LOG_LEVEL_FATAL" link="raptor2-section-general.html#RAPTOR-LOG-LEVEL-FATAL:CAPS"/>
+ <keyword type="constant" name="RAPTOR_LOG_LEVEL_LAST" link="raptor2-section-general.html#RAPTOR-LOG-LEVEL-LAST:CAPS"/>
+ <keyword type="constant" name="RAPTOR_DOMAIN_NONE" link="raptor2-section-general.html#RAPTOR-DOMAIN-NONE:CAPS"/>
+ <keyword type="constant" name="RAPTOR_DOMAIN_IOSTREAM" link="raptor2-section-general.html#RAPTOR-DOMAIN-IOSTREAM:CAPS"/>
+ <keyword type="constant" name="RAPTOR_DOMAIN_NAMESPACE" link="raptor2-section-general.html#RAPTOR-DOMAIN-NAMESPACE:CAPS"/>
+ <keyword type="constant" name="RAPTOR_DOMAIN_PARSER" link="raptor2-section-general.html#RAPTOR-DOMAIN-PARSER:CAPS"/>
+ <keyword type="constant" name="RAPTOR_DOMAIN_QNAME" link="raptor2-section-general.html#RAPTOR-DOMAIN-QNAME:CAPS"/>
+ <keyword type="constant" name="RAPTOR_DOMAIN_SAX2" link="raptor2-section-general.html#RAPTOR-DOMAIN-SAX2:CAPS"/>
+ <keyword type="constant" name="RAPTOR_DOMAIN_SERIALIZER" link="raptor2-section-general.html#RAPTOR-DOMAIN-SERIALIZER:CAPS"/>
+ <keyword type="constant" name="RAPTOR_DOMAIN_TERM" link="raptor2-section-general.html#RAPTOR-DOMAIN-TERM:CAPS"/>
+ <keyword type="constant" name="RAPTOR_DOMAIN_TURTLE_WRITER" link="raptor2-section-general.html#RAPTOR-DOMAIN-TURTLE-WRITER:CAPS"/>
+ <keyword type="constant" name="RAPTOR_DOMAIN_URI" link="raptor2-section-general.html#RAPTOR-DOMAIN-URI:CAPS"/>
+ <keyword type="constant" name="RAPTOR_DOMAIN_WORLD" link="raptor2-section-general.html#RAPTOR-DOMAIN-WORLD:CAPS"/>
+ <keyword type="constant" name="RAPTOR_DOMAIN_WWW" link="raptor2-section-general.html#RAPTOR-DOMAIN-WWW:CAPS"/>
+ <keyword type="constant" name="RAPTOR_DOMAIN_XML_WRITER" link="raptor2-section-general.html#RAPTOR-DOMAIN-XML-WRITER:CAPS"/>
+ <keyword type="constant" name="RAPTOR_DOMAIN_LAST" link="raptor2-section-general.html#RAPTOR-DOMAIN-LAST:CAPS"/>
+ <keyword type="constant" name="RAPTOR_SYNTAX_NEED_BASE_URI" link="raptor2-section-general.html#RAPTOR-SYNTAX-NEED-BASE-URI:CAPS"/>
+ <keyword type="constant" name="RAPTOR_AVLTREE_FLAG_REPLACE_DUPLICATES" link="raptor2-section-avltree.html#RAPTOR-AVLTREE-FLAG-REPLACE-DUPLICATES:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_SCANNING" link="raptor2-section-option.html#RAPTOR-OPTION-SCANNING:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_ALLOW_NON_NS_ATTRIBUTES" link="raptor2-section-option.html#RAPTOR-OPTION-ALLOW-NON-NS-ATTRIBUTES:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_ALLOW_OTHER_PARSETYPES" link="raptor2-section-option.html#RAPTOR-OPTION-ALLOW-OTHER-PARSETYPES:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_ALLOW_BAGID" link="raptor2-section-option.html#RAPTOR-OPTION-ALLOW-BAGID:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_ALLOW_RDF_TYPE_RDF_LIST" link="raptor2-section-option.html#RAPTOR-OPTION-ALLOW-RDF-TYPE-RDF-LIST:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_NORMALIZE_LANGUAGE" link="raptor2-section-option.html#RAPTOR-OPTION-NORMALIZE-LANGUAGE:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_NON_NFC_FATAL" link="raptor2-section-option.html#RAPTOR-OPTION-NON-NFC-FATAL:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_WARN_OTHER_PARSETYPES" link="raptor2-section-option.html#RAPTOR-OPTION-WARN-OTHER-PARSETYPES:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_CHECK_RDF_ID" link="raptor2-section-option.html#RAPTOR-OPTION-CHECK-RDF-ID:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_RELATIVE_URIS" link="raptor2-section-option.html#RAPTOR-OPTION-RELATIVE-URIS:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_WRITER_AUTO_INDENT" link="raptor2-section-option.html#RAPTOR-OPTION-WRITER-AUTO-INDENT:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_WRITER_AUTO_EMPTY" link="raptor2-section-option.html#RAPTOR-OPTION-WRITER-AUTO-EMPTY:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_WRITER_INDENT_WIDTH" link="raptor2-section-option.html#RAPTOR-OPTION-WRITER-INDENT-WIDTH:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_WRITER_XML_VERSION" link="raptor2-section-option.html#RAPTOR-OPTION-WRITER-XML-VERSION:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_WRITER_XML_DECLARATION" link="raptor2-section-option.html#RAPTOR-OPTION-WRITER-XML-DECLARATION:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_NO_NET" link="raptor2-section-option.html#RAPTOR-OPTION-NO-NET:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_RESOURCE_BORDER" link="raptor2-section-option.html#RAPTOR-OPTION-RESOURCE-BORDER:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_LITERAL_BORDER" link="raptor2-section-option.html#RAPTOR-OPTION-LITERAL-BORDER:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_BNODE_BORDER" link="raptor2-section-option.html#RAPTOR-OPTION-BNODE-BORDER:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_RESOURCE_FILL" link="raptor2-section-option.html#RAPTOR-OPTION-RESOURCE-FILL:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_LITERAL_FILL" link="raptor2-section-option.html#RAPTOR-OPTION-LITERAL-FILL:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_BNODE_FILL" link="raptor2-section-option.html#RAPTOR-OPTION-BNODE-FILL:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_HTML_TAG_SOUP" link="raptor2-section-option.html#RAPTOR-OPTION-HTML-TAG-SOUP:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_MICROFORMATS" link="raptor2-section-option.html#RAPTOR-OPTION-MICROFORMATS:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_HTML_LINK" link="raptor2-section-option.html#RAPTOR-OPTION-HTML-LINK:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_WWW_TIMEOUT" link="raptor2-section-option.html#RAPTOR-OPTION-WWW-TIMEOUT:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_WRITE_BASE_URI" link="raptor2-section-option.html#RAPTOR-OPTION-WRITE-BASE-URI:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_WWW_HTTP_CACHE_CONTROL" link="raptor2-section-option.html#RAPTOR-OPTION-WWW-HTTP-CACHE-CONTROL:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_WWW_HTTP_USER_AGENT" link="raptor2-section-option.html#RAPTOR-OPTION-WWW-HTTP-USER-AGENT:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_JSON_CALLBACK" link="raptor2-section-option.html#RAPTOR-OPTION-JSON-CALLBACK:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_JSON_EXTRA_DATA" link="raptor2-section-option.html#RAPTOR-OPTION-JSON-EXTRA-DATA:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_RSS_TRIPLES" link="raptor2-section-option.html#RAPTOR-OPTION-RSS-TRIPLES:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_ATOM_ENTRY_URI" link="raptor2-section-option.html#RAPTOR-OPTION-ATOM-ENTRY-URI:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_PREFIX_ELEMENTS" link="raptor2-section-option.html#RAPTOR-OPTION-PREFIX-ELEMENTS:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_STRICT" link="raptor2-section-option.html#RAPTOR-OPTION-STRICT:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_WWW_CERT_FILENAME" link="raptor2-section-option.html#RAPTOR-OPTION-WWW-CERT-FILENAME:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_WWW_CERT_TYPE" link="raptor2-section-option.html#RAPTOR-OPTION-WWW-CERT-TYPE:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_WWW_CERT_PASSPHRASE" link="raptor2-section-option.html#RAPTOR-OPTION-WWW-CERT-PASSPHRASE:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_NO_FILE" link="raptor2-section-option.html#RAPTOR-OPTION-NO-FILE:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_WWW_SSL_VERIFY_PEER" link="raptor2-section-option.html#RAPTOR-OPTION-WWW-SSL-VERIFY-PEER:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_WWW_SSL_VERIFY_HOST" link="raptor2-section-option.html#RAPTOR-OPTION-WWW-SSL-VERIFY-HOST:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_LOAD_EXTERNAL_ENTITIES" link="raptor2-section-option.html#RAPTOR-OPTION-LOAD-EXTERNAL-ENTITIES:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_LAST" link="raptor2-section-option.html#RAPTOR-OPTION-LAST:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_VALUE_TYPE_BOOL" link="raptor2-section-option.html#RAPTOR-OPTION-VALUE-TYPE-BOOL:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_VALUE_TYPE_INT" link="raptor2-section-option.html#RAPTOR-OPTION-VALUE-TYPE-INT:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_VALUE_TYPE_STRING" link="raptor2-section-option.html#RAPTOR-OPTION-VALUE-TYPE-STRING:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_VALUE_TYPE_URI" link="raptor2-section-option.html#RAPTOR-OPTION-VALUE-TYPE-URI:CAPS"/>
+ <keyword type="constant" name="RAPTOR_OPTION_VALUE_TYPE_LAST" link="raptor2-section-option.html#RAPTOR-OPTION-VALUE-TYPE-LAST:CAPS"/>
+ <keyword type="constant" name="RAPTOR_ESCAPED_WRITE_BITFLAG_BS_ESCAPES_BF" link="raptor2-section-iostream.html#RAPTOR-ESCAPED-WRITE-BITFLAG-BS-ESCAPES-BF:CAPS"/>
+ <keyword type="constant" name="RAPTOR_ESCAPED_WRITE_BITFLAG_BS_ESCAPES_TNRU" link="raptor2-section-iostream.html#RAPTOR-ESCAPED-WRITE-BITFLAG-BS-ESCAPES-TNRU:CAPS"/>
+ <keyword type="constant" name="RAPTOR_ESCAPED_WRITE_BITFLAG_UTF8" link="raptor2-section-iostream.html#RAPTOR-ESCAPED-WRITE-BITFLAG-UTF8:CAPS"/>
+ <keyword type="constant" name="RAPTOR_ESCAPED_WRITE_BITFLAG_SPARQL_URI_ESCAPES" link="raptor2-section-iostream.html#RAPTOR-ESCAPED-WRITE-BITFLAG-SPARQL-URI-ESCAPES:CAPS"/>
+ <keyword type="constant" name="RAPTOR_ESCAPED_WRITE_NTRIPLES_LITERAL" link="raptor2-section-iostream.html#RAPTOR-ESCAPED-WRITE-NTRIPLES-LITERAL:CAPS"/>
+ <keyword type="constant" name="RAPTOR_ESCAPED_WRITE_NTRIPLES_URI" link="raptor2-section-iostream.html#RAPTOR-ESCAPED-WRITE-NTRIPLES-URI:CAPS"/>
+ <keyword type="constant" name="RAPTOR_ESCAPED_WRITE_SPARQL_LITERAL" link="raptor2-section-iostream.html#RAPTOR-ESCAPED-WRITE-SPARQL-LITERAL:CAPS"/>
+ <keyword type="constant" name="RAPTOR_ESCAPED_WRITE_SPARQL_LONG_LITERAL" link="raptor2-section-iostream.html#RAPTOR-ESCAPED-WRITE-SPARQL-LONG-LITERAL:CAPS"/>
+ <keyword type="constant" name="RAPTOR_ESCAPED_WRITE_SPARQL_URI" link="raptor2-section-iostream.html#RAPTOR-ESCAPED-WRITE-SPARQL-URI:CAPS"/>
+ <keyword type="constant" name="RAPTOR_ESCAPED_WRITE_TURTLE_URI" link="raptor2-section-iostream.html#RAPTOR-ESCAPED-WRITE-TURTLE-URI:CAPS"/>
+ <keyword type="constant" name="RAPTOR_ESCAPED_WRITE_TURTLE_LITERAL" link="raptor2-section-iostream.html#RAPTOR-ESCAPED-WRITE-TURTLE-LITERAL:CAPS"/>
+ <keyword type="constant" name="RAPTOR_ESCAPED_WRITE_TURTLE_LONG_LITERAL" link="raptor2-section-iostream.html#RAPTOR-ESCAPED-WRITE-TURTLE-LONG-LITERAL:CAPS"/>
+ <keyword type="constant" name="RAPTOR_ESCAPED_WRITE_JSON_LITERAL" link="raptor2-section-iostream.html#RAPTOR-ESCAPED-WRITE-JSON-LITERAL:CAPS"/>
+ <keyword type="constant" name="RAPTOR_GRAPH_MARK_START" link="raptor2-section-parser.html#RAPTOR-GRAPH-MARK-START:CAPS"/>
+ <keyword type="constant" name="RAPTOR_GRAPH_MARK_DECLARED" link="raptor2-section-parser.html#RAPTOR-GRAPH-MARK-DECLARED:CAPS"/>
+ <keyword type="constant" name="RAPTOR_TERM_TYPE_UNKNOWN" link="raptor2-section-triples.html#RAPTOR-TERM-TYPE-UNKNOWN:CAPS"/>
+ <keyword type="constant" name="RAPTOR_TERM_TYPE_URI" link="raptor2-section-triples.html#RAPTOR-TERM-TYPE-URI:CAPS"/>
+ <keyword type="constant" name="RAPTOR_TERM_TYPE_LITERAL" link="raptor2-section-triples.html#RAPTOR-TERM-TYPE-LITERAL:CAPS"/>
+ <keyword type="constant" name="RAPTOR_TERM_TYPE_BLANK" link="raptor2-section-triples.html#RAPTOR-TERM-TYPE-BLANK:CAPS"/>
+ <keyword type="member" name="raptor-log-message.code" link="raptor2-section-general.html#raptor-log-message.code"/>
+ <keyword type="member" name="raptor-log-message.domain" link="raptor2-section-general.html#raptor-log-message.domain"/>
+ <keyword type="member" name="raptor-log-message.level" link="raptor2-section-general.html#raptor-log-message.level"/>
+ <keyword type="member" name="raptor-log-message.locator" link="raptor2-section-general.html#raptor-log-message.locator"/>
+ <keyword type="member" name="raptor-log-message.text" link="raptor2-section-general.html#raptor-log-message.text"/>
+ <keyword type="member" name="raptor-syntax-description.names" link="raptor2-section-general.html#raptor-syntax-description.names"/>
+ <keyword type="member" name="raptor-syntax-description.names-count" link="raptor2-section-general.html#raptor-syntax-description.names-count"/>
+ <keyword type="member" name="raptor-syntax-description.label" link="raptor2-section-general.html#raptor-syntax-description.label"/>
+ <keyword type="member" name="raptor-syntax-description.mime-types" link="raptor2-section-general.html#raptor-syntax-description.mime-types"/>
+ <keyword type="member" name="raptor-syntax-description.mime-types-count" link="raptor2-section-general.html#raptor-syntax-description.mime-types-count"/>
+ <keyword type="member" name="raptor-syntax-description.uri-strings" link="raptor2-section-general.html#raptor-syntax-description.uri-strings"/>
+ <keyword type="member" name="raptor-syntax-description.uri-strings-count" link="raptor2-section-general.html#raptor-syntax-description.uri-strings-count"/>
+ <keyword type="member" name="raptor-syntax-description.flags" link="raptor2-section-general.html#raptor-syntax-description.flags"/>
+ <keyword type="member" name="raptor-type-q.mime-type" link="raptor2-section-general.html#raptor-type-q.mime-type"/>
+ <keyword type="member" name="raptor-type-q.mime-type-len" link="raptor2-section-general.html#raptor-type-q.mime-type-len"/>
+ <keyword type="member" name="raptor-type-q.q" link="raptor2-section-general.html#raptor-type-q.q"/>
+ <keyword type="member" name="raptor-option-description.domain" link="raptor2-section-option.html#raptor-option-description.domain"/>
+ <keyword type="member" name="raptor-option-description.option" link="raptor2-section-option.html#raptor-option-description.option"/>
+ <keyword type="member" name="raptor-option-description.value-type" link="raptor2-section-option.html#raptor-option-description.value-type"/>
+ <keyword type="member" name="raptor-option-description.name" link="raptor2-section-option.html#raptor-option-description.name"/>
+ <keyword type="member" name="raptor-option-description.name-len" link="raptor2-section-option.html#raptor-option-description.name-len"/>
+ <keyword type="member" name="raptor-option-description.label" link="raptor2-section-option.html#raptor-option-description.label"/>
+ <keyword type="member" name="raptor-option-description.uri" link="raptor2-section-option.html#raptor-option-description.uri"/>
+ <keyword type="member" name="raptor-iostream-handler.version" link="raptor2-section-iostream.html#raptor-iostream-handler.version"/>
+ <keyword type="member" name="raptor-iostream-handler.init" link="raptor2-section-iostream.html#raptor-iostream-handler.init"/>
+ <keyword type="member" name="raptor-iostream-handler.finish" link="raptor2-section-iostream.html#raptor-iostream-handler.finish"/>
+ <keyword type="member" name="raptor-iostream-handler.write-byte" link="raptor2-section-iostream.html#raptor-iostream-handler.write-byte"/>
+ <keyword type="member" name="raptor-iostream-handler.write-bytes" link="raptor2-section-iostream.html#raptor-iostream-handler.write-bytes"/>
+ <keyword type="member" name="raptor-iostream-handler.write-end" link="raptor2-section-iostream.html#raptor-iostream-handler.write-end"/>
+ <keyword type="member" name="raptor-iostream-handler.read-bytes" link="raptor2-section-iostream.html#raptor-iostream-handler.read-bytes"/>
+ <keyword type="member" name="raptor-iostream-handler.read-eof" link="raptor2-section-iostream.html#raptor-iostream-handler.read-eof"/>
+ <keyword type="member" name="raptor-locator.uri" link="raptor2-section-locator.html#raptor-locator.uri"/>
+ <keyword type="member" name="raptor-locator.file" link="raptor2-section-locator.html#raptor-locator.file"/>
+ <keyword type="member" name="raptor-locator.line" link="raptor2-section-locator.html#raptor-locator.line"/>
+ <keyword type="member" name="raptor-locator.column" link="raptor2-section-locator.html#raptor-locator.column"/>
+ <keyword type="member" name="raptor-locator.byte" link="raptor2-section-locator.html#raptor-locator.byte"/>
+ <keyword type="member" name="raptor-term.world" link="raptor2-section-triples.html#raptor-term.world"/>
+ <keyword type="member" name="raptor-term.usage" link="raptor2-section-triples.html#raptor-term.usage"/>
+ <keyword type="member" name="raptor-term.type" link="raptor2-section-triples.html#raptor-term.type"/>
+ <keyword type="member" name="raptor-term.value" link="raptor2-section-triples.html#raptor-term.value"/>
+ <keyword type="member" name="raptor-term-blank-value.string" link="raptor2-section-triples.html#raptor-term-blank-value.string"/>
+ <keyword type="member" name="raptor-term-blank-value.string-len" link="raptor2-section-triples.html#raptor-term-blank-value.string-len"/>
+ <keyword type="member" name="raptor-term-literal-value.string" link="raptor2-section-triples.html#raptor-term-literal-value.string"/>
+ <keyword type="member" name="raptor-term-literal-value.string-len" link="raptor2-section-triples.html#raptor-term-literal-value.string-len"/>
+ <keyword type="member" name="raptor-term-literal-value.datatype" link="raptor2-section-triples.html#raptor-term-literal-value.datatype"/>
+ <keyword type="member" name="raptor-term-literal-value.language" link="raptor2-section-triples.html#raptor-term-literal-value.language"/>
+ <keyword type="member" name="raptor-term-literal-value.language-len" link="raptor2-section-triples.html#raptor-term-literal-value.language-len"/>
+ <keyword type="member" name="raptor-statement.world" link="raptor2-section-triples.html#raptor-statement.world"/>
+ <keyword type="member" name="raptor-statement.usage" link="raptor2-section-triples.html#raptor-statement.usage"/>
+ <keyword type="member" name="raptor-statement.subject" link="raptor2-section-triples.html#raptor-statement.subject"/>
+ <keyword type="member" name="raptor-statement.predicate" link="raptor2-section-triples.html#raptor-statement.predicate"/>
+ <keyword type="member" name="raptor-statement.object" link="raptor2-section-triples.html#raptor-statement.object"/>
+ <keyword type="member" name="raptor-statement.graph" link="raptor2-section-triples.html#raptor-statement.graph"/>
+ </functions>
+</book>
diff --git a/docs/html/reference-manual.html b/docs/html/reference-manual.html
new file mode 100644
index 0000000..3298f5c
--- /dev/null
+++ b/docs/html/reference-manual.html
@@ -0,0 +1,180 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Part II. Raptor Reference Manual: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="prev" href="tutorial-serializer-example.html" title="Serializing example code">
+<link rel="next" href="raptor-parsers.html" title="Parsers in Raptor (syntax to triples)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
+<td><a accesskey="p" href="tutorial-serializer-example.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor-parsers.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="part">
+<div class="titlepage"><div><div><h1 class="title">
+<a name="reference-manual"></a>Part II. Raptor Reference Manual</h1></div></div></div>
+<div class="partintro">
+<div></div>
+<p>This part contains the Raptor Reference Manual
+ which comprehensively describes every class and function of the API.
+ </p>
+<p>The previous part contains the
+ <a class="link" href="tutorial.html" title="Part I. Raptor Tutorial">Raptor Tutorial</a>
+ explaining how to use the API parts.
+ </p>
+<p>For the latest information, see the
+ <a class="ulink" href="http://librdf.org/raptor/" target="_top">Raptor Home Page</a>
+ and the <a class="ulink" href="../README.html" target="_top">main document overview</a>
+ in this document tree.
+ </p>
+<div class="toc">
+<p><b>Table of Contents</b></p>
+<dl class="toc">
+<dt><span class="chapter"><a href="raptor-parsers.html">Parsers in Raptor (syntax to triples)</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="raptor-parsers.html#raptor-parsers-intro">Introduction</a></span></dt>
+<dt><span class="section"><a href="parser-grddl.html">GRDDL parser (name <code class="literal">grddl</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-guess.html">Guess parser (name <code class="literal">guess</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-json.html">JSON parser (name <code class="literal">json</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-ntriples.html">N-Triples parser (name <code class="literal">ntriples</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-rdfa.html">RDFa parser - (name <code class="literal">rdfa</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-rdfxml.html">RDF/XML parser - default (name <code class="literal">rdfxml</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-rss-tag-soup.html">RSS Tag Soup parser (name <code class="literal">rss-tag-soup</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-trig.html">TRiG parser (name <code class="literal">trig</code>)</a></span></dt>
+<dt><span class="section"><a href="parser-turtle.html">Turtle Terse RDF Triple Language parser (name <code class="literal">turtle</code>)</a></span></dt>
+</dl></dd>
+<dt><span class="chapter"><a href="raptor-serializers.html">Serializers in Raptor (triples to syntax)</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="raptor-serializers.html#raptor-serializers-intro">Introduction</a></span></dt>
+<dt><span class="section"><a href="serializer-atom.html">Atom 1.0 serializer (name <code class="literal">atom</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-json.html">JSON serializers (name <code class="literal">json</code> and name <code class="literal">json-triples</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-mkr.html">mKR serializer - default (name <code class="literal">mkr</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-nquads.html">N-Quads serializer - default (name <code class="literal">nquads</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-ntriples.html">N-Triples serializer - default (name <code class="literal">ntriples</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-rdfxml.html">RDF/XML serializer (name <code class="literal">rdfxml</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-rdfxml-abbrev.html">RDF/XML (Abbreviated) serializer (name <code class="literal">rdfxml-abbrev</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-rdfxml-xmp.html">RDF/XML (XMP Profile) serializer (name <code class="literal">rdfxml-xmp</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-turtle.html">Turtle serializer (name <code class="literal">turtle</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-rss-1-0.html">RSS 1.0 serializer (name <code class="literal">rss-1.0</code>)</a></span></dt>
+<dt><span class="section"><a href="serializer-dot.html">GraphViz dot serializer (name <code class="literal">dot</code>)</a></span></dt>
+</dl></dd>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-world.html">section-world</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-general.html">section-general</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-memory.html">section-memory</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-avltree.html">section-avltree</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-constants.html">section-constants</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-option.html">section-option</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-iostream.html">section-iostream</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-locator.html">section-locator</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-parser.html">section-parser</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-sax2.html">section-sax2</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-sequence.html">section-sequence</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-serializer.html">section-serializer</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-stringbuffer.html">section-stringbuffer</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-triples.html">section-triples</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-unicode.html">section-unicode</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-uri.html">section-uri</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-www.html">section-www</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-xml-namespace.html">section-xml-namespace</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-xml-qname.html">section-xml-qname</a></span><span class="refpurpose"></span>
+</dt>
+<dt>
+<span class="refentrytitle"><a href="raptor2-section-xml.html">section-xml</a></span><span class="refpurpose"></span>
+</dt>
+<dt><span class="chapter"><a href="raptor-formats.html">Syntax Formats supported in Raptor</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="raptor-formats.html#raptor-formats-intro">Introduction</a></span></dt>
+<dt><span class="section"><a href="raptor-formats-types-by-parser.html">MIME Types by Parser</a></span></dt>
+<dt><span class="section"><a href="raptor-formats-types-by-serializer.html">MIME Types by Serializer</a></span></dt>
+<dt><span class="section"><a href="raptor-formats-types-index.html">MIME Types Index</a></span></dt>
+</dl></dd>
+<dt><span class="chapter"><a href="raptor2-changes.html">API Changes</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="raptor2-changes.html#raptor2-changes-intro">Introduction</a></span></dt>
+<dt><span class="section"><a href="raptor2-changes-1-4-21-to-2-0-0.html">Changes between raptor2 1.4.21 and 2.0.0</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="raptor2-changes-1-4-21-to-2-0-0.html#raptor2-changes-new-1-4-21-to-2-0-0">New functions, types, enums and constants</a></span></dt>
+<dt><span class="section"><a href="raptor2-changes-1-4-21-to-2-0-0.html#raptor2-changes-deleted-1-4-21-to-2-0-0">Deleted functions, types, enums and constants</a></span></dt>
+<dt><span class="section"><a href="raptor2-changes-1-4-21-to-2-0-0.html#raptor2-changes-renamed-1-4-21-to-2-0-0">Renamed functions, enums and constants</a></span></dt>
+<dt><span class="section"><a href="raptor2-changes-1-4-21-to-2-0-0.html#raptor2-changes-changed-1-4-21-to-2-0-0">Changed functions and types</a></span></dt>
+</dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-3-to-2-0-4.html">Changes between raptor2 2.0.3 and 2.0.4</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-3-to-2-0-4.html#raptor2-changes-new-2-0-3-to-2-0-4">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-4-to-2-0-5.html">Changes between raptor2 2.0.4 and 2.0.5</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-4-to-2-0-5.html#raptor2-changes-new-2-0-4-to-2-0-5">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-5-to-2-0-6.html">Changes between raptor2 2.0.5 and 2.0.6</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-5-to-2-0-6.html#raptor2-changes-new-2-0-5-to-2-0-6">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-6-to-2-0-7.html">Changes between raptor2 2.0.6 and 2.0.7</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-6-to-2-0-7.html#raptor2-changes-new-2-0-6-to-2-0-7">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-7-to-2-0-8.html">Changes between raptor2 2.0.7 and 2.0.8</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-7-to-2-0-8.html#raptor2-changes-new-2-0-7-to-2-0-8">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-9-to-2-0-10.html">Changes between raptor2 2.0.9 and 2.0.10</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-9-to-2-0-10.html#raptor2-changes-new-2-0-9-to-2-0-10">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-10-to-2-0-11.html">Changes between raptor2 2.0.10 and 2.0.11</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-10-to-2-0-11.html#raptor2-changes-new-2-0-10-to-2-0-11">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-11-to-2-0-12.html">Changes between raptor2 2.0.11 and 2.0.12</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-11-to-2-0-12.html#raptor2-changes-new-2-0-11-to-2-0-12">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-13-to-2-0-14.html">Changes between raptor2 2.0.13 and 2.0.14</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-13-to-2-0-14.html#raptor2-changes-new-2-0-13-to-2-0-14">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-14-to-2-0-15.html">Changes between raptor2 2.0.14 and 2.0.15</a></span></dt>
+<dd><dl><dt><span class="section"><a href="raptor2-changes-2-0-14-to-2-0-15.html#raptor2-changes-new-2-0-14-to-2-0-15">New functions, types, enums and constants</a></span></dt></dl></dd>
+<dt><span class="section"><a href="raptor2-changes-2-0-15-to-2-0-16.html">Changes between raptor2 2.0.15 and 2.0.16</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="raptor2-changes-2-0-15-to-2-0-16.html#raptor2-changes-new-2-0-15-to-2-0-16">New functions, types, enums and constants</a></span></dt>
+<dt><span class="section"><a href="raptor2-changes-2-0-15-to-2-0-16.html#raptor2-changes-deleted-2-0-15-to-2-0-16">Deleted functions, types, enums and constants</a></span></dt>
+</dl></dd>
+</dl></dd>
+</dl>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/restrict-parser-network-access.html b/docs/html/restrict-parser-network-access.html
new file mode 100644
index 0000000..295d994
--- /dev/null
+++ b/docs/html/restrict-parser-network-access.html
@@ -0,0 +1,152 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Restrict parser network access: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-parsing.html" title="Parsing syntaxes to RDF Triples">
+<link rel="prev" href="tutorial-parser-content.html" title="Provide syntax content to parse">
+<link rel="next" href="tutorial-parser-static-info.html" title="Querying parser static information">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-parsing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-parser-content.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-parser-static-info.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="restrict-parser-network-access"></a>Restrict parser network access</h2></div></div></div>
+<p>
+Parsing can cause network requests to be performed, especially
+if a URI is given as an argument such as with
+<a class="link" href="raptor2-section-parser.html#raptor-parser-parse-uri" title="raptor_parser_parse_uri ()"><code class="function">raptor_parser_parse_uri()</code></a>
+however there may also be indirect requests such as with the
+GRDDL parser that retrieves URIs depending on the results of
+initial parse requests. The URIs requested may not be wanted
+to be fetched or need to be filtered, and this can be done in
+three ways.
+</p>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="tutorial-filter-network-with-feature"></a>Filtering parser network requests with option <a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-NO-NET:CAPS"><code class="literal">RAPTOR_OPTION_NO_NET</code></a>
+</h3></div></div></div>
+<p>
+The parser option
+<a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-NO-NET:CAPS"><code class="literal">RAPTOR_OPTION_NO_NET</code></a>
+can be set with
+<a class="link" href="raptor2-section-parser.html#raptor-parser-set-option" title="raptor_parser_set_option ()"><code class="function">raptor_parser_set_option()</code></a>
+and forbids all network requests. There is no customisation with
+this approach, for that see the URI filter in the next section.
+</p>
+<pre class="programlisting">
+ rdf_parser = raptor_new_parser(world, "rdfxml");
+
+ /* Disable internal network requests */
+ raptor_parser_set_option(rdf_parser, RAPTOR_OPTION_NO_NET, NULL, 1);
+</pre>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="tutorial-filter-network-www-uri-filter"></a>Filtering parser network requests with <a class="link" href="raptor2-section-www.html#raptor-www-set-uri-filter" title="raptor_www_set_uri_filter ()"><code class="function">raptor_www_set_uri_filter()</code></a>
+</h3></div></div></div>
+<p>
+The
+<a class="link" href="raptor2-section-www.html#raptor-www-set-uri-filter" title="raptor_www_set_uri_filter ()"><code class="function">raptor_www_set_uri_filter()</code></a>
+
+allows setting of a filtering function to operate on all URIs
+retrieved by a WWW connection. This connection can be used in
+parsing when operated by hand.
+</p>
+<pre class="programlisting">
+void write_bytes_handler(raptor_www* www, void *user_data,
+ const void *ptr, size_t size, size_t nmemb) {
+{
+ raptor_parser* rdf_parser = (raptor_parser*)user_data;
+
+ raptor_parser_parse_chunk(rdf_parser, (unsigned char*)ptr, size*nmemb, 0);
+}
+
+int uri_filter(void* filter_user_data, raptor_uri* uri) {
+ /* return non-0 to forbid the request */
+}
+
+int main(int argc, char *argv[]) {
+ ...
+
+ rdf_parser = raptor_new_parser(world, "rdfxml");
+ www = raptor_new_www(world);
+
+ /* filter all URI requests */
+ raptor_www_set_uri_filter(www, uri_filter, filter_user_data);
+
+ /* make WWW write bytes to parser */
+ raptor_www_set_write_bytes_handler(www, write_bytes_handler, rdf_parser);
+
+ raptor_parser_parse_start(rdf_parser, uri);
+ raptor_www_fetch(www, uri);
+ /* tell the parser that we are done */
+ raptor_parser_parse_chunk(rdf_parser, NULL, 0, 1);
+
+ raptor_free_www(www);
+ raptor_free_parser(rdf_parser);
+
+ ...
+}
+
+</pre>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="tutorial-filter-network-parser-uri-filter"></a>Filtering parser network requests with <a class="link" href="raptor2-section-parser.html#raptor-parser-set-uri-filter" title="raptor_parser_set_uri_filter ()"><code class="function">raptor_parser_set_uri_filter()</code></a>
+</h3></div></div></div>
+<p>
+The
+<a class="link" href="raptor2-section-parser.html#raptor-parser-set-uri-filter" title="raptor_parser_set_uri_filter ()"><code class="function">raptor_parser_set_uri_filter()</code></a>
+allows setting of a filtering function to operate on all URIs that
+the parser sees. This operates on the internal raptor_www object
+used inside parsing to retrieve URIs, similar to that described in
+the <a class="link" href="restrict-parser-network-access.html#tutorial-filter-network-www-uri-filter" title="Filtering parser network requests with raptor_www_set_uri_filter()">previous section</a>.
+</p>
+<pre class="programlisting">
+ int uri_filter(void* filter_user_data, raptor_uri* uri) {
+ /* return non-0 to forbid the request */
+ }
+
+ rdf_parser = raptor_new_parser(world, "rdfxml");
+
+ raptor_parser_set_uri_filter(rdf_parser, uri_filter, filter_user_data);
+
+ /* parse content as normal */
+ raptor_parser_parse_uri(rdf_parser, uri, base_uri);
+</pre>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="tutorial-filter-network-parser-timeout"></a>Setting timeout for parser network requests with option <a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-WWW-TIMEOUT:CAPS"><code class="literal">RAPTOR_OPTION_WWW_TIMEOUT</code></a>
+</h3></div></div></div>
+<p>If the value of option
+<a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-WWW-TIMEOUT:CAPS"><code class="literal">RAPTOR_OPTION_WWW_TIMEOUT</code></a>
+if set to a number &gt;0, it is used as the timeout in seconds
+for retrieving of URIs during parsing (primarily for GRDDL).
+This uses
+<a class="link" href="raptor2-section-www.html#raptor-www-set-connection-timeout" title="raptor_www_set_connection_timeout ()"><code class="function">raptor_www_set_connection_timeout()</code></a>
+internally.
+</p>
+<pre class="programlisting">
+ rdf_parser = raptor_new_parser(world, "grddl");
+
+ /* set internal URI retrieval maximum time to 5 seconds */
+ raptor_parser_set_option(rdf_parser, RAPTOR_OPTION_WWW_TIMEOUT, NULL, 5);
+</pre>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/right-insensitive.png b/docs/html/right-insensitive.png
new file mode 100644
index 0000000..763208d
--- /dev/null
+++ b/docs/html/right-insensitive.png
Binary files differ
diff --git a/docs/html/right.png b/docs/html/right.png
new file mode 100644
index 0000000..eb90dd4
--- /dev/null
+++ b/docs/html/right.png
Binary files differ
diff --git a/docs/html/serializer-atom.html b/docs/html/serializer-atom.html
new file mode 100644
index 0000000..39bb256
--- /dev/null
+++ b/docs/html/serializer-atom.html
@@ -0,0 +1,46 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Atom 1.0 serializer (name atom): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-serializers.html" title="Serializers in Raptor (triples to syntax)">
+<link rel="prev" href="raptor-serializers.html" title="Serializers in Raptor (triples to syntax)">
+<link rel="next" href="serializer-json.html" title="JSON serializers (name json and name json-triples)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-serializers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="raptor-serializers.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="serializer-json.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="serializer-atom"></a>Atom 1.0 serializer (name <code class="literal">atom</code>)</h2></div></div></div>
+<p>A serializer to the Atom 1.0 syndication format defined in IETF
+<a class="ulink" href="http://www.ietf.org/rfc/rfc4287.txt" target="_top">RFC 4287</a>.
+This serializes an RDF graph written in the RSS 1.0 data model
+to Atom 1.0 plus optionally writes extra RDF triples.
+</p>
+<p>
+The extra RDF triples are written into an at:md metadata block, along
+with at:feedmap and at:entrymap elements to describe the RSS 1.0
+predicate to Atom 1.0 elements mappings for the feed and entry blocks
+respecively. The extra triples are enabled when serializer option
+'rssTriples' is set to string value 'atom-triples'.
+</p>
+<p>
+If no atom triples content type field (at:contentType predicate) is
+given, the type is set to 'text/html' when writing out an
+atom:content field in Atom 1.0 format.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/serializer-dot.html b/docs/html/serializer-dot.html
new file mode 100644
index 0000000..6b8f9e6
--- /dev/null
+++ b/docs/html/serializer-dot.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>GraphViz dot serializer (name dot): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-serializers.html" title="Serializers in Raptor (triples to syntax)">
+<link rel="prev" href="serializer-rss-1-0.html" title="RSS 1.0 serializer (name rss-1.0)">
+<link rel="next" href="raptor2-section-world.html" title="section-world">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-serializers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="serializer-rss-1-0.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="raptor2-section-world.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="serializer-dot"></a>GraphViz dot serializer (name <code class="literal">dot</code>)</h2></div></div></div>
+<p>A serializer to the
+<a class="ulink" href="http://www.graphviz.org/" target="_top">GraphViz</a> DOT format.
+</p>
+<p>This serializer has a set of associated serializer options
+that may be set to customise the output colors using
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-set-option" title="raptor_serializer_set_option ()"><code class="function">raptor_serializer_set_option()</code></a>
+with the appropriate option name and value as given below.
+</p>
+<pre class="programlisting">
+RAPTOR_OPTION_RESOURCE_BORDER Border color of resource nodes
+RAPTOR_OPTION_LITERAL_BORDER Border color of literal nodes
+RAPTOR_OPTION_BNODE_BORDER Border color of blank nodes
+RAPTOR_OPTION_RESOURCE_FILL Fill color of resource nodes
+RAPTOR_OPTION_LITERAL_FILL Fill color of literal nodes
+RAPTOR_OPTION_BNODE_FILL Fill color of blank nodes
+</pre>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/serializer-json.html b/docs/html/serializer-json.html
new file mode 100644
index 0000000..e4205cd
--- /dev/null
+++ b/docs/html/serializer-json.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>JSON serializers (name json and name json-triples): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-serializers.html" title="Serializers in Raptor (triples to syntax)">
+<link rel="prev" href="serializer-atom.html" title="Atom 1.0 serializer (name atom)">
+<link rel="next" href="serializer-mkr.html" title="mKR serializer - default (name mkr)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-serializers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="serializer-atom.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="serializer-mkr.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="serializer-json"></a>JSON serializers (name <code class="literal">json</code> and name <code class="literal">json-triples</code>)</h2></div></div></div>
+<p>Two serializers that write JSON in either a resource-centric
+format with name <code class="literal">json</code> and in a triple-dump format
+with name <code class="literal">json-triples</code>. The resource-centric
+format is based on the Talis
+<a class="ulink" href="http://n2.talis.com/wiki/RDF_JSON_Specification" target="_top">RDF/JSON</a>
+design and the triple-dump format based on the SPARQL query results in JSON
+design.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/serializer-mkr.html b/docs/html/serializer-mkr.html
new file mode 100644
index 0000000..2d81e77
--- /dev/null
+++ b/docs/html/serializer-mkr.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>mKR serializer - default (name mkr): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-serializers.html" title="Serializers in Raptor (triples to syntax)">
+<link rel="prev" href="serializer-json.html" title="JSON serializers (name json and name json-triples)">
+<link rel="next" href="serializer-nquads.html" title="N-Quads serializer - default (name nquads)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-serializers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="serializer-json.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="serializer-nquads.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="serializer-mkr"></a>mKR serializer - default (name <code class="literal">mkr</code>)</h2></div></div></div>
+<p>A serializer for the
+<a class="ulink" href="http://contextknowledgesystems.org/CKS.html" target="_top">mKR (my Knowledge Representation) Language</a>
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/serializer-nquads.html b/docs/html/serializer-nquads.html
new file mode 100644
index 0000000..48e14d0
--- /dev/null
+++ b/docs/html/serializer-nquads.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>N-Quads serializer - default (name nquads): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-serializers.html" title="Serializers in Raptor (triples to syntax)">
+<link rel="prev" href="serializer-mkr.html" title="mKR serializer - default (name mkr)">
+<link rel="next" href="serializer-ntriples.html" title="N-Triples serializer - default (name ntriples)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-serializers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="serializer-mkr.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="serializer-ntriples.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="serializer-nquads"></a>N-Quads serializer - default (name <code class="literal">nquads</code>)</h2></div></div></div>
+<p>A serializer to the
+<a class="ulink" href="http://sw.deri.org/2008/07/n-quads/" target="_top">N-Quads</a>
+extension to N-Triples, providing an optional 4th context graph term
+at the end of the line when a named graph is associated with a triple
+(the triple is contained in a named graph). This is useful for seeing the
+output of named graphs or dealing with SPARQL Datasets.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/serializer-ntriples.html b/docs/html/serializer-ntriples.html
new file mode 100644
index 0000000..1745970
--- /dev/null
+++ b/docs/html/serializer-ntriples.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>N-Triples serializer - default (name ntriples): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-serializers.html" title="Serializers in Raptor (triples to syntax)">
+<link rel="prev" href="serializer-nquads.html" title="N-Quads serializer - default (name nquads)">
+<link rel="next" href="serializer-rdfxml.html" title="RDF/XML serializer (name rdfxml)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-serializers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="serializer-nquads.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="serializer-rdfxml.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="serializer-ntriples"></a>N-Triples serializer - default (name <code class="literal">ntriples</code>)</h2></div></div></div>
+<p>A serializer to the
+<a class="ulink" href="http://www.w3.org/TR/rdf-testcases/#ntriples" target="_top">N-Triples</a>
+syntax as used by the
+<a class="ulink" href="http://www.w3.org/2001/sw/RDFCore/" target="_top">W3C RDF Core working group</a>
+for the <a class="ulink" href="http://www.w3.org/TR/rdf-testcases/" target="_top">RDF Test Cases</a>.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/serializer-rdfxml-abbrev.html b/docs/html/serializer-rdfxml-abbrev.html
new file mode 100644
index 0000000..38f1885
--- /dev/null
+++ b/docs/html/serializer-rdfxml-abbrev.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RDF/XML (Abbreviated) serializer (name rdfxml-abbrev): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-serializers.html" title="Serializers in Raptor (triples to syntax)">
+<link rel="prev" href="serializer-rdfxml.html" title="RDF/XML serializer (name rdfxml)">
+<link rel="next" href="serializer-rdfxml-xmp.html" title="RDF/XML (XMP Profile) serializer (name rdfxml-xmp)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-serializers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="serializer-rdfxml.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="serializer-rdfxml-xmp.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="serializer-rdfxml-abbrev"></a>RDF/XML (Abbreviated) serializer (name <code class="literal">rdfxml-abbrev</code>)</h2></div></div></div>
+<p>An RDF/XML serializer using several of the RDF/XML
+abbreviations to provide a more compact readable format, at the cost
+of some pre-processing. This is suitable for small documents.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/serializer-rdfxml-xmp.html b/docs/html/serializer-rdfxml-xmp.html
new file mode 100644
index 0000000..53b8d8e
--- /dev/null
+++ b/docs/html/serializer-rdfxml-xmp.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RDF/XML (XMP Profile) serializer (name rdfxml-xmp): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-serializers.html" title="Serializers in Raptor (triples to syntax)">
+<link rel="prev" href="serializer-rdfxml-abbrev.html" title="RDF/XML (Abbreviated) serializer (name rdfxml-abbrev)">
+<link rel="next" href="serializer-turtle.html" title="Turtle serializer (name turtle)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-serializers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="serializer-rdfxml-abbrev.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="serializer-turtle.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="serializer-rdfxml-xmp"></a>RDF/XML (XMP Profile) serializer (name <code class="literal">rdfxml-xmp</code>)</h2></div></div></div>
+<p>A serializer to the Adobe XMP profile of RDF/XML suitable for
+embedding inside an external document. Embedding means that the
+XML header is omitted, wheras for other XML serializings, it is
+always emitted.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/serializer-rdfxml.html b/docs/html/serializer-rdfxml.html
new file mode 100644
index 0000000..def1963
--- /dev/null
+++ b/docs/html/serializer-rdfxml.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RDF/XML serializer (name rdfxml): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-serializers.html" title="Serializers in Raptor (triples to syntax)">
+<link rel="prev" href="serializer-ntriples.html" title="N-Triples serializer - default (name ntriples)">
+<link rel="next" href="serializer-rdfxml-abbrev.html" title="RDF/XML (Abbreviated) serializer (name rdfxml-abbrev)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-serializers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="serializer-ntriples.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="serializer-rdfxml-abbrev.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="serializer-rdfxml"></a>RDF/XML serializer (name <code class="literal">rdfxml</code>)</h2></div></div></div>
+<p>A serializer to the standard
+<a class="ulink" href="http://www.w3.org/TR/rdf-syntax-grammar/" target="_top">RDF/XML syntax</a>
+as revised by the
+<a class="ulink" href="http://www.w3.org/2001/sw/RDFCore/" target="_top">W3C RDF Core working group</a>.
+This writes a plain triple-based RDF/XML serialization with no
+optimisation or pretty-printing.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/serializer-rss-1-0.html b/docs/html/serializer-rss-1-0.html
new file mode 100644
index 0000000..8ccccba
--- /dev/null
+++ b/docs/html/serializer-rss-1-0.html
@@ -0,0 +1,38 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>RSS 1.0 serializer (name rss-1.0): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-serializers.html" title="Serializers in Raptor (triples to syntax)">
+<link rel="prev" href="serializer-turtle.html" title="Turtle serializer (name turtle)">
+<link rel="next" href="serializer-dot.html" title="GraphViz dot serializer (name dot)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-serializers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="serializer-turtle.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="serializer-dot.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="serializer-rss-1-0"></a>RSS 1.0 serializer (name <code class="literal">rss-1.0</code>)</h2></div></div></div>
+<p>A serializer to the
+<a class="ulink" href="http://purl.org/rss/1.0/spec" target="_top">RDF Site Summary (RSS) 1.0</a>
+format for describing a syndication feed of items.
+</p>
+<p>By default this only serializes the RDF triples that describe
+the RSS channel and items found. If serialiser option 'rssTriples'
+is set to value 'rdf-xml' then any additional triples found will
+be included in the channel or item output.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/serializer-turtle.html b/docs/html/serializer-turtle.html
new file mode 100644
index 0000000..c8fc1f5
--- /dev/null
+++ b/docs/html/serializer-turtle.html
@@ -0,0 +1,34 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Turtle serializer (name turtle): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="raptor-serializers.html" title="Serializers in Raptor (triples to syntax)">
+<link rel="prev" href="serializer-rdfxml-xmp.html" title="RDF/XML (XMP Profile) serializer (name rdfxml-xmp)">
+<link rel="next" href="serializer-rss-1-0.html" title="RSS 1.0 serializer (name rss-1.0)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="raptor-serializers.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="serializer-rdfxml-xmp.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="serializer-rss-1-0.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="serializer-turtle"></a>Turtle serializer (name <code class="literal">turtle</code>)</h2></div></div></div>
+<p>A serializer for the
+<a class="ulink" href="http://www.dajobe.org/2004/01/turtle/" target="_top">Turtle Terse RDF Triple Language</a>
+syntax, designed as a useful subset of
+<a class="ulink" href="http://www.w3.org/DesignIssues/Notation3" target="_top">Notation 3</a>.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/style.css b/docs/html/style.css
new file mode 100644
index 0000000..2eeda1f
--- /dev/null
+++ b/docs/html/style.css
@@ -0,0 +1,530 @@
+body
+{
+ font-family: cantarell, sans-serif;
+}
+.synopsis, .classsynopsis
+{
+ /* tango:aluminium 1/2 */
+ background: #eeeeec;
+ background: rgba(238, 238, 236, 0.5);
+ border: solid 1px rgb(238, 238, 236);
+ padding: 0.5em;
+}
+.programlisting
+{
+ /* tango:sky blue 0/1 */
+ /* fallback for no rgba support */
+ background: #e6f3ff;
+ border: solid 1px #729fcf;
+ background: rgba(114, 159, 207, 0.1);
+ border: solid 1px rgba(114, 159, 207, 0.2);
+ padding: 0.5em;
+}
+.variablelist
+{
+ padding: 4px;
+ margin-left: 3em;
+}
+.variablelist td:first-child
+{
+ vertical-align: top;
+}
+
+span.nowrap {
+ white-space: nowrap;
+}
+
+div.gallery-float
+{
+ float: left;
+ padding: 10px;
+}
+div.gallery-float img
+{
+ border-style: none;
+}
+div.gallery-spacer
+{
+ clear: both;
+}
+
+a, a:visited
+{
+ text-decoration: none;
+ /* tango:sky blue 2 */
+ color: #3465a4;
+}
+a:hover
+{
+ text-decoration: underline;
+ /* tango:sky blue 1 */
+ color: #729fcf;
+}
+
+.function_type,
+.variable_type,
+.property_type,
+.signal_type,
+.parameter_name,
+.struct_member_name,
+.union_member_name,
+.define_keyword,
+.datatype_keyword,
+.typedef_keyword
+{
+ text-align: right;
+}
+
+/* dim non-primary columns */
+.c_punctuation,
+.function_type,
+.variable_type,
+.property_type,
+.signal_type,
+.define_keyword,
+.datatype_keyword,
+.typedef_keyword,
+.property_flags,
+.signal_flags,
+.parameter_annotations,
+.enum_member_annotations,
+.struct_member_annotations,
+.union_member_annotations
+{
+ color: #888a85;
+}
+
+.function_type a,
+.function_type a:visited,
+.function_type a:hover,
+.property_type a,
+.property_type a:visited,
+.property_type a:hover,
+.signal_type a,
+.signal_type a:visited,
+.signal_type a:hover,
+.signal_flags a,
+.signal_flags a:visited,
+.signal_flags a:hover
+{
+ color: #729fcf;
+}
+
+td p
+{
+ margin: 0.25em;
+}
+
+div.informaltable table[border="1"],
+div.table table
+{
+ border-collapse: collapse;
+ border-spacing: 0px;
+ /* tango:aluminium 3 */
+ border: solid 1px #babdb6;
+}
+
+div.informaltable table[border="1"] td,
+div.informaltable table th,
+div.table table td, div.table table th
+{
+ /* tango:aluminium 3 */
+ border: solid 1px #babdb6;
+ padding: 3px;
+ vertical-align: top;
+}
+
+div.informaltable table[border="1"] th,
+div.table table th
+{
+ /* tango:aluminium 2 */
+ background-color: #d3d7cf;
+}
+
+h4
+{
+ color: #555753;
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+hr
+{
+ /* tango:aluminium 1 */
+ color: #d3d7cf;
+ background: #d3d7cf;
+ border: none 0px;
+ height: 1px;
+ clear: both;
+ margin: 2.0em 0em 2.0em 0em;
+}
+
+dl.toc dt
+{
+ padding-bottom: 0.25em;
+}
+
+dl.toc > dt
+{
+ padding-top: 0.25em;
+ padding-bottom: 0.25em;
+ font-weight: bold;
+}
+
+dl.toc > dl
+{
+ padding-bottom: 0.5em;
+}
+
+.parameter
+{
+ font-style: normal;
+}
+
+.footer
+{
+ padding-top: 3.5em;
+ /* tango:aluminium 3 */
+ color: #babdb6;
+ text-align: center;
+ font-size: 80%;
+}
+
+.informalfigure,
+.figure
+{
+ margin: 1em;
+}
+
+.informalexample,
+.example
+{
+ margin-top: 1em;
+ margin-bottom: 1em;
+}
+
+.warning
+{
+ /* tango:orange 0/1 */
+ background: #ffeed9;
+ background: rgba(252, 175, 62, 0.1);
+ border-color: #ffb04f;
+ border-color: rgba(252, 175, 62, 0.2);
+}
+.note
+{
+ /* tango:chameleon 0/0.5 */
+ background: #d8ffb2;
+ background: rgba(138, 226, 52, 0.1);
+ border-color: #abf562;
+ border-color: rgba(138, 226, 52, 0.2);
+}
+div.blockquote
+{
+ border-color: #eeeeec;
+}
+.note, .warning, div.blockquote
+{
+ padding: 0.5em;
+ border-width: 1px;
+ border-style: solid;
+ margin: 2em;
+}
+.note p, .warning p
+{
+ margin: 0;
+}
+
+div.warning h3.title,
+div.note h3.title
+{
+ display: none;
+}
+
+p + div.section
+{
+ margin-top: 1em;
+}
+
+div.refnamediv,
+div.refsynopsisdiv,
+div.refsect1,
+div.refsect2,
+div.toc,
+div.section
+{
+ margin-bottom: 1em;
+}
+
+/* blob links */
+h2 .extralinks, h3 .extralinks
+{
+ float: right;
+ /* tango:aluminium 3 */
+ color: #babdb6;
+ font-size: 80%;
+ font-weight: normal;
+}
+
+.lineart
+{
+ color: #d3d7cf;
+ font-weight: normal;
+}
+
+.annotation
+{
+ /* tango:aluminium 5 */
+ color: #555753;
+ font-weight: normal;
+}
+
+.structfield
+{
+ font-style: normal;
+ font-weight: normal;
+}
+
+acronym,abbr
+{
+ border-bottom: 1px dotted gray;
+}
+
+.listing_frame {
+ /* tango:sky blue 1 */
+ border: solid 1px #729fcf;
+ border: solid 1px rgba(114, 159, 207, 0.2);
+ padding: 0px;
+}
+
+.listing_lines, .listing_code {
+ margin-top: 0px;
+ margin-bottom: 0px;
+ padding: 0.5em;
+}
+.listing_lines {
+ /* tango:sky blue 0.5 */
+ background: #a6c5e3;
+ background: rgba(114, 159, 207, 0.2);
+ /* tango:aluminium 6 */
+ color: #2e3436;
+}
+.listing_code {
+ /* tango:sky blue 0 */
+ background: #e6f3ff;
+ background: rgba(114, 159, 207, 0.1);
+}
+.listing_code .programlisting {
+ /* override from previous */
+ border: none 0px;
+ padding: 0px;
+ background: none;
+}
+.listing_lines pre, .listing_code pre {
+ margin: 0px;
+}
+
+@media screen {
+ /* these have a <sup> as a first child, but since there are no parent selectors
+ * we can't use that. */
+ a.footnote
+ {
+ position: relative;
+ top: 0em ! important;
+ }
+ /* this is needed so that the local anchors are displayed below the naviagtion */
+ div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name]
+ {
+ display: inline-block;
+ position: relative;
+ top:-5em;
+ }
+ /* this seems to be a bug in the xsl style sheets when generating indexes */
+ div.index div.index
+ {
+ top: 0em;
+ }
+ /* make space for the fixed navigation bar and add space at the bottom so that
+ * link targets appear somewhat close to top
+ */
+ body
+ {
+ padding-top: 2.5em;
+ padding-bottom: 500px;
+ max-width: 60em;
+ }
+ p
+ {
+ max-width: 60em;
+ }
+ /* style and size the navigation bar */
+ table.navigation#top
+ {
+ position: fixed;
+ background: #e2e2e2;
+ border-bottom: solid 1px #babdb6;
+ border-spacing: 5px;
+ margin-top: 0;
+ margin-bottom: 0;
+ top: 0;
+ left: 0;
+ z-index: 10;
+ }
+ table.navigation#top td
+ {
+ padding-left: 6px;
+ padding-right: 6px;
+ }
+ .navigation a, .navigation a:visited
+ {
+ /* tango:sky blue 3 */
+ color: #204a87;
+ }
+ .navigation a:hover
+ {
+ /* tango:sky blue 2 */
+ color: #3465a4;
+ }
+ td.shortcuts
+ {
+ /* tango:sky blue 2 */
+ color: #3465a4;
+ font-size: 80%;
+ white-space: nowrap;
+ }
+ td.shortcuts .dim
+ {
+ color: #babdb6;
+ }
+ .navigation .title
+ {
+ font-size: 80%;
+ max-width: none;
+ margin: 0px;
+ font-weight: normal;
+ }
+}
+@media screen and (min-width: 60em) {
+ /* screen larger than 60em */
+ body { margin: auto; }
+}
+@media screen and (max-width: 60em) {
+ /* screen less than 60em */
+ #nav_hierarchy { display: none; }
+ #nav_interfaces { display: none; }
+ #nav_prerequisites { display: none; }
+ #nav_derived_interfaces { display: none; }
+ #nav_implementations { display: none; }
+ #nav_child_properties { display: none; }
+ #nav_style_properties { display: none; }
+ #nav_index { display: none; }
+ #nav_glossary { display: none; }
+ .gallery_image { display: none; }
+ .property_flags { display: none; }
+ .signal_flags { display: none; }
+ .parameter_annotations { display: none; }
+ .enum_member_annotations { display: none; }
+ .struct_member_annotations { display: none; }
+ .union_member_annotations { display: none; }
+ /* now that a column is hidden, optimize space */
+ col.parameters_name { width: auto; }
+ col.parameters_description { width: auto; }
+ col.struct_members_name { width: auto; }
+ col.struct_members_description { width: auto; }
+ col.enum_members_name { width: auto; }
+ col.enum_members_description { width: auto; }
+ col.union_members_name { width: auto; }
+ col.union_members_description { width: auto; }
+ .listing_lines { display: none; }
+}
+@media print {
+ table.navigation {
+ visibility: collapse;
+ display: none;
+ }
+ div.titlepage table.navigation {
+ visibility: visible;
+ display: table;
+ background: #e2e2e2;
+ border: solid 1px #babdb6;
+ margin-top: 0;
+ margin-bottom: 0;
+ top: 0;
+ left: 0;
+ height: 3em;
+ }
+}
+
+pre { line-height: 125%; }
+td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
+span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
+td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
+span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
+.hll { background-color: #ffffcc }
+.c { color: #3D7B7B; font-style: italic } /* Comment */
+.err { border: 1px solid #FF0000 } /* Error */
+.k { color: #008000; font-weight: bold } /* Keyword */
+.o { color: #666666 } /* Operator */
+.ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */
+.cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */
+.cp { color: #9C6500 } /* Comment.Preproc */
+.cpf { color: #3D7B7B; font-style: italic } /* Comment.PreprocFile */
+.c1 { color: #3D7B7B; font-style: italic } /* Comment.Single */
+.cs { color: #3D7B7B; font-style: italic } /* Comment.Special */
+.gd { color: #A00000 } /* Generic.Deleted */
+.ge { font-style: italic } /* Generic.Emph */
+.gr { color: #E40000 } /* Generic.Error */
+.gh { color: #000080; font-weight: bold } /* Generic.Heading */
+.gi { color: #008400 } /* Generic.Inserted */
+.go { color: #717171 } /* Generic.Output */
+.gp { color: #000080; font-weight: bold } /* Generic.Prompt */
+.gs { font-weight: bold } /* Generic.Strong */
+.gu { color: #800080; font-weight: bold } /* Generic.Subheading */
+.gt { color: #0044DD } /* Generic.Traceback */
+.kc { color: #008000; font-weight: bold } /* Keyword.Constant */
+.kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
+.kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
+.kp { color: #008000 } /* Keyword.Pseudo */
+.kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
+.kt { color: #B00040 } /* Keyword.Type */
+.m { color: #666666 } /* Literal.Number */
+.s { color: #BA2121 } /* Literal.String */
+.na { color: #687822 } /* Name.Attribute */
+.nb { color: #008000 } /* Name.Builtin */
+.nc { color: #0000FF; font-weight: bold } /* Name.Class */
+.no { color: #880000 } /* Name.Constant */
+.nd { color: #AA22FF } /* Name.Decorator */
+.ni { color: #717171; font-weight: bold } /* Name.Entity */
+.ne { color: #CB3F38; font-weight: bold } /* Name.Exception */
+.nf { color: #0000FF } /* Name.Function */
+.nl { color: #767600 } /* Name.Label */
+.nn { color: #0000FF; font-weight: bold } /* Name.Namespace */
+.nt { color: #008000; font-weight: bold } /* Name.Tag */
+.nv { color: #19177C } /* Name.Variable */
+.ow { color: #AA22FF; font-weight: bold } /* Operator.Word */
+.w { color: #bbbbbb } /* Text.Whitespace */
+.mb { color: #666666 } /* Literal.Number.Bin */
+.mf { color: #666666 } /* Literal.Number.Float */
+.mh { color: #666666 } /* Literal.Number.Hex */
+.mi { color: #666666 } /* Literal.Number.Integer */
+.mo { color: #666666 } /* Literal.Number.Oct */
+.sa { color: #BA2121 } /* Literal.String.Affix */
+.sb { color: #BA2121 } /* Literal.String.Backtick */
+.sc { color: #BA2121 } /* Literal.String.Char */
+.dl { color: #BA2121 } /* Literal.String.Delimiter */
+.sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
+.s2 { color: #BA2121 } /* Literal.String.Double */
+.se { color: #AA5D1F; font-weight: bold } /* Literal.String.Escape */
+.sh { color: #BA2121 } /* Literal.String.Heredoc */
+.si { color: #A45A77; font-weight: bold } /* Literal.String.Interpol */
+.sx { color: #008000 } /* Literal.String.Other */
+.sr { color: #A45A77 } /* Literal.String.Regex */
+.s1 { color: #BA2121 } /* Literal.String.Single */
+.ss { color: #19177C } /* Literal.String.Symbol */
+.bp { color: #008000 } /* Name.Builtin.Pseudo */
+.fm { color: #0000FF } /* Name.Function.Magic */
+.vc { color: #19177C } /* Name.Variable.Class */
+.vg { color: #19177C } /* Name.Variable.Global */
+.vi { color: #19177C } /* Name.Variable.Instance */
+.vm { color: #19177C } /* Name.Variable.Magic */
+.il { color: #666666 } /* Literal.Number.Integer.Long */ \ No newline at end of file
diff --git a/docs/html/tutorial-initialising-finishing.html b/docs/html/tutorial-initialising-finishing.html
new file mode 100644
index 0000000..cf94a6e
--- /dev/null
+++ b/docs/html/tutorial-initialising-finishing.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Initialising and Finishing using the Library: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial.html" title="Part I. Raptor Tutorial">
+<link rel="prev" href="tutorial.html" title="Part I. Raptor Tutorial">
+<link rel="next" href="tutorial-querying-functionality.html" title="Listing built-in functionality">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-querying-functionality.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="chapter">
+<div class="titlepage"><div><div><h2 class="title">
+<a name="tutorial-initialising-finishing"></a>Initialising and Finishing using the Library</h2></div></div></div>
+<p>Raptor requires initialising a raptor_world object before using
+any of the classes which take the world object as an argument in
+their constructors. The function to make the world object is
+raptor_new_world() and the destructor raptor_free_world().
+</p>
+<pre class="programlisting">
+ raptor_world* world;
+ world = raptor_new_world();
+ ...
+ raptor_free_world(world);
+</pre>
+<p>
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-parse-strictness.html b/docs/html/tutorial-parse-strictness.html
new file mode 100644
index 0000000..5a90b08
--- /dev/null
+++ b/docs/html/tutorial-parse-strictness.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Set the parsing strictness: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-parsing.html" title="Parsing syntaxes to RDF Triples">
+<link rel="prev" href="tutorial-parser-set-namespace-handler.html" title="Set namespace declared handler">
+<link rel="next" href="tutorial-parser-content.html" title="Provide syntax content to parse">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-parsing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-parser-set-namespace-handler.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-parser-content.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-parse-strictness"></a>Set the parsing strictness</h2></div></div></div>
+<p>
+<a class="link" href="raptor2-section-parser.html#raptor-parser-set-option" title="raptor_parser_set_option ()"><code class="function">raptor_parser_set_option()</code></a>
+with option
+<a class="link" href="raptor2-section-option.html#RAPTOR-OPTION-STRICT:CAPS"><code class="literal">RAPTOR_OPTION_STRICT</code></a>
+allows setting of the parser strictness flag. The default is lax parsing,
+accepting older or deprecated syntax forms but may generate a warning. Setting
+to non-0 (true) will cause parser errors to be generated in these cases.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-parser-abort.html b/docs/html/tutorial-parser-abort.html
new file mode 100644
index 0000000..754cb26
--- /dev/null
+++ b/docs/html/tutorial-parser-abort.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Aborting parsing: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-parsing.html" title="Parsing syntaxes to RDF Triples">
+<link rel="prev" href="tutorial-parser-runtime-info.html" title="Querying parser run-time information">
+<link rel="next" href="tutorial-parser-destroy.html" title="Destroy the parser">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-parsing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-parser-runtime-info.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-parser-destroy.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-parser-abort"></a>Aborting parsing</h2></div></div></div>
+<p>
+<a class="link" href="raptor2-section-parser.html#raptor-parser-parse-abort" title="raptor_parser_parse_abort ()"><code class="function">raptor_parser_parse_abort()</code></a>
+allows the current parsing to be aborted, at which point no further
+triples will be passed to callbacks and the parser will attempt to
+return control to the application. This is most useful when called
+inside a handler function which allows the application to decide to stop
+an active parsing.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-parser-content.html b/docs/html/tutorial-parser-content.html
new file mode 100644
index 0000000..fc7828b
--- /dev/null
+++ b/docs/html/tutorial-parser-content.html
@@ -0,0 +1,150 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Provide syntax content to parse: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-parsing.html" title="Parsing syntaxes to RDF Triples">
+<link rel="prev" href="tutorial-parse-strictness.html" title="Set the parsing strictness">
+<link rel="next" href="restrict-parser-network-access.html" title="Restrict parser network access">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-parsing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-parse-strictness.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="restrict-parser-network-access.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-parser-content"></a>Provide syntax content to parse</h2></div></div></div>
+<p>The operation of turning syntax into RDF triples has several
+alternatives from functions that do most of the work starting from a
+URI to functions that allow passing in data buffers.</p>
+<div class="note">
+<h3 class="title">Parsing and MIME Types</h3>
+The mime type of the retrieved content is not used to choose
+a parser unless the parser is of type <code class="literal">guess</code>.
+The guess parser will send an <code class="literal">Accept:</code> header
+for all known parser syntax mime types (if a URI request is made)
+and based on the response, including the identifiers used,
+pick the appropriate parser to execute. See
+<a class="link" href="raptor2-section-world.html#raptor-world-guess-parser-name" title="raptor_world_guess_parser_name ()"><code class="function">raptor_world_guess_parser_name()</code></a>
+for a full discussion of the inputs to the guessing.
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="parse-from-uri"></a>Parse the content from a URI (<a class="link" href="raptor2-section-parser.html#raptor-parser-parse-uri" title="raptor_parser_parse_uri ()"><code class="function">raptor_parser_parse_uri()</code></a>)</h3></div></div></div>
+<p>The URI is resolved and the content read from it and passed to
+the parser:
+</p>
+<pre class="programlisting">
+ raptor_parser_parse_uri(rdf_parser, uri, base_uri);
+</pre>
+<p>
+The <span class="emphasis"><em>base_uri</em></span> is optional (can be
+<code class="literal">NULL</code>) and will default to the
+<span class="emphasis"><em>uri</em></span>.
+</p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="parse-from-www"></a>Parse the content of a URI using an existing WWW connection (<a class="link" href="raptor2-section-parser.html#raptor-parser-parse-uri-with-connection" title="raptor_parser_parse_uri_with_connection ()"><code class="function">raptor_parser_parse_uri_with_connection()</code></a>)</h3></div></div></div>
+<p>The URI is resolved using an existing WWW connection (for
+example a libcurl CURL handle) to allow for any existing
+WWW configuration to be reused. See
+<a class="link" href="raptor2-section-www.html#raptor-new-www-with-connection" title="raptor_new_www_with_connection ()"><code class="function">raptor_new_www_with_connection</code></a>
+for full details of how this works. The content is then read from the
+result of resolving the URI:
+</p>
+<pre class="programlisting">
+ raptor_parser_parse_uri_with_connection(rdf_parser, uri, base_uri, connection);
+</pre>
+<p>
+The <span class="emphasis"><em>base_uri</em></span> is optional (can be
+<code class="literal">NULL</code>) and will default to the
+<span class="emphasis"><em>uri</em></span>.
+</p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="parse-from-filehandle"></a>Parse the content of a C <code class="literal">FILE*</code> (<a class="link" href="raptor2-section-parser.html#raptor-parser-parse-file-stream" title="raptor_parser_parse_file_stream ()"><code class="function">raptor_parser_parse_file_stream()</code></a>)</h3></div></div></div>
+<p>Parsing can read from a C STDIO file handle:
+</p>
+<pre class="programlisting">
+ stream = fopen(filename, "rb");
+ raptor_parser_parse_file_stream(rdf_parser, stream, filename, base_uri);
+ fclose(stream);
+</pre>
+<p>
+This function can use take an optional <span class="emphasis"><em>filename</em></span> which
+is used in locator error messages.
+The <span class="emphasis"><em>base_uri</em></span> may be required by some parsers
+and if <code class="literal">NULL</code> will cause the parsing to fail.
+This requirement can be checked by looking at the flags in
+the parser description using
+<a class="link" href="raptor2-section-world.html#raptor-world-get-parser-description" title="raptor_world_get_parser_description ()"><code class="function">raptor_world_get_parser_description()</code></a>.
+</p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="parse-from-file-uri"></a>Parse the content of a file URI (<a class="link" href="raptor2-section-parser.html#raptor-parser-parse-file" title="raptor_parser_parse_file ()"><code class="function">raptor_parser_parse_file()</code></a>)</h3></div></div></div>
+<p>Parsing can read from a URI known to be a <code class="literal">file:</code> URI:
+</p>
+<pre class="programlisting">
+ raptor_parser_parse_file(rdf_parser, file_uri, base_uri);
+</pre>
+<p>
+This function requires that the <span class="emphasis"><em>file_uri</em></span> is
+a file URI, that is
+<code class="literal">raptor_uri_uri_string_is_file_uri( raptor_uri_as_string( file_uri) )</code>
+must be true.
+The <span class="emphasis"><em>base_uri</em></span> may be required by some parsers
+and if <code class="literal">NULL</code> will cause the parsing to fail.
+</p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="parse-from-chunks"></a>Parse chunks of syntax content provided by the application (<a class="link" href="raptor2-section-parser.html#raptor-parser-parse-start" title="raptor_parser_parse_start ()"><code class="function">raptor_parser_parse_start()</code></a> and <a class="link" href="raptor2-section-parser.html#raptor-parser-parse-chunk" title="raptor_parser_parse_chunk ()"><code class="function">raptor_parser_parse_chunk()</code></a>)</h3></div></div></div>
+<p>
+</p>
+<pre class="programlisting">
+ raptor_parser_parse_start(rdf_parser, base_uri);
+ while(/* not finished getting content */) {
+ unsigned char *buffer;
+ size_t buffer_len;
+
+ /* ... obtain some syntax content in buffer of size buffer_len bytes ... */
+
+ raptor_parser_parse_chunk(rdf_parser, buffer, buffer_len, 0);
+ }
+ raptor_parser_parse_chunk(rdf_parser, NULL, 0, 1); /* no data and is_end = 1 */
+</pre>
+<p>
+The <span class="emphasis"><em>base_uri</em></span> argument to
+<a class="link" href="raptor2-section-parser.html#raptor-parser-parse-start" title="raptor_parser_parse_start ()"><code class="function">raptor_parser_parse_start()</code></a>
+may be required by some parsers
+and if <code class="literal">NULL</code> will cause the parsing to fail.
+</p>
+<p>On the last
+<a class="link" href="raptor2-section-parser.html#raptor-parser-parse-chunk" title="raptor_parser_parse_chunk ()"><code class="function">raptor_parser_parse_chunk()</code></a>
+call, or after the loop is ended, the <code class="literal">is_end</code>
+parameter must be set to non-0. Content can be passed with the
+final call. If no content is present at the end (such as in
+some kind of <span class="quote">“<span class="quote">end of file</span>”</span> situation), then a 0-length
+buffer_len or NULL buffer can be used.</p>
+<p>The minimal case is an entire parse in one chunk as follows:</p>
+<pre class="programlisting">
+ raptor_parser_parse_start(rdf_parser, base_uri);
+ raptor_parser_parse_chunk(rdf_parser, buffer, buffer_len, 1); /* is_end = 1 */
+</pre>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-parser-create.html b/docs/html/tutorial-parser-create.html
new file mode 100644
index 0000000..8023dee
--- /dev/null
+++ b/docs/html/tutorial-parser-create.html
@@ -0,0 +1,90 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Create the Parser object: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-parsing.html" title="Parsing syntaxes to RDF Triples">
+<link rel="prev" href="tutorial-parsing.html" title="Parsing syntaxes to RDF Triples">
+<link rel="next" href="tutorial-parser-features.html" title="Parser options">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-parsing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-parsing.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-parser-features.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-parser-create"></a>Create the Parser object</h2></div></div></div>
+<p>The parser can be created directly from a known name such as
+<code class="literal">rdfxml</code> for the W3C Recommendation RDF/XML syntax:
+</p>
+<pre class="programlisting">
+ raptor_parser* rdf_parser;
+
+ rdf_parser = raptor_new_parser(world, "rdfxml");
+</pre>
+<p>
+or the name can be discovered from an <span class="emphasis"><em>description</em></span>
+as discussed in <a class="link" href="tutorial-querying-functionality.html" title="Listing built-in functionality">Querying Functionality</a>
+</p>
+<p>The parser can also be created by identifying the syntax by a
+URI, specifying the syntax by a MIME Type, providng an identifier for
+the content such as filename or URI string or giving some initial
+content bytes that can be used to guess.
+Using the
+<a class="link" href="raptor2-section-parser.html#raptor-new-parser-for-content" title="raptor_new_parser_for_content ()"><code class="function">raptor_new_parser_for_content()</code></a>
+function, all of these can be given as optional parameters, using NULL
+or 0 for undefined parameters. The constructor will then use as much of
+this information as possible.
+</p>
+<pre class="programlisting">
+ raptor_parser* rdf_parser;
+</pre>
+<p>Create a parser that reads the MIME Type for RDF/XML
+<code class="literal">application/rdf+xml</code>
+</p>
+<pre class="programlisting">
+ rdf_parser = raptor_new_parser_for_content(world, NULL, "application/rdf+xml", NULL, 0, NULL);
+</pre>
+<p>
+</p>
+<p>Create a parser that can read a syntax identified by the URI
+for Turtle <code class="literal">http://www.dajobe.org/2004/01/turtle/</code>,
+which has no registered MIME Type at this date:
+</p>
+<pre class="programlisting">
+ syntax_uri = raptor_new_uri(world, "http://www.dajobe.org/2004/01/turtle/");
+
+ rdf_parser = raptor_new_parser_for_content(world, syntax_uri, NULL, NULL, 0, NULL);
+</pre>
+<p>
+</p>
+<p>Create a parser that recognises the identifier <code class="literal">foo.rss</code>:
+</p>
+<pre class="programlisting">
+ rdf_parser = raptor_new_parser_for_content(world, NULL, NULL, NULL, 0, "foo.rss");
+</pre>
+<p>
+</p>
+<p>Create a parser that recognises the content in <span class="emphasis"><em>buffer</em></span>:
+</p>
+<pre class="programlisting">
+ rdf_parser = raptor_new_parser_for_content(world, NULL, NULL, buffer, len, NULL);
+</pre>
+<p>
+</p>
+<p>Any of the constructor calls can return NULL if no matching
+parser could be found, or the construction failed in another way.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-parser-destroy.html b/docs/html/tutorial-parser-destroy.html
new file mode 100644
index 0000000..ab2ae32
--- /dev/null
+++ b/docs/html/tutorial-parser-destroy.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Destroy the parser: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-parsing.html" title="Parsing syntaxes to RDF Triples">
+<link rel="prev" href="tutorial-parser-abort.html" title="Aborting parsing">
+<link rel="next" href="tutorial-parser-example.html" title="Parsing example code">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-parsing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-parser-abort.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-parser-example.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-parser-destroy"></a>Destroy the parser</h2></div></div></div>
+<p>
+To tidy up, delete the parser object as follows:
+</p>
+<pre class="programlisting">
+ raptor_free_parser(rdf_parser);
+</pre>
+<p>
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-parser-example.html b/docs/html/tutorial-parser-example.html
new file mode 100644
index 0000000..9ef3fc4
--- /dev/null
+++ b/docs/html/tutorial-parser-example.html
@@ -0,0 +1,97 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Parsing example code: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-parsing.html" title="Parsing syntaxes to RDF Triples">
+<link rel="prev" href="tutorial-parser-destroy.html" title="Destroy the parser">
+<link rel="next" href="tutorial-serializing.html" title="Serializing RDF triples to a syntax">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-parsing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-parser-destroy.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-serializing.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-parser-example"></a>Parsing example code</h2></div></div></div>
+<div class="example">
+<a name="raptor-example-rdfprint"></a><p class="title"><b>Example 2. <code class="filename">rdfprint.c</code>: Parse an RDF/XML file and print the triples</b></p>
+<div class="example-contents">
+<pre class="programlisting">
+#include &lt;stdio.h&gt;
+#include &lt;raptor2.h&gt;
+
+/* rdfprint.c: print triples from parsing RDF/XML */
+
+static void
+print_triple(void* user_data, raptor_statement* triple)
+{
+ raptor_statement_print_as_ntriples(triple, stdout);
+ fputc('\n', stdout);
+}
+
+int
+main(int argc, char *argv[])
+{
+ raptor_world *world = NULL;
+ raptor_parser* rdf_parser = NULL;
+ unsigned char *uri_string;
+ raptor_uri *uri, *base_uri;
+
+ world = raptor_new_world();
+
+ rdf_parser = raptor_new_parser(world, "rdfxml");
+
+ raptor_parser_set_statement_handler(rdf_parser, NULL, print_triple);
+
+ uri_string = raptor_uri_filename_to_uri_string(argv[1]);
+ uri = raptor_new_uri(world, uri_string);
+ base_uri = raptor_uri_copy(uri);
+
+ raptor_parser_parse_file(rdf_parser, uri, base_uri);
+
+ raptor_free_parser(rdf_parser);
+
+ raptor_free_uri(base_uri);
+ raptor_free_uri(uri);
+ raptor_free_memory(uri_string);
+
+ raptor_free_world(world);
+
+ return 0;
+}
+
+</pre>
+<p>Compile it like this:
+</p>
+<pre class="screen">
+$ gcc -o rdfprint rdfprint.c `pkg-config raptor2 --cflags --libs`
+</pre>
+<p>
+and run it on an RDF file as:
+</p>
+<pre class="screen">
+$ ./rdfprint raptor.rdf
+_:genid1 &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#type&gt; &lt;http://usefulinc.com/ns/doap#Project&gt; .
+_:genid1 &lt;http://usefulinc.com/ns/doap#name&gt; "Raptor" .
+_:genid1 &lt;http://usefulinc.com/ns/doap#homepage&gt; &lt;http://librdf.org/raptor/&gt; .
+...
+</pre>
+<p>
+</p>
+</div>
+</div>
+<br class="example-break">
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-parser-features.html b/docs/html/tutorial-parser-features.html
new file mode 100644
index 0000000..7ed2c1a
--- /dev/null
+++ b/docs/html/tutorial-parser-features.html
@@ -0,0 +1,71 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Parser options: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-parsing.html" title="Parsing syntaxes to RDF Triples">
+<link rel="prev" href="tutorial-parser-create.html" title="Create the Parser object">
+<link rel="next" href="tutorial-parser-set-triple-handler.html" title="Set RDF statement callback handler">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-parsing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-parser-create.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-parser-set-triple-handler.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-parser-features"></a>Parser options</h2></div></div></div>
+<p>There are several
+<span class="emphasis"><em> options</em></span> that can be set on parsers.
+The exact list of options can be found at run time via the
+<a class="link" href="tutorial-querying-functionality.html" title="Listing built-in functionality">Querying Functionality</a>
+or in the API reference for
+<a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><code class="literal">raptor_option</code></a>.
+</p>
+<p>Options are integer enumerations of the
+ <a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="type">raptor_option</span></a> enum and have
+typed values that are either booleans, integers or strings.
+The function that sets options for parsers is
+<a class="link" href="raptor2-section-parser.html#raptor-parser-set-option" title="raptor_parser_set_option ()">raptor_parser_set_option()</a>
+used as follows:
+</p>
+<pre class="programlisting">
+ /* Set a boolean or integer valued option to value 1 */
+ raptor_parser_set_option(rdf_parser, option, NULL, 1);
+
+ /* Set a string valued option to value "abc" */
+ raptor_parser_set_option(rdf_parser, option, "abc", -1);
+</pre>
+<p>
+</p>
+<p>
+There is a corresponding function for reading the values of parser
+option
+<a class="link" href="raptor2-section-parser.html#raptor-parser-get-option" title="raptor_parser_get_option ()"><code class="function">raptor_parser_get_option()</code></a>
+which takes the option enumeration parameter and returns the boolean /
+integer or string value correspondingly into the appropriate pointer
+argument.
+</p>
+<pre class="programlisting">
+ /* Get a boolean or integer option value */
+ int int_var;
+ raptor_parser_get_option(rdf_parser, option, NULL, &amp;int_var);
+
+ /* Get a string option value */
+ char* string_var;
+ raptor_parser_get_option(rdf_parser, option, &amp;string_var, NULL);
+</pre>
+<p>
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-parser-runtime-info.html b/docs/html/tutorial-parser-runtime-info.html
new file mode 100644
index 0000000..5ed16de
--- /dev/null
+++ b/docs/html/tutorial-parser-runtime-info.html
@@ -0,0 +1,36 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Querying parser run-time information: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-parsing.html" title="Parsing syntaxes to RDF Triples">
+<link rel="prev" href="tutorial-parser-static-info.html" title="Querying parser static information">
+<link rel="next" href="tutorial-parser-abort.html" title="Aborting parsing">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-parsing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-parser-static-info.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-parser-abort.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-parser-runtime-info"></a>Querying parser run-time information</h2></div></div></div>
+<p>
+<a class="link" href="raptor2-section-parser.html#raptor-parser-get-locator" title="raptor_parser_get_locator ()"><code class="function">raptor_parser_get_locator()</code></a>
+returns the <a class="link" href="raptor2-section-locator.html#raptor-locator" title="raptor_locator"><span class="type">raptor_locator</span></a>
+for the current position in the input stream. The <span class="emphasis"><em>locator</em></span>
+structure contains full information on the details of where in the
+file or URI the current parser has reached.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-parser-set-error-warning-handlers.html b/docs/html/tutorial-parser-set-error-warning-handlers.html
new file mode 100644
index 0000000..a100376
--- /dev/null
+++ b/docs/html/tutorial-parser-set-error-warning-handlers.html
@@ -0,0 +1,54 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Set parsing log message handlers: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-parsing.html" title="Parsing syntaxes to RDF Triples">
+<link rel="prev" href="tutorial-parser-set-triple-handler.html" title="Set RDF statement callback handler">
+<link rel="next" href="tutorial-parser-set-id-handler.html" title="Set the identifier creator handler">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-parsing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-parser-set-triple-handler.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-parser-set-id-handler.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-parser-set-error-warning-handlers"></a>Set parsing log message handlers</h2></div></div></div>
+<p>Any time before parsing is called, a log handler can be set
+on the world object via the
+<a class="link" href="raptor2-section-world.html#raptor-world-set-log-handler" title="raptor_world_set_log_handler ()"><code class="function">raptor_world_set_log_handler()</code></a>
+method to report errors and warnings from parsing.
+The method takes a user data argument plus a handler callback of type
+<a class="link" href="raptor2-section-general.html#raptor-log-handler" title="raptor_log_handler ()"><span class="type">raptor_log_handler</span></a>
+with a signature that looks like this:
+</p>
+<pre class="programlisting">
+void
+message_handler(void *user_data, raptor_log_message* message)
+{
+ /* do something with the message */
+}
+</pre>
+<p>
+The handler gets the user data pointer as well as a
+<a class="link" href="raptor2-section-general.html#raptor-log-message" title="raptor_log_message"><span class="type">raptor_log_handler</span></a>
+pointer that includes associated location information, such as the
+log level,
+<a class="link" href="raptor2-section-locator.html#raptor-locator" title="raptor_locator"><span class="type">raptor_locator</span></a>,
+and the log message itself. The <span class="emphasis"><em>locator</em></span>
+structure contains full information on the details of where in the
+file or URI the message occurred.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-parser-set-id-handler.html b/docs/html/tutorial-parser-set-id-handler.html
new file mode 100644
index 0000000..4f17805
--- /dev/null
+++ b/docs/html/tutorial-parser-set-id-handler.html
@@ -0,0 +1,61 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Set the identifier creator handler: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-parsing.html" title="Parsing syntaxes to RDF Triples">
+<link rel="prev" href="tutorial-parser-set-error-warning-handlers.html" title="Set parsing log message handlers">
+<link rel="next" href="tutorial-parser-set-namespace-handler.html" title="Set namespace declared handler">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-parsing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-parser-set-error-warning-handlers.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-parser-set-namespace-handler.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-parser-set-id-handler"></a>Set the identifier creator handler</h2></div></div></div>
+<p>Identifiers are created in some parsers by generating them
+automatically or via hints given a syntax. Raptor can customise this
+process using a user-supplied identifier handler function.
+For example, in RDF/XML generated blank node identifiers and those
+those specified <code class="literal">rdf:nodeID</code> are passed through this
+process. Setting a handler allows the identifier generation mechanism to be
+fully replaced. A lighter alternative is to use
+<a class="link" href="raptor2-section-world.html#raptor-world-set-generate-bnodeid-parameters" title="raptor_world_set_generate_bnodeid_parameters ()"><code class="function">raptor_world_set_generate_bnodeid_parameters()</code></a>
+to adjust the default algorithm for generated identifiers.
+</p>
+<p>It is used as follows
+</p>
+<pre class="programlisting">
+ raptor_generate_bnodeid_handler bnodeid_handler;
+
+ raptor_world_set_generate_bnodeid_handler(rdf_parser, user_data, bnodeid_handler);
+</pre>
+<p>
+</p>
+<p>The <span class="emphasis"><em>bnodeid_handler</em></span> takes the following signature:
+</p>
+<pre class="programlisting">
+unsigned char*
+generate_id_handler(void* user_data, unsigned char* user_id)
+{
+ /* return a new generated ID based on user_id (optional) */
+}
+</pre>
+<p>
+where <span class="emphasis"><em>user_id</em></span> an optional user-supplied identifier,
+such as the value of a <code class="literal">rdf:nodeID</code> in RDF/XML.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-parser-set-namespace-handler.html b/docs/html/tutorial-parser-set-namespace-handler.html
new file mode 100644
index 0000000..30a9af7
--- /dev/null
+++ b/docs/html/tutorial-parser-set-namespace-handler.html
@@ -0,0 +1,57 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Set namespace declared handler: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-parsing.html" title="Parsing syntaxes to RDF Triples">
+<link rel="prev" href="tutorial-parser-set-id-handler.html" title="Set the identifier creator handler">
+<link rel="next" href="tutorial-parse-strictness.html" title="Set the parsing strictness">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-parsing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-parser-set-id-handler.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-parse-strictness.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-parser-set-namespace-handler"></a>Set namespace declared handler</h2></div></div></div>
+<p>Raptor can report when namespace prefix/URIs are declared in
+during parsing a syntax such as those in XML, RDF/XML or Turtle.
+A handler function can be set to receive these declarations using
+the namespace handler method.
+</p>
+<pre class="programlisting">
+ raptor_namespace_handler namespaces_handler;
+
+ raptor_parser_set_namespace_handler(rdf_parser, user_data, namespaces_handler);
+</pre>
+<p>
+</p>
+<p>The <span class="emphasis"><em>namespaces_handler</em></span> takes the following signature:
+</p>
+<pre class="programlisting">
+void
+namespaces_handler(void* user_data, raptor_namespace *nspace)
+{
+ /* */
+}
+</pre>
+<p>
+</p>
+<div class="note">This may be called multiple times with the same namespace,
+if the namespace is declared inside different XML sub-trees.
+</div>
+<p>
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-parser-set-triple-handler.html b/docs/html/tutorial-parser-set-triple-handler.html
new file mode 100644
index 0000000..468202c
--- /dev/null
+++ b/docs/html/tutorial-parser-set-triple-handler.html
@@ -0,0 +1,52 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Set RDF statement callback handler: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-parsing.html" title="Parsing syntaxes to RDF Triples">
+<link rel="prev" href="tutorial-parser-features.html" title="Parser options">
+<link rel="next" href="tutorial-parser-set-error-warning-handlers.html" title="Set parsing log message handlers">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-parsing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-parser-features.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-parser-set-error-warning-handlers.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-parser-set-triple-handler"></a>Set RDF statement callback handler</h2></div></div></div>
+<p>The main reason to parse a syntax is to get RDF triples
+returned and these are return by a user-defined handler function
+which is called with parameters of a user data pointer and a
+raptor statement, which includes the triple terms plus the
+optional named graph term. The handler is set with
+<a class="link" href="raptor2-section-parser.html#raptor-parser-set-statement-handler" title="raptor_parser_set_statement_handler ()"><code class="function">raptor_parser_set_statement_handler()</code></a>
+as follows:
+</p>
+<pre class="programlisting">
+ void
+ statement_handler(void* user_data, const raptor_statement* statement)
+ {
+ /* do something with the statement */
+ }
+
+ raptor_parser_set_statement_handler(rdf_parser, user_data, statements_handler);
+</pre>
+<p>
+</p>
+<p>Setting a stateemnt handler function is optional since parsing
+without returning statements is a valid use, such as when parsing in
+order to validate a syntax.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-parser-static-info.html b/docs/html/tutorial-parser-static-info.html
new file mode 100644
index 0000000..0d01610
--- /dev/null
+++ b/docs/html/tutorial-parser-static-info.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Querying parser static information: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-parsing.html" title="Parsing syntaxes to RDF Triples">
+<link rel="prev" href="restrict-parser-network-access.html" title="Restrict parser network access">
+<link rel="next" href="tutorial-parser-runtime-info.html" title="Querying parser run-time information">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-parsing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="restrict-parser-network-access.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-parser-runtime-info.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-parser-static-info"></a>Querying parser static information</h2></div></div></div>
+<p>
+These methods return information about the constructed parser
+implementation corresponding to the information available
+via <a class="link" href="raptor2-section-world.html#raptor-world-get-parser-description" title="raptor_world_get_parser_description ()"><code class="function">raptor_world_get_parser_description()</code></a>
+for all parsers.
+</p>
+<p><a class="link" href="raptor2-section-parser.html#raptor-parser-get-name" title="raptor_parser_get_name ()"><code class="function">raptor_parser_get_name()</code></a> returns the parser syntax name,
+<a class="link" href="raptor2-section-parser.html#raptor-parser-get-description" title="raptor_parser_get_description ()"><code class="function">raptor_parser_get_description()</code></a>
+returns more detailed description fields including the long label and
+mime_types for the parser with quality levels.
+</p>
+<p><a class="link" href="raptor2-section-parser.html#raptor-parser-get-accept-header" title="raptor_parser_get_accept_header ()"><code class="function">raptor_parser_get_accept_header()</code></a>
+returns a string that would be sent in an HTTP
+request <code class="code">Accept:</code> header for the syntaxes accepted by this
+parser only.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-parsing.html b/docs/html/tutorial-parsing.html
new file mode 100644
index 0000000..d960089
--- /dev/null
+++ b/docs/html/tutorial-parsing.html
@@ -0,0 +1,72 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Parsing syntaxes to RDF Triples: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial.html" title="Part I. Raptor Tutorial">
+<link rel="prev" href="tutorial-querying-functionality.html" title="Listing built-in functionality">
+<link rel="next" href="tutorial-parser-create.html" title="Create the Parser object">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-querying-functionality.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-parser-create.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="chapter">
+<div class="titlepage"><div><div><h2 class="title">
+<a name="tutorial-parsing"></a>Parsing syntaxes to RDF Triples</h2></div></div></div>
+<div class="toc"><dl class="toc">
+<dt><span class="section"><a href="tutorial-parsing.html#tutorial-parsing-intro">Introduction</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-create.html">Create the Parser object</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-features.html">Parser options</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-set-triple-handler.html">Set RDF statement callback handler</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-set-error-warning-handlers.html">Set parsing log message handlers</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-set-id-handler.html">Set the identifier creator handler</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-set-namespace-handler.html">Set namespace declared handler</a></span></dt>
+<dt><span class="section"><a href="tutorial-parse-strictness.html">Set the parsing strictness</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-content.html">Provide syntax content to parse</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="tutorial-parser-content.html#parse-from-uri">Parse the content from a URI (<code class="function">raptor_parser_parse_uri()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-content.html#parse-from-www">Parse the content of a URI using an existing WWW connection (<code class="function">raptor_parser_parse_uri_with_connection()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-content.html#parse-from-filehandle">Parse the content of a C <code class="literal">FILE*</code> (<code class="function">raptor_parser_parse_file_stream()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-content.html#parse-from-file-uri">Parse the content of a file URI (<code class="function">raptor_parser_parse_file()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-content.html#parse-from-chunks">Parse chunks of syntax content provided by the application (<code class="function">raptor_parser_parse_start()</code> and <code class="function">raptor_parser_parse_chunk()</code>)</a></span></dt>
+</dl></dd>
+<dt><span class="section"><a href="restrict-parser-network-access.html">Restrict parser network access</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="restrict-parser-network-access.html#tutorial-filter-network-with-feature">Filtering parser network requests with option <code class="literal">RAPTOR_OPTION_NO_NET</code></a></span></dt>
+<dt><span class="section"><a href="restrict-parser-network-access.html#tutorial-filter-network-www-uri-filter">Filtering parser network requests with <code class="function">raptor_www_set_uri_filter()</code></a></span></dt>
+<dt><span class="section"><a href="restrict-parser-network-access.html#tutorial-filter-network-parser-uri-filter">Filtering parser network requests with <code class="function">raptor_parser_set_uri_filter()</code></a></span></dt>
+<dt><span class="section"><a href="restrict-parser-network-access.html#tutorial-filter-network-parser-timeout">Setting timeout for parser network requests with option <code class="literal">RAPTOR_OPTION_WWW_TIMEOUT</code></a></span></dt>
+</dl></dd>
+<dt><span class="section"><a href="tutorial-parser-static-info.html">Querying parser static information</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-runtime-info.html">Querying parser run-time information</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-abort.html">Aborting parsing</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-destroy.html">Destroy the parser</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-example.html">Parsing example code</a></span></dt>
+</dl></div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-parsing-intro"></a>Introduction</h2></div></div></div>
+<p>
+The typical sequence of operations to parse is to create a parser
+object, set various handlers and options, start the parsing, send
+some syntax content to the parser object, finish the parsing and
+destroy the parser object.</p>
+<p>Several parts of this process are optional, including actually
+using the triple results, which is useful as a syntax checking
+process.
+</p>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-querying-functionality.html b/docs/html/tutorial-querying-functionality.html
new file mode 100644
index 0000000..70932eb
--- /dev/null
+++ b/docs/html/tutorial-querying-functionality.html
@@ -0,0 +1,112 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Listing built-in functionality: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial.html" title="Part I. Raptor Tutorial">
+<link rel="prev" href="tutorial-initialising-finishing.html" title="Initialising and Finishing using the Library">
+<link rel="next" href="tutorial-parsing.html" title="Parsing syntaxes to RDF Triples">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-initialising-finishing.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-parsing.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="chapter">
+<div class="titlepage"><div><div><h2 class="title">
+<a name="tutorial-querying-functionality"></a>Listing built-in functionality</h2></div></div></div>
+<p>
+Raptor can be configured and compiled with support for different
+lists of parsers and serializers. The list built into the
+library can be found by means of
+<span class="emphasis"><em>description</em></span> functions. These take as input an
+<code class="literal">int</code> counter and return descriptions of the object
+at that offset in the list. The return value is a pointer to a
+shared, read-only description of the object, or NULL if the counter
+has gone too far into the list.
+</p>
+<div class="variablelist">
+<p class="title"><b>Listing Functionality with Descriptions</b></p>
+<table border="0" class="variablelist">
+<colgroup>
+<col align="left" valign="top">
+<col>
+</colgroup>
+<tbody>
+<tr>
+<td><p><span class="term">Get descriptions of the parser syntaxes</span></p></td>
+<td><pre class="programlisting">
+ const raptor_syntax_description*
+ raptor_world_get_parser_description(raptor_world* world,
+ unsigned int counter);
+</pre></td>
+</tr>
+<tr>
+<td><p><span class="term">Get descriptions of the serializer syntaxes</span></p></td>
+<td><pre class="programlisting">
+ const raptor_syntax_description*
+ raptor_world_get_serializer_description(raptor_world* world,
+ unsigned int counter);
+</pre></td>
+</tr>
+<tr>
+<td><p><span class="term">Get descriptions of options</span></p></td>
+<td>
+<pre class="programlisting">
+ raptor_option_description*
+ raptor_world_get_option_description(raptor_world* world,
+ const raptor_domain domain,
+ const raptor_option option);
+</pre>
+<p>
+Call with the appropriate domains for the class such as
+<a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-PARSER:CAPS"><code class="literal">RAPTOR_DOMAIN_PARSER</code></a>,
+<a class="link" href="raptor2-section-general.html#RAPTOR-DOMAIN-SERIALIZER:CAPS"><code class="literal">RAPTOR_DOMAIN_SERIALIZER</code></a>
+ etc. See the
+<a class="link" href="raptor2-section-general.html#raptor-domain" title="enum raptor_domain"><code class="literal">raptor_domain</code></a>
+description for the full list.
+</p>
+</td>
+</tr>
+</tbody>
+</table>
+</div>
+<p>These functions can be called directly after creating a
+raptor world object with
+<a class="link" href="raptor2-section-world.html#raptor-new-world" title="raptor_new_world"><code class="function">raptor_new_world()</code></a>.
+This is one way to find a parser (name) by it's MIME Type, the other
+is to use the mime_type parameter of the
+<a class="link" href="raptor2-section-parser.html#raptor-new-parser-for-content" title="raptor_new_parser_for_content ()"><code class="function">raptor_new_parser_for_content()</code></a>.</p>
+<div class="example">
+<a name="raptor-example-list-all-parser-options"></a><p class="title"><b>Example 1. List all parser options using option description</b></p>
+<div class="example-contents">
+<pre class="programlisting">
+ unsigned int i;
+ for(i = 0; i &lt; raptor_option_get_count(); i++) {
+ raptor_option_description* od;
+
+ od = raptor_world_get_option_description(world, RAPTOR_DOMAIN_PARSER, i);
+
+ if(od) {
+ /* do something with od fields such as od-&gt;name, od-&gt;label */
+ }
+ }
+</pre>
+<p>There are more examples of this usage in the source for the
+<code class="literal">rapper</code> utility in <code class="filename">util/rapper.c</code>.
+</p>
+</div>
+</div>
+<br class="example-break">
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-serializer-create.html b/docs/html/tutorial-serializer-create.html
new file mode 100644
index 0000000..c361d7a
--- /dev/null
+++ b/docs/html/tutorial-serializer-create.html
@@ -0,0 +1,43 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Create the Serializer object: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-serializing.html" title="Serializing RDF triples to a syntax">
+<link rel="prev" href="tutorial-serializing.html" title="Serializing RDF triples to a syntax">
+<link rel="next" href="tutorial-serializer-features.html" title="Serializer options">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-serializing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-serializing.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-serializer-features.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-serializer-create"></a>Create the Serializer object</h2></div></div></div>
+<p>The serializer can be created directly from a known name using
+<a class="link" href="raptor2-section-serializer.html#raptor-new-serializer" title="raptor_new_serializer ()"><code class="function">raptor_new_serializer()</code></a>
+such as <code class="literal">rdfxml</code> for the W3C Recommendation RDF/XML syntax:
+</p>
+<pre class="programlisting">
+ raptor_serializer* rdf_serializer;
+
+ rdf_serializer = raptor_new_serializer(world, "rdfxml");
+</pre>
+<p>
+or the name can be discovered from an <span class="emphasis"><em>description</em></span>
+as discussed in
+<a class="link" href="tutorial-querying-functionality.html" title="Listing built-in functionality">Querying Functionality</a>
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-serializer-declare-namespace.html b/docs/html/tutorial-serializer-declare-namespace.html
new file mode 100644
index 0000000..05b01da
--- /dev/null
+++ b/docs/html/tutorial-serializer-declare-namespace.html
@@ -0,0 +1,63 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Declare namespaces: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-serializing.html" title="Serializing RDF triples to a syntax">
+<link rel="prev" href="tutorial-serializer-features.html" title="Serializer options">
+<link rel="next" href="tutorial-serializer-set-error-warning-handlers.html" title="Set error and warning handlers">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-serializing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-serializer-features.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-serializer-set-error-warning-handlers.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-serializer-declare-namespace"></a>Declare namespaces</h2></div></div></div>
+<p>Raptor can use namespace prefix/URIs to abbreviate syntax
+in some syntaxes such as Turtle or any XML syntax including RDF/XML,
+RSS1.0 and Atom 1.0. These are declared
+with <a class="link" href="raptor2-section-serializer.html#raptor-serializer-set-namespace" title="raptor_serializer_set_namespace ()"><code class="function">raptor_serializer_set_namespace()</code></a>
+using a prefix and URI argument pair like this:
+</p>
+<pre class="programlisting">
+ const unsigned char* prefix = "ex";
+ raptor_uri* uri = raptor_new_uri(world, "http://example.org");
+
+ raptor_serializer_set_namespace(rdf_serializer, prefix, uri);
+</pre>
+<p>
+</p>
+<p>or
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-set-namespace-from-namespace" title="raptor_serializer_set_namespace_from_namespace ()"><code class="function">raptor_serializer_set_namespace_from_namespace()</code></a>
+from an existing namespace. This can be useful when connected up the
+the namespace declarations that are generated from a parser via a
+namespace handler set with
+<a class="link" href="raptor2-section-parser.html#raptor-parser-set-namespace-handler" title="raptor_parser_set_namespace_handler ()"><code class="function">raptor_parser_set_namespace_handler()</code></a>
+</p>
+like this:
+<pre class="programlisting">
+ static void
+ relay_namespaces(void* user_data, raptor_namespace *nspace)
+ {
+ raptor_serializer_set_namespace_from_namespace(rdf_serializer, nspace);
+ }
+
+ ...
+
+ rdf_parser = raptor_new_parser(world, syntax_name);
+ raptor_parser_set_namespace_handler(rdf_parser, rdf_serializer, relay_namespaces);
+</pre>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-serializer-destroy.html b/docs/html/tutorial-serializer-destroy.html
new file mode 100644
index 0000000..63053d2
--- /dev/null
+++ b/docs/html/tutorial-serializer-destroy.html
@@ -0,0 +1,37 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Destroy the serializer: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-serializing.html" title="Serializing RDF triples to a syntax">
+<link rel="prev" href="tutorial-serializer-runtime-info.html" title="Querying serializer run-time information">
+<link rel="next" href="tutorial-serializer-example.html" title="Serializing example code">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-serializing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-serializer-runtime-info.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-serializer-example.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-serializer-destroy"></a>Destroy the serializer</h2></div></div></div>
+<p>
+To tidy up, delete the serializer object as follows:
+</p>
+<pre class="programlisting">
+ raptor_free_serializer(rdf_serializer);
+</pre>
+<p>
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-serializer-example.html b/docs/html/tutorial-serializer-example.html
new file mode 100644
index 0000000..cadb6e2
--- /dev/null
+++ b/docs/html/tutorial-serializer-example.html
@@ -0,0 +1,113 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Serializing example code: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-serializing.html" title="Serializing RDF triples to a syntax">
+<link rel="prev" href="tutorial-serializer-destroy.html" title="Destroy the serializer">
+<link rel="next" href="reference-manual.html" title="Part II. Raptor Reference Manual">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-serializing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-serializer-destroy.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="reference-manual.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-serializer-example"></a>Serializing example code</h2></div></div></div>
+<div class="example">
+<a name="raptor-example-rdfcat"></a><p class="title"><b>Example 4. <code class="filename">rdfcat.c</code>: Read any RDF syntax and serialize to RDF/XML (Abbreviated)</b></p>
+<div class="example-contents">
+<pre class="programlisting">
+#include &lt;stdio.h&gt;
+#include &lt;raptor2.h&gt;
+
+/* rdfcat.c: parse any RDF syntax and serialize to RDF/XML-Abbrev */
+
+static raptor_serializer* rdf_serializer;
+
+static void
+serialize_triple(void* user_data, raptor_statement* triple)
+{
+ raptor_serializer_serialize_statement(rdf_serializer, triple);
+}
+
+static void
+declare_namespace(void* user_data, raptor_namespace *nspace)
+{
+ raptor_serializer_set_namespace_from_namespace(rdf_serializer, nspace);
+}
+
+int
+main(int argc, char *argv[])
+{
+ raptor_world *world = NULL;
+ raptor_parser* rdf_parser = NULL;
+ unsigned char *uri_string;
+ raptor_uri *uri, *base_uri;
+
+ world = raptor_new_world();
+
+ uri_string = raptor_uri_filename_to_uri_string(argv[1]);
+ uri = raptor_new_uri(world, uri_string);
+ base_uri = raptor_uri_copy(uri);
+
+ /* Ask raptor to work out which parser to use */
+ rdf_parser = raptor_new_parser(world, "guess");
+ raptor_parser_set_statement_handler(rdf_parser, NULL, serialize_triple);
+ raptor_parser_set_namespace_handler(rdf_parser, NULL, declare_namespace);
+
+ rdf_serializer = raptor_new_serializer(world, "rdfxml-abbrev");
+
+ raptor_serializer_start_to_file_handle(rdf_serializer, base_uri, stdout);
+ raptor_parser_parse_file(rdf_parser, uri, base_uri);
+ raptor_serializer_serialize_end(rdf_serializer);
+
+ raptor_free_serializer(rdf_serializer);
+ raptor_free_parser(rdf_parser);
+
+ raptor_free_uri(base_uri);
+ raptor_free_uri(uri);
+ raptor_free_memory(uri_string);
+
+ raptor_free_world(world);
+
+ return 0;
+}
+
+</pre>
+<p>Compile it like this:
+</p>
+<pre class="screen">
+$ gcc -o rdfcat rdfcat.c `pkg-config raptor2 --cflags --libs`
+</pre>
+<p>
+and run it on an RDF file as:
+</p>
+<pre class="screen">
+$ ./rdfcat raptor.rdf
+&lt;?xml version="1.0" encoding="utf-8"?&gt;
+&lt;rdf:RDF xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://usefulinc.com/ns/doap#"&gt;
+ &lt;rdf:Description rdf:about=""&gt;
+ &lt;foaf:maker&gt;
+ &lt;foaf:Person&gt;
+ &lt;foaf:name&gt;Dave Beckett&lt;/foaf:name&gt;
+...
+</pre>
+<p>
+</p>
+</div>
+</div>
+<br class="example-break">
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-serializer-features.html b/docs/html/tutorial-serializer-features.html
new file mode 100644
index 0000000..965c7d9
--- /dev/null
+++ b/docs/html/tutorial-serializer-features.html
@@ -0,0 +1,70 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Serializer options: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-serializing.html" title="Serializing RDF triples to a syntax">
+<link rel="prev" href="tutorial-serializer-create.html" title="Create the Serializer object">
+<link rel="next" href="tutorial-serializer-declare-namespace.html" title="Declare namespaces">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-serializing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-serializer-create.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-serializer-declare-namespace.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-serializer-features"></a>Serializer options</h2></div></div></div>
+<p>There are several options that can be set on serializers.
+The exact list of options can be found at run time via the
+<a class="link" href="tutorial-querying-functionality.html" title="Listing built-in functionality">Querying Functionality</a>
+or in the API reference for
+<a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><code class="literal">raptor_option</code></a>.
+</p>
+<p>Options are integer enumerations of the
+<a class="link" href="raptor2-section-option.html#raptor-option" title="enum raptor_option"><span class="type">raptor_option</span></a> enum and have
+values that are either booleans, integers or strings.
+The function that sets options for serializers is:
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-set-option" title="raptor_serializer_set_option ()">raptor_serializer_set_option()</a>
+used as follows:
+</p>
+<pre class="programlisting">
+ /* Set a boolean or integer valued option to value 1 */
+ raptor_serializer_set_option(rdf_serializer, option, NULL, 1);
+
+ /* Set a string valued option to value "abc" */
+ raptor_serializer_set_option(rdf_serializer, option, "abc", -1);
+</pre>
+<p>
+</p>
+<p>
+There is a corresponding function for reading the values of serializer
+option
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-get-option" title="raptor_serializer_get_option ()"><code class="function">raptor_serializer_get_option()</code></a>
+which takes the option enumeration parameter and returns the boolean /
+integer or string value correspondingly into the appropriate pointer
+argument.
+</p>
+<pre class="programlisting">
+ /* Get a boolean or integer option value */
+ int int_var;
+ raptor_serializer_get_option(rdf_serializer, option, NULL, &amp;int_var);
+
+ /* Get a string option value */
+ char* string_var;
+ raptor_serializer_get_option(rdf_serializer, option, &amp;string_var, NULL);
+</pre>
+<p>
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-serializer-get-triples.html b/docs/html/tutorial-serializer-get-triples.html
new file mode 100644
index 0000000..b81d5ac
--- /dev/null
+++ b/docs/html/tutorial-serializer-get-triples.html
@@ -0,0 +1,125 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Get or construct RDF Statements (Triples): Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-serializing.html" title="Serializing RDF triples to a syntax">
+<link rel="prev" href="tutorial-serializer-to-destination.html" title="Provide a destination for the serialized syntax">
+<link rel="next" href="tutorial-serializer-send-triples.html" title="Send RDF Triples to serializer">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-serializing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-serializer-to-destination.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-serializer-send-triples.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-serializer-get-triples"></a>Get or construct RDF Statements (Triples)</h2></div></div></div>
+<p>
+An <a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a>
+containing the triple terms and optional graph term
+can be made either by receiving them from a
+<a class="link" href="raptor2-section-parser.html#raptor-parser" title="raptor_parser"><span class="type">raptor_parser</span></a>
+via parsing or can be constructed by hand.</p>
+<p>When constructing by hand,
+the <a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a>
+structure should be allocated by the application and the fields
+filled in. Each statement has three triple terms (subject,
+predicate, object) and an optional graph term. The subject can be a
+URI or blank node, the predicate can only be a URI and the object can
+be a URI, blank node or RDF literal. RDF literals can have either
+just a Unicode string, a Unicode string and a language or a Unicode
+string and a datatype URI.</p>
+<p>The statement terms are all instances of
+<a class="link" href="raptor2-section-triples.html#raptor-term" title="raptor_term"><span class="type">raptor_term</span></a>
+objects constructed with the appropriate constructor for
+the URI, blank node or rdf literal types. The graph term
+of the statement is typically a URI or blank node.
+</p>
+<div class="example">
+<a name="raptor-example-rdfserialize"></a><p class="title"><b>Example 3. <code class="filename">rdfserialize.c</code>: Serialize 1 triple to RDF/XML (Abbreviated)</b></p>
+<div class="example-contents">
+<pre class="programlisting">
+#include &lt;stdio.h&gt;
+#include &lt;raptor2.h&gt;
+#include &lt;stdlib.h&gt;
+
+/* rdfserialize.c: serialize 1 triple to RDF/XML-Abbrev */
+
+int
+main(int argc, char *argv[])
+{
+ raptor_world *world = NULL;
+ raptor_serializer* rdf_serializer = NULL;
+ unsigned char *uri_string;
+ raptor_uri *base_uri;
+ raptor_statement* triple;
+
+ world = raptor_new_world();
+
+ uri_string = raptor_uri_filename_to_uri_string(argv[1]);
+ base_uri = raptor_new_uri(world, uri_string);
+
+ rdf_serializer = raptor_new_serializer(world, "rdfxml-abbrev");
+ raptor_serializer_start_to_file_handle(rdf_serializer, base_uri, stdout);
+
+ /* Make a triple with URI subject, URI predicate, literal object */
+ triple = raptor_new_statement(world);
+ triple-&gt;subject = raptor_new_term_from_uri_string(world, (const unsigned char*)"http://example.org/subject");
+ triple-&gt;predicate = raptor_new_term_from_uri_string(world, (const unsigned char*)"http://example.org/predicate");
+ triple-&gt;object = raptor_new_term_from_literal(world,
+ (const unsigned char*)"An example literal",
+ NULL,
+ (const unsigned char*)"en");
+
+ /* Write the triple */
+ raptor_serializer_serialize_statement(rdf_serializer, triple);
+
+ /* Delete the triple */
+ raptor_free_statement(triple);
+
+ raptor_serializer_serialize_end(rdf_serializer);
+ raptor_free_serializer(rdf_serializer);
+
+ raptor_free_uri(base_uri);
+ raptor_free_memory(uri_string);
+
+ raptor_free_world(world);
+ return 0;
+}
+
+</pre>
+<p>Compile it like this:
+</p>
+<pre class="screen">
+$ gcc -o rdfserialize rdfserialize.c `pkg-config raptor2 --cflags --libs`
+</pre>
+<p>
+and run it with an optional base URI argument
+</p>
+<pre class="screen">
+$ ./rdfserialize
+&lt;?xml version="1.0" encoding="utf-8"?&gt;
+&lt;rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"&gt;
+ &lt;rdf:Description rdf:about="http://example.org/subject"&gt;
+ &lt;ns0:predicate xmlns:ns0="http://example.org/" xml:lang="en"&gt;An example&lt;/ns0:predicate&gt;
+ &lt;/rdf:Description&gt;
+&lt;/rdf:RDF&gt;
+</pre>
+<p>
+</p>
+</div>
+</div>
+<br class="example-break">
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-serializer-runtime-info.html b/docs/html/tutorial-serializer-runtime-info.html
new file mode 100644
index 0000000..7f234c4
--- /dev/null
+++ b/docs/html/tutorial-serializer-runtime-info.html
@@ -0,0 +1,40 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Querying serializer run-time information: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-serializing.html" title="Serializing RDF triples to a syntax">
+<link rel="prev" href="tutorial-serializer-send-triples.html" title="Send RDF Triples to serializer">
+<link rel="next" href="tutorial-serializer-destroy.html" title="Destroy the serializer">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-serializing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-serializer-send-triples.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-serializer-destroy.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-serializer-runtime-info"></a>Querying serializer run-time information</h2></div></div></div>
+<p>
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-get-iostream" title="raptor_serializer_get_iostream ()"><code class="function">raptor_serializer_get_iostream()</code></a>
+gets the current serializer's raptor_iostream.
+</p>
+<p>
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-get-locator" title="raptor_serializer_get_locator ()"><code class="function">raptor_serializer_get_locator()</code></a>
+returns the <a class="link" href="raptor2-section-locator.html#raptor-locator" title="raptor_locator"><span class="type">raptor_locator</span></a>
+for the current position in the output stream. The <span class="emphasis"><em>locator</em></span>
+structure contains full information on the details of where in the
+file or URI the current serializer has reached.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-serializer-send-triples.html b/docs/html/tutorial-serializer-send-triples.html
new file mode 100644
index 0000000..86c150b
--- /dev/null
+++ b/docs/html/tutorial-serializer-send-triples.html
@@ -0,0 +1,56 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Send RDF Triples to serializer: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-serializing.html" title="Serializing RDF triples to a syntax">
+<link rel="prev" href="tutorial-serializer-get-triples.html" title="Get or construct RDF Statements (Triples)">
+<link rel="next" href="tutorial-serializer-runtime-info.html" title="Querying serializer run-time information">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-serializing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-serializer-get-triples.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-serializer-runtime-info.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-serializer-send-triples"></a>Send RDF Triples to serializer</h2></div></div></div>
+<p>
+Once the serializer has been started, RDF triples can be sent to it
+via the
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-serialize-statement" title="raptor_serializer_serialize_statement ()"><code class="function">raptor_serializer_serialize_statement()</code></a>
+function with a
+<a class="link" href="raptor2-section-triples.html#raptor-statement" title="raptor_statement"><span class="type">raptor_statement</span></a>
+value.
+</p>
+<p>Once all triples are sent, the serializing must be finished
+with a call to
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-serialize-end" title="raptor_serializer_serialize_end ()"><code class="function">raptor_serializer_serialize_end()</code></a>.
+In particular, only at this point does the
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a>
+get flushed or any string constructed for
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-start-to-string" title="raptor_serializer_start_to_string ()"><code class="function">raptor_serializer_start_to_string()</code></a>.
+</p>
+<pre class="programlisting">
+ /* start the serializing somehow */
+ while( /* got RDF triples */ ) {
+ raptor_serializer_serialize_statement(rdf_serializer, triple);
+ }
+ raptor_serializer_serialize_end(rdf_serializer);
+ /* now can use the serializing result (FILE, string, raptor_iostream) */
+</pre>
+<p>
+
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-serializer-set-error-warning-handlers.html b/docs/html/tutorial-serializer-set-error-warning-handlers.html
new file mode 100644
index 0000000..63659bb
--- /dev/null
+++ b/docs/html/tutorial-serializer-set-error-warning-handlers.html
@@ -0,0 +1,54 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Set error and warning handlers: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-serializing.html" title="Serializing RDF triples to a syntax">
+<link rel="prev" href="tutorial-serializer-declare-namespace.html" title="Declare namespaces">
+<link rel="next" href="tutorial-serializer-to-destination.html" title="Provide a destination for the serialized syntax">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-serializing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-serializer-declare-namespace.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-serializer-to-destination.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-serializer-set-error-warning-handlers"></a>Set error and warning handlers</h2></div></div></div>
+<p>Any time before serializing is started, a log handler can be set
+on the world object via the
+<a class="link" href="raptor2-section-world.html#raptor-world-set-log-handler" title="raptor_world_set_log_handler ()"><code class="function">raptor_world_set_log_handler()</code></a>
+method to report errors and warnings from parsing.
+The method takes a user data argument plus a handler callback of type
+<a class="link" href="raptor2-section-general.html#raptor-log-handler" title="raptor_log_handler ()"><span class="type">raptor_log_handler</span></a>
+with a signature that looks like this:
+</p>
+<pre class="programlisting">
+void
+message_handler(void *user_data, raptor_log_message* message)
+{
+ /* do something with the message */
+}
+</pre>
+<p>
+The handler gets the user data pointer as well as a
+<a class="link" href="raptor2-section-general.html#raptor-log-message" title="raptor_log_message"><span class="type">raptor_log_handler</span></a>
+pointer that includes associated location information, such as the
+log level,
+<a class="link" href="raptor2-section-locator.html#raptor-locator" title="raptor_locator"><span class="type">raptor_locator</span></a>,
+and the log message itself. The <span class="emphasis"><em>locator</em></span>
+structure contains full information on the details of where in the
+file or URI the message occurred.
+</p>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-serializer-to-destination.html b/docs/html/tutorial-serializer-to-destination.html
new file mode 100644
index 0000000..f126e2f
--- /dev/null
+++ b/docs/html/tutorial-serializer-to-destination.html
@@ -0,0 +1,120 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Provide a destination for the serialized syntax: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial-serializing.html" title="Serializing RDF triples to a syntax">
+<link rel="prev" href="tutorial-serializer-set-error-warning-handlers.html" title="Set error and warning handlers">
+<link rel="next" href="tutorial-serializer-get-triples.html" title="Get or construct RDF Statements (Triples)">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial-serializing.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-serializer-set-error-warning-handlers.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-serializer-get-triples.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-serializer-to-destination"></a>Provide a destination for the serialized syntax</h2></div></div></div>
+<p>The operation of turning RDF triples into a syntax has several
+alternatives from functions that do most of the work writing to a file
+or string to functions that allow passing in a
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a>
+which can be entirely user-constructed.</p>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="serialize-to-filename"></a>Serialize to a filename (<a class="link" href="raptor2-section-serializer.html#raptor-serializer-start-to-filename" title="raptor_serializer_start_to_filename ()"><code class="function">raptor_serializer_start_to_filename()</code></a>)</h3></div></div></div>
+<p>Serialize to a new filename
+(using <a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-to-filename" title="raptor_new_iostream_to_filename ()"><code class="function">raptor_new_iostream_to_filename()</code></a> internally)
+and uses asf base URI, the file's URI.
+</p>
+<pre class="programlisting">
+ const char *filename = "raptor.rdf";
+ raptor_serializer_start_to_filename(rdf_serializer, filename);
+</pre>
+<p>
+</p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="serialize-to-string"></a>Serialize to a string (<a class="link" href="raptor2-section-serializer.html#raptor-serializer-start-to-string" title="raptor_serializer_start_to_string ()"><code class="function">raptor_serializer_start_to_string()</code></a>)</h3></div></div></div>
+<p>Serialize to a string that is allocated by the serializer
+(using <a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-to-string" title="raptor_new_iostream_to_string ()"><code class="function">raptor_new_iostream_to_string()</code></a> internally). The
+resulting string is only constructed after <a class="link" href="raptor2-section-serializer.html#raptor-serializer-serialize-end" title="raptor_serializer_serialize_end ()"><code class="function">raptor_serializer_serialize_end()</code></a> is called and at that
+point it is assigned to the string pointer passed in, with the length
+written to the optional length pointer. This function
+takes an optional base URI but may be required by some serializers.
+</p>
+<pre class="programlisting">
+ raptor_uri* uri = raptor_new_uri(world, "http://example.org/base");
+ void *string; /* destination for string */
+ size_t length; /* length of constructed string */
+ raptor_serializer* rdf_serializer = /* serializer created by some means */ ;
+
+ raptor_serializer_start_to_string(rdf_serializer, uri,
+ &amp;string, &amp;length);
+</pre>
+<p>
+</p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="serialize-to-filehandle"></a>Serialize to a FILE* file handle (<a class="link" href="raptor2-section-serializer.html#raptor-serializer-start-to-file-handle" title="raptor_serializer_start_to_file_handle ()"><code class="function">raptor_serializer_start_to_file_handle()</code></a>)</h3></div></div></div>
+<p>Serialize to an existing open C FILE* file handle
+(using <a class="link" href="raptor2-section-iostream.html#raptor-new-iostream-to-file-handle" title="raptor_new_iostream_to_file_handle ()"><code class="function">raptor_new_iostream_to_file_handle()</code></a> internally). The handle is not closed after serializing is finished. This function
+takes an optional base URI but may be required by some serializers.
+</p>
+<pre class="programlisting">
+ raptor_uri* uri = raptor_new_uri(world, "http://example.org/base");
+ FILE* fh = fopen("raptor.rdf", "wb");
+ raptor_serializer* rdf_serializer = /* serializer created by some means */ ;
+
+ raptor_serializer_start_to_file_handle(rdf_serializer, uri, fh);
+</pre>
+<p>
+</p>
+</div>
+<div class="section">
+<div class="titlepage"><div><div><h3 class="title">
+<a name="serialize-to-iostream"></a>Serialize to an <a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a> (<a class="link" href="raptor2-section-serializer.html#raptor-serializer-start-to-iostream" title="raptor_serializer_start_to_iostream ()"><code class="function">raptor_serializer_start_to_iostream()</code></a>)</h3></div></div></div>
+<p>This is the most flexible serializing method as it allows
+writing to any
+<a class="link" href="raptor2-section-iostream.html#raptor-iostream" title="raptor_iostream"><span class="type">raptor_iostream</span></a>
+which can be constructed to build any form of user-generated structure
+via callbacks. The iostream remains owned by the caller that can continue
+to write to it after the serializing is finished (after
+<a class="link" href="raptor2-section-serializer.html#raptor-serializer-serialize-end" title="raptor_serializer_serialize_end ()"><code class="function">raptor_serializer_serialize_end()</code></a>) is called).
+</p>
+<pre class="programlisting">
+ raptor_uri* uri = raptor_new_uri(world, "http://example.org/base");
+ raptor_iostream* iostream = /* iostream initialized by some means */ ;
+ raptor_serializer* rdf_serializer = /* serializer created by some means */ ;
+
+ raptor_serializer_start_to_iostream(rdf_serializer, uri, iostream);
+
+ while( /* got RDF triples */ ) {
+ raptor_statement* triple = /* ... triple made from somewhere ... */ ;
+ raptor_serializer_serialize_statement(rdf_serializer, triple);
+ }
+ raptor_serializer_serialize_end(rdf_serializer);
+
+ raptor_free_serializer(rdf_serializer);
+
+ /* ... write other stuff to iostream ... */
+
+ raptor_free_iostream(iostream);
+</pre>
+<p>
+</p>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial-serializing.html b/docs/html/tutorial-serializing.html
new file mode 100644
index 0000000..722f282
--- /dev/null
+++ b/docs/html/tutorial-serializing.html
@@ -0,0 +1,58 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Serializing RDF triples to a syntax: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="tutorial.html" title="Part I. Raptor Tutorial">
+<link rel="prev" href="tutorial-parser-example.html" title="Parsing example code">
+<link rel="next" href="tutorial-serializer-create.html" title="Create the Serializer object">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><a accesskey="u" href="tutorial.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
+<td><a accesskey="p" href="tutorial-parser-example.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-serializer-create.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="chapter">
+<div class="titlepage"><div><div><h2 class="title">
+<a name="tutorial-serializing"></a>Serializing RDF triples to a syntax</h2></div></div></div>
+<div class="toc"><dl class="toc">
+<dt><span class="section"><a href="tutorial-serializing.html#tutorial-serializing-intro">Introduction</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-create.html">Create the Serializer object</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-features.html">Serializer options</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-declare-namespace.html">Declare namespaces</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-set-error-warning-handlers.html">Set error and warning handlers</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-to-destination.html">Provide a destination for the serialized syntax</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="tutorial-serializer-to-destination.html#serialize-to-filename">Serialize to a filename (<code class="function">raptor_serializer_start_to_filename()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-to-destination.html#serialize-to-string">Serialize to a string (<code class="function">raptor_serializer_start_to_string()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-to-destination.html#serialize-to-filehandle">Serialize to a FILE* file handle (<code class="function">raptor_serializer_start_to_file_handle()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-to-destination.html#serialize-to-iostream">Serialize to an <span class="type">raptor_iostream</span> (<code class="function">raptor_serializer_start_to_iostream()</code>)</a></span></dt>
+</dl></dd>
+<dt><span class="section"><a href="tutorial-serializer-get-triples.html">Get or construct RDF Statements (Triples)</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-send-triples.html">Send RDF Triples to serializer</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-runtime-info.html">Querying serializer run-time information</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-destroy.html">Destroy the serializer</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-example.html">Serializing example code</a></span></dt>
+</dl></div>
+<div class="section">
+<div class="titlepage"><div><div><h2 class="title" style="clear: both">
+<a name="tutorial-serializing-intro"></a>Introduction</h2></div></div></div>
+<p>
+The typical sequence of operations to serialize is to create a
+serializer object, set various callback and features, start the
+serializing, send some RDF triples to the serializer object,
+finish the serializing and destroy the serializer object.
+</p>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/tutorial.html b/docs/html/tutorial.html
new file mode 100644
index 0000000..540a43c
--- /dev/null
+++ b/docs/html/tutorial.html
@@ -0,0 +1,102 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Part I. Raptor Tutorial: Raptor RDF Syntax Library Manual</title>
+<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
+<link rel="home" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="up" href="index.html" title="Raptor RDF Syntax Library Manual">
+<link rel="prev" href="introduction.html" title="Raptor Overview">
+<link rel="next" href="tutorial-initialising-finishing.html" title="Initialising and Finishing using the Library">
+<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
+<link rel="stylesheet" href="style.css" type="text/css">
+</head>
+<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
+<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
+<td width="100%" align="left" class="shortcuts"></td>
+<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
+<td><img src="up-insensitive.png" width="16" height="16" border="0"></td>
+<td><a accesskey="p" href="introduction.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
+<td><a accesskey="n" href="tutorial-initialising-finishing.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
+</tr></table>
+<div class="part">
+<div class="titlepage"><div><div><h1 class="title">
+<a name="tutorial"></a>Part I. Raptor Tutorial</h1></div></div></div>
+<div class="partintro">
+<div></div>
+<p>This part describes how to use the
+ <a class="ulink" href="http://librdf.org/raptor/" target="_top">Raptor</a> APIs to
+ turn syntaxes into RDF triples and RDF triples into syntaxes.</p>
+<p>The next part contains the
+ <a class="link" href="reference-manual.html" title="Part II. Raptor Reference Manual">Raptor Reference Manual</a>
+ which comprehensively describes every class and function of the API.
+ </p>
+<p>For the latest information, see the
+ <a class="ulink" href="http://librdf.org/raptor/" target="_top">Raptor Home Page</a>
+ and the <a class="ulink" href="../README.html" target="_top">main document overview</a>
+ in this document tree.
+ </p>
+<div class="toc">
+<p><b>Table of Contents</b></p>
+<dl class="toc">
+<dt><span class="chapter"><a href="tutorial-initialising-finishing.html">Initialising and Finishing using the Library</a></span></dt>
+<dt><span class="chapter"><a href="tutorial-querying-functionality.html">Listing built-in functionality</a></span></dt>
+<dt><span class="chapter"><a href="tutorial-parsing.html">Parsing syntaxes to RDF Triples</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="tutorial-parsing.html#tutorial-parsing-intro">Introduction</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-create.html">Create the Parser object</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-features.html">Parser options</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-set-triple-handler.html">Set RDF statement callback handler</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-set-error-warning-handlers.html">Set parsing log message handlers</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-set-id-handler.html">Set the identifier creator handler</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-set-namespace-handler.html">Set namespace declared handler</a></span></dt>
+<dt><span class="section"><a href="tutorial-parse-strictness.html">Set the parsing strictness</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-content.html">Provide syntax content to parse</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="tutorial-parser-content.html#parse-from-uri">Parse the content from a URI (<code class="function">raptor_parser_parse_uri()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-content.html#parse-from-www">Parse the content of a URI using an existing WWW connection (<code class="function">raptor_parser_parse_uri_with_connection()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-content.html#parse-from-filehandle">Parse the content of a C <code class="literal">FILE*</code> (<code class="function">raptor_parser_parse_file_stream()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-content.html#parse-from-file-uri">Parse the content of a file URI (<code class="function">raptor_parser_parse_file()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-content.html#parse-from-chunks">Parse chunks of syntax content provided by the application (<code class="function">raptor_parser_parse_start()</code> and <code class="function">raptor_parser_parse_chunk()</code>)</a></span></dt>
+</dl></dd>
+<dt><span class="section"><a href="restrict-parser-network-access.html">Restrict parser network access</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="restrict-parser-network-access.html#tutorial-filter-network-with-feature">Filtering parser network requests with option <code class="literal">RAPTOR_OPTION_NO_NET</code></a></span></dt>
+<dt><span class="section"><a href="restrict-parser-network-access.html#tutorial-filter-network-www-uri-filter">Filtering parser network requests with <code class="function">raptor_www_set_uri_filter()</code></a></span></dt>
+<dt><span class="section"><a href="restrict-parser-network-access.html#tutorial-filter-network-parser-uri-filter">Filtering parser network requests with <code class="function">raptor_parser_set_uri_filter()</code></a></span></dt>
+<dt><span class="section"><a href="restrict-parser-network-access.html#tutorial-filter-network-parser-timeout">Setting timeout for parser network requests with option <code class="literal">RAPTOR_OPTION_WWW_TIMEOUT</code></a></span></dt>
+</dl></dd>
+<dt><span class="section"><a href="tutorial-parser-static-info.html">Querying parser static information</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-runtime-info.html">Querying parser run-time information</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-abort.html">Aborting parsing</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-destroy.html">Destroy the parser</a></span></dt>
+<dt><span class="section"><a href="tutorial-parser-example.html">Parsing example code</a></span></dt>
+</dl></dd>
+<dt><span class="chapter"><a href="tutorial-serializing.html">Serializing RDF triples to a syntax</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="tutorial-serializing.html#tutorial-serializing-intro">Introduction</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-create.html">Create the Serializer object</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-features.html">Serializer options</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-declare-namespace.html">Declare namespaces</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-set-error-warning-handlers.html">Set error and warning handlers</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-to-destination.html">Provide a destination for the serialized syntax</a></span></dt>
+<dd><dl>
+<dt><span class="section"><a href="tutorial-serializer-to-destination.html#serialize-to-filename">Serialize to a filename (<code class="function">raptor_serializer_start_to_filename()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-to-destination.html#serialize-to-string">Serialize to a string (<code class="function">raptor_serializer_start_to_string()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-to-destination.html#serialize-to-filehandle">Serialize to a FILE* file handle (<code class="function">raptor_serializer_start_to_file_handle()</code>)</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-to-destination.html#serialize-to-iostream">Serialize to an <span class="type">raptor_iostream</span> (<code class="function">raptor_serializer_start_to_iostream()</code>)</a></span></dt>
+</dl></dd>
+<dt><span class="section"><a href="tutorial-serializer-get-triples.html">Get or construct RDF Statements (Triples)</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-send-triples.html">Send RDF Triples to serializer</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-runtime-info.html">Querying serializer run-time information</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-destroy.html">Destroy the serializer</a></span></dt>
+<dt><span class="section"><a href="tutorial-serializer-example.html">Serializing example code</a></span></dt>
+</dl></dd>
+</dl>
+</div>
+</div>
+</div>
+<div class="footer">
+<hr>Generated by GTK-Doc V1.33.1</div>
+</body>
+</html> \ No newline at end of file
diff --git a/docs/html/up-insensitive.png b/docs/html/up-insensitive.png
new file mode 100644
index 0000000..478700c
--- /dev/null
+++ b/docs/html/up-insensitive.png
Binary files differ
diff --git a/docs/html/up.png b/docs/html/up.png
new file mode 100644
index 0000000..636d50d
--- /dev/null
+++ b/docs/html/up.png
Binary files differ