Change comment about second arg of yaz_matchstr
[yaz-moved-to-github.git] / include / yaz / record_conv.h
index 4cd00e0..919f76d 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: record_conv.h,v 1.5 2006-10-09 21:02:41 adam Exp $ */
+/* $Id: record_conv.h,v 1.8 2007-01-03 08:42:14 adam Exp $ */
 
 /**
  * \file record_conv.h
@@ -37,6 +37,7 @@
 #include <stddef.h>
 #include <yaz/wrbuf.h>
 #include <yaz/yconfig.h>
+#include <yaz/xmltypes.h>
 
 YAZ_BEGIN_CDECL
 
@@ -62,24 +63,22 @@ YAZ_EXPORT void yaz_record_conv_destroy(yaz_record_conv_t p);
     On failure, use yaz_record_conv_get_error to get error string.
     
     \verbatim
-    <convert>
+    <backend syntax='xml'>
       <xslt stylesheet="dc2marcxml.xsl"/>
       <marc inputformat="xml" outputformat="marcxml" outputcharset="marc-8"/>
-    </convert>
+    </backend>
     \endverbatim
 
     \verbatim
-    <convert>
+    <backend syntax='usmarc' name='F'>
       <marc inputformat="marc" outputformat="marcxml" inputcharset="marc-8"/>
       <xslt stylesheet="marcxml2mods.xsl"/>
       <xslt stylesheet="mods2dc.xsl"/>
-    </convert>
+    </backend>
     \endverbatim
-
-
 */
 YAZ_EXPORT
-int yaz_record_conv_configure(yaz_record_conv_t p, const void *node);
+int yaz_record_conv_configure(yaz_record_conv_t p, const xmlNode *node);
 
 /** performs record conversion
     \param p record conversion handle