X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fnmem_xml.h;h=fdfe3561d67e5a11fdefb72534352355b0341347;hb=6f7757087a49db5fb3fa4f3b12b8b67ebbbe3aa3;hp=08eb52437647b96ff4cbd51d070e1d9e86173aab;hpb=8f8560e0ab3b370263683d8aea81b839c5927091;p=yaz-moved-to-github.git diff --git a/include/yaz/nmem_xml.h b/include/yaz/nmem_xml.h index 08eb524..fdfe356 100644 --- a/include/yaz/nmem_xml.h +++ b/include/yaz/nmem_xml.h @@ -1,5 +1,5 @@ -/* - * Copyright (c) 1995-2006, Index Data +/* This file is part of the YAZ toolkit. + * Copyright (C) 1995-2008 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,6 @@ * (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: nmem_xml.h,v 1.2 2006-12-13 11:25:17 adam Exp $ */ /** * \file nmem_xml.h @@ -39,8 +38,10 @@ YAZ_BEGIN_CDECL +#if YAZ_HAVE_XML2 /** \brief copies TEXT Libxml2 node data to NMEM */ YAZ_EXPORT char *nmem_text_node_cdata(const xmlNode *ptr, NMEM nmem); +#endif YAZ_END_CDECL