Towards 2.1.44. Bump copyright year.
[yaz-moved-to-github.git] / include / yaz / xmlquery.h
index 2e22a67..fc6e7db 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1995-2006, Index Data
+ * Copyright (c) 1995-2007, Index Data
  * All rights reserved.
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -24,7 +24,7 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
-/* $Id: xmlquery.h,v 1.7 2006-10-13 11:30:37 adam Exp $ */
+/* $Id: xmlquery.h,v 1.9 2007-01-03 08:42:14 adam Exp $ */
 
 /** \file xmlquery.h
     \brief Query / XML conversions
 #ifndef YAZ_XMLQUERY_H
 #define YAZ_XMLQUERY_H
 
-#if YAZ_HAVE_XML2
 #include <yaz/yconfig.h>
 #include <yaz/proto.h>
-
-#include <libxml/parser.h>
+#include <yaz/xmltypes.h>
 
 YAZ_BEGIN_CDECL
 
@@ -50,7 +48,6 @@ YAZ_EXPORT void yaz_xml2query(const void *xmlnodep, Z_Query **query, ODR odr,
 YAZ_END_CDECL
 
 #endif
-#endif
 
 /*
  * Local variables: