[C++ Toolkit ANNOUNCE] XmlWrapp (C++ API to handle XML data) - now with XPath support

Satsky, Sergey (NIH/NLM/NCBI) [C] satskyse at ncbi.nlm.nih.gov
Mon Aug 17 12:20:19 EDT 2009


Dear C++ developers,

 

 

The NCBI clone of XmlWrapp library has been extended to also support
XPath queries (much as it is supported by the underlying libxml2).

 

The added XPath-related APIs:

   class xpath_expression:

 
http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classxml_1_1xpa
th__expression.html

   node_set node::run_xpath_query (const xpath_expression& expr):

 
http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classxml_1_1nod
e.html#b8ed0be468b2866183d491021bb07f34

 

 

--------------

The whole XmlWrapp API can be seen in Doxygen:

  XML:
http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/namespacexml.ht
ml

  XSLT:
http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/namespacexslt.h
tml

 

The library code is accompanied by a few demo projects (visible only
in-house):

 
https://svn.ncbi.nlm.nih.gov/viewvc/toolkit/trunk/internal/c++/src/inter
nal/demo/misc/xmlwrapp/

and by (improved and extended) test suite:

 
https://svn.ncbi.nlm.nih.gov/viewvc/toolkit/trunk/internal/c++/src/inter
nal/test/misc/xmlwrapp/

 

The C++ Toolkit makefile tune-ups required to use the library:

  LIB = xmlwrapp

  LIBS = $(LIBXML_LIBS) $(LIBXSLT_LIBS) $(ORIG_LIBS)

  CPPFLAGS= $(LIBXML_INCLUDE) $(LIBXSLT_INCLUDE) $(ORIG_CPPFLAGS)

 

 

For the NCBI internal users the library is available at
$NCBI/c++.metastable.

Outside users can download it from FTP:
ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/MISC/ (UNIX only)

Link to the original libxmlwrapp 0.6.0:
http://sourceforge.net/projects/xmlwrapp/

 

----------------

JIRA:  http://jira.ncbi.nlm.nih.gov/browse/CXX-893,
http://jira.ncbi.nlm.nih.gov/browse/CXX-1256

The clone is maintained and developed by:  Sergei Satskiy

 

 

Best regards,

   - C++ Toolkit Group

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ncbi.nlm.nih.gov/mailman/pipermail/cpp-announce/attachments/20090817/e331bf17/attachment.html>


More information about the cpp-announce mailing list