Beginnings of XML to OPAC conversion
[yaz-moved-to-github.git] / src / xml_to_opac.c
diff --git a/src/xml_to_opac.c b/src/xml_to_opac.c
new file mode 100644 (file)
index 0000000..ab19cff
--- /dev/null
@@ -0,0 +1,39 @@
+/* This file is part of the YAZ toolkit.
+ * Copyright (C) 1995-2013 Index Data
+ * See the file LICENSE for details.
+ */
+/**
+ * \file xml_to_opac.c
+ * \brief Implements XML to OPAC conversion
+ */
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <stdio.h>
+#include <string.h>
+#include <stdlib.h>
+
+#include <yaz/proto.h>
+#include <yaz/marcdisp.h>
+
+#if YAZ_HAVE_XML2
+#include <libxml/parser.h>
+#include <libxml/tree.h>
+
+void yaz_xml_to_opac(yaz_marc_t mt, xmlNode *src, Z_OPACRecord **dst,
+                     yaz_iconv_t cd)
+{
+
+}
+#endif
+
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+