/*
- * 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:
* (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
#include <stddef.h>
#include <yaz/wrbuf.h>
#include <yaz/yconfig.h>
+#include <yaz/xmltypes.h>
YAZ_BEGIN_CDECL
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