00001 /********************************************************************\ 00002 * qofquery-serialize.h -- Convert QofQuery to XML * 00003 * Copyright (C) 2004 Linas Vepstas <linas@linas.org> * 00004 * * 00005 * This program is free software; you can redistribute it and/or * 00006 * modify it under the terms of the GNU General Public License as * 00007 * published by the Free Software Foundation; either version 2 of * 00008 * the License, or (at your option) any later version. * 00009 * * 00010 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 * * 00015 * You should have received a copy of the GNU General Public License* 00016 * along with this program; if not, contact: * 00017 * * 00018 * Free Software Foundation Voice: +1-617-542-5942 * 00019 * 51 Franklin Street, Fifth Floor Fax: +1-617-542-2652 * 00020 * Boston, MA 02110-1301, USA gnu@gnu.org * 00021 * * 00022 \********************************************************************/ 00023 /* qofquery-serialize.h 00024 Convert QofQuery to XML 00025 Copyright (C) 2001,2002,2004 Linas Vepstas <linas@linas.org> 00026 */ 00027 00028 /* NOTE: Development of this idea has ceased and this file is 00029 no longer included in the QOF library. It remains in CVS for now.*/ 00030 00031 #ifndef QOF_QUERY_SERIALIZE_H 00032 #define QOF_QUERY_SERIALIZE_H 00033 00034 #include "qofquery.h" 00035 #include <libxml/tree.h> 00036 00037 /* XML Serialize Queries to/from XML */ 00038 00039 /* Take the query passed as input, and serialize it into XML. 00040 * The DTD used will be a very qofquery specific DTD 00041 * This is NOT the XQuery XML. 00042 */ 00043 xmlNodePtr qof_query_to_xml (QofQuery * q); 00044 00045 #endif /* QOF_QUERY_SERIALIZE_H */