nih-gov/www.ncbi.nlm.nih.gov/mailman/pipermail/cpp-announce/2010/000132.html

126 lines
6.5 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [C++ Toolkit ANNOUNCE] XmlWrapp (C++ libxml2/libxslt wrapper) -- more functionality added
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:cpp-announce%40ncbi.nlm.nih.gov?Subject=Re%3A%20%5BC%2B%2B%20Toolkit%20ANNOUNCE%5D%20XmlWrapp%20%28C%2B%2B%20libxml2/libxslt%20wrapper%29%20--%0A%09more%20functionality%20added&In-Reply-To=%3C5377500297A5C54EAB355784469119B152B21F41%40NIHMLBX15.nih.gov%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="000131.html">
<LINK REL="Next" HREF="000133.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[C++ Toolkit ANNOUNCE] XmlWrapp (C++ libxml2/libxslt wrapper) -- more functionality added</H1>
<!--htdig_noindex-->
<B>Satsky, Sergey (NIH/NLM/NCBI) [C]</B>
<A HREF="mailto:cpp-announce%40ncbi.nlm.nih.gov?Subject=Re%3A%20%5BC%2B%2B%20Toolkit%20ANNOUNCE%5D%20XmlWrapp%20%28C%2B%2B%20libxml2/libxslt%20wrapper%29%20--%0A%09more%20functionality%20added&In-Reply-To=%3C5377500297A5C54EAB355784469119B152B21F41%40NIHMLBX15.nih.gov%3E"
TITLE="[C++ Toolkit ANNOUNCE] XmlWrapp (C++ libxml2/libxslt wrapper) -- more functionality added">satskyse at ncbi.nlm.nih.gov
</A><BR>
<I>Wed May 5 16:03:46 EDT 2010</I>
<P><UL>
<LI>Previous message: <A HREF="000131.html">[C++ Toolkit ANNOUNCE] Datatool v2.0.0 released
</A></li>
<LI>Next message: <A HREF="000133.html">[C++ Toolkit ANNOUNCE] [C++] New NCBI C++ Toolkit Release --June 2010
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#132">[ date ]</a>
<a href="thread.html#132">[ thread ]</a>
<a href="subject.html#132">[ subject ]</a>
<a href="author.html#132">[ author ]</a>
</LI>
</UL>
<HR>
<!--/htdig_noindex-->
<!--beginarticle-->
<PRE>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: <A HREF="http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/namespacexml.html">http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/namespacexml.html</A>
XSLT: <A HREF="http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/namespacexslt.html">http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/namespacexslt.html</A>
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:
<A HREF="http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classxml_1_1xpath__expression.html">http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classxml_1_1xpath__expression.html</A>
node_set node::run_xpath_query (const xpath_expression&amp; expr):
<A HREF="http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classxml_1_1node.html#b8ed0be468b2866183d491021bb07f34">http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classxml_1_1node.html#b8ed0be468b2866183d491021bb07f34</A>
--------------
The whole XmlWrapp API can be seen in Doxygen:
XML: <A HREF="http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/namespacexml.html">http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/namespacexml.html</A>
XSLT: <A HREF="http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/namespacexslt.html">http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/namespacexslt.html</A>
The library code is accompanied by a few demo projects (visible only in-house):
<A HREF="https://svn.ncbi.nlm.nih.gov/viewvc/toolkit/trunk/internal/c++/src/internal/demo/misc/xmlwrapp/">https://svn.ncbi.nlm.nih.gov/viewvc/toolkit/trunk/internal/c++/src/internal/demo/misc/xmlwrapp/</A>
and by (improved and extended) test suite:
<A HREF="https://svn.ncbi.nlm.nih.gov/viewvc/toolkit/trunk/internal/c++/src/internal/test/misc/xmlwrapp/">https://svn.ncbi.nlm.nih.gov/viewvc/toolkit/trunk/internal/c++/src/internal/test/misc/xmlwrapp/</A>
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: <A HREF="ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/MISC/">ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/MISC/</A> (UNIX only)
Link to the original libxmlwrapp 0.6.0: <A HREF="http://sourceforge.net/projects/xmlwrapp/">http://sourceforge.net/projects/xmlwrapp/</A>
----------------
JIRA: <A HREF="http://jira.ncbi.nlm.nih.gov/browse/CXX-893,">http://jira.ncbi.nlm.nih.gov/browse/CXX-893,</A> <A HREF="http://jira.ncbi.nlm.nih.gov/browse/CXX-1256">http://jira.ncbi.nlm.nih.gov/browse/CXX-1256</A>
The clone is maintained and developed by: Sergey Satskiy
Best regards,
- C++ Toolkit Group
-------------- next part --------------
An HTML attachment was scrubbed...
URL: &lt;<A HREF="http://www.ncbi.nlm.nih.gov/mailman/pipermail/cpp-announce/attachments/20100505/307381d7/attachment.html">http://www.ncbi.nlm.nih.gov/mailman/pipermail/cpp-announce/attachments/20100505/307381d7/attachment.html</A>&gt;
</PRE>
<!--endarticle-->
<!--htdig_noindex-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="000131.html">[C++ Toolkit ANNOUNCE] Datatool v2.0.0 released
</A></li>
<LI>Next message: <A HREF="000133.html">[C++ Toolkit ANNOUNCE] [C++] New NCBI C++ Toolkit Release --June 2010
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#132">[ date ]</a>
<a href="thread.html#132">[ thread ]</a>
<a href="subject.html#132">[ subject ]</a>
<a href="author.html#132">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://www.ncbi.nlm.nih.gov/mailman/listinfo/cpp-announce">More information about the cpp-announce
mailing list</a><br>
<!--/htdig_noindex-->
</body></html>