[C++ Toolkit ANNOUNCE] XmlWrapp (C++ libxml2/libxslt wrapper) -- more functionality added
Satsky, Sergey (NIH/NLM/NCBI) [C]
satskyse at ncbi.nlm.nih.gov
Wed May 5 16:03:46 EDT 2010
Dear C++ developers,
XmlWrapp library has been extended with:
- XSD validation support (NEW)
- DTD validation support (EXTENDED) -- collect *all* validation warnings and error messages
- DOM and SAX parsers (EXTENDED) -- collect *all* warnings and error messages
- SAX parser (EXTENDED) -- added more callbacks; also, now it can be instructed which callbacks should be
- Exceptions (IMPROVED) -- use xml::exception instead of std::runtime_error
Documentation:
XML: http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/namespacexml.html
XSLT: http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/namespacexslt.html
Best regards,
- C++ Toolkit Group
--------------------------------------------------------------------------------------------------------------------
Original announcement:
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_1xpath__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_1node.html#b8ed0be468b2866183d491021bb07f34
--------------
The whole XmlWrapp API can be seen in Doxygen:
XML: http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/namespacexml.html
XSLT: http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/namespacexslt.html
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/internal/demo/misc/xmlwrapp/
and by (improved and extended) test suite:
https://svn.ncbi.nlm.nih.gov/viewvc/toolkit/trunk/internal/c++/src/internal/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: Sergey 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/20100505/307381d7/attachment.html>
More information about the cpp-announce
mailing list