v2.3.0
This commit is contained in:
parent
feed734f17
commit
824eb94695
3514 changed files with 90507 additions and 92619 deletions
|
@ -5,11 +5,10 @@
|
|||
<link href="tabs.css" rel="stylesheet" type="text/css">
|
||||
</head><body>
|
||||
<a style="float:right;" href="http://sourceforge.net/projects/xqilla"><img src="http://sflogo.sourceforge.net/sflogo.php?group_id=152021&type=2" border="0" alt="SourceForge.net Logo" /></a>
|
||||
<!-- Generated by Doxygen 1.6.1 -->
|
||||
<div class="navigation" id="top">
|
||||
<div class="tabs">
|
||||
<ul>
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
<div id="navrow1" class="tabs">
|
||||
<ul class="tablist">
|
||||
<li><a href="index.html"><span>Main Page</span></a></li>
|
||||
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
|
||||
<li><a href="annotated.html"><span>Classes</span></a></li>
|
||||
<li><a href="files.html"><span>Files</span></a></li>
|
||||
|
@ -17,10 +16,15 @@
|
|||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<h1>simple-context-item.cpp</h1> </div>
|
||||
</div>
|
||||
<div class="contents">
|
||||
<h1>simple-context-item.cpp</h1><p>This example parses a document and sets it as the context item. It then executes an XQuery expression that navigates relative to the context item.</p>
|
||||
<p>This example parses a document and sets it as the context item. It then executes an XQuery expression that navigates relative to the context item.</p>
|
||||
<div class="fragment"><pre class="fragment"><span class="preprocessor">#include <iostream></span>
|
||||
<span class="preprocessor">#include <<a class="code" href="xqilla-simple_8hpp.html">xqilla/xqilla-simple.hpp</a>></span>
|
||||
<span class="preprocessor">#include <<a class="code" href="Sequence_8hpp.html">xqilla/runtime/Sequence.hpp</a>></span>
|
||||
|
||||
<span class="keywordtype">int</span> main(<span class="keywordtype">int</span> argc, <span class="keywordtype">char</span> *argv[]) {
|
||||
<span class="comment">// Initialise Xerces-C and XQilla by creating the factory object</span>
|
||||
|
@ -28,7 +32,7 @@
|
|||
|
||||
<span class="comment">// Parse an XQuery expression</span>
|
||||
<span class="comment">// (AutoDelete deletes the object at the end of the scope)</span>
|
||||
<a name="_a1"></a><a class="code" href="classAutoDelete.html">AutoDelete<XQQuery></a> query(xqilla.<a name="a2"></a><a class="code" href="classXQilla.html#a39c596fdbef7dd8d2bb2339eb017e10d" title="Parse the expression contained in the given query string.">parse</a>(X(<span class="stringliteral">"foo/bar/@baz"</span>)));
|
||||
<a name="_a1"></a><a class="code" href="classAutoDelete.html">AutoDelete<XQQuery></a> query(xqilla.<a name="a2"></a><a class="code" href="classXQilla.html#a7475d47b7b2fc51434ba9a381431f7ec" title="Parse the expression contained in the given query string.">parse</a>(X(<span class="stringliteral">"foo/bar/@baz"</span>)));
|
||||
|
||||
<span class="comment">// Create a context object</span>
|
||||
<a class="code" href="classAutoDelete.html">AutoDelete<DynamicContext></a> context(query->createDynamicContext());
|
||||
|
@ -53,8 +57,9 @@
|
|||
<span class="keywordflow">return</span> 0;
|
||||
}
|
||||
</pre></div> </div>
|
||||
<hr size="1"/><address style="text-align: right;"><small>Generated on Mon Mar 1 21:15:51 2010 for XQilla Simple API by
|
||||
</div>
|
||||
<hr class="footer"/><address class="footer"><small>Generated on Mon Oct 31 2011 19:08:35 for XQilla Simple API by 
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
|
||||
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue