1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>QOF: Serialize Queries to/from XML</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.3.6-20040222 -->
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div>
<h1>Serialize Queries to/from XML<br>
<small>
[<a class="el" href="group__Query.html">Query: Querying for Objects</a>]</small>
</h1><hr><a name="_details"></a><h2>Detailed Description</h2>
Qof Queries can be converted to and from XML so that they can be sent from here to there. This file implements the routine needed to convert the XML back into a C struct.
<p>
<table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="group__Query.html#ga0">QofQuery</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="group__XML.html#ga0">qof_query_from_xml</a> (xmlNodePtr)</td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>xmlNodePtr </td><td class="memItemRight" valign=bottom><a class="el" href="group__XML.html#ga1">qof_query_to_xml</a> (<a class="el" href="group__Query.html#ga0">QofQuery</a> *q)</td></tr>
</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="ga0" doxytag="qofquery-deserial.h::qof_query_from_xml" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> <a class="el" href="group__Query.html#ga0">QofQuery</a>* qof_query_from_xml </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">xmlNodePtr </td>
<td class="mdname1" valign="top" nowrap> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Given an XML tree, reconstruct and return the equivalent query. </td>
</tr>
</table>
<a class="anchor" name="ga1" doxytag="qofquery-serialize.h::qof_query_to_xml" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top"> xmlNodePtr qof_query_to_xml </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top"><a class="el" href="group__Query.html#ga0">QofQuery</a> * </td>
<td class="mdname1" valign="top" nowrap> <em>q</em> </td>
<td class="md" valign="top"> ) </td>
<td class="md" nowrap></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
<tr>
<td>
</td>
<td>
<p>
Take the query passed as input, and serialize it into XML. The DTD used will be a very qofquery specific DTD This is NOT the XQuery XML. </td>
</tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Sun May 23 15:41:48 2004 for QOF by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.6-20040222 </small></address>
</body>
</html>
|