From: Oleg T. <he...@us...> - 2004-11-01 17:19:31
|
Update of /cvsroot/mvp-xml/WebSite/common In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4471/common Added Files: index.html Log Message: Extended version... --- NEW FILE: index.html --- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Mvp.Xml project: Common module</title> <link href="../style.css" type="text/css" rel="stylesheet"> </head> <body> <h1>Mvp.Xml Project: Common module<br> </h1> The Common module includes a set of commonly useful classes in <span style="font-family: monospace;">Mvp.Xml.Common</span> and <span style="font-family: monospace;">Mvp.Xml.Common.XPath</span> namespaces, which extend the .NET functionality available through the <a target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemxml.asp"> System.Xml</a> and related namespaces.<br> <br> The following is a list of features, a short explanation and a link to its corresponding full explanation post: <ul> <li> <a target="_blank" href="http://weblogs.asp.net/cazzu/archive/2003/10/07/30888.aspx">DynamicContext</a>: allows precompilation of XPath expression involving dynamic values for a performance increase of 1.5 x - 4 x. </li> <li> <a target="_blank" href="http://weblogs.asp.net/cazzu/archive/2004/04/02/106667.aspx">XPathCache</a>: based on the previous class, exposes a cache of precompiled XPath expressions that can be executed with a single line of code. Replacing existing dynamic queryies with this involves minimal effort and yields even greater performance than the previous one alone for scenarios involving queries with sort expressions. </li> <li> <a target="_blank" href="http://www.tkachenko.com/blog/archives/000194.html">IndexingXPathNavigator</a>: allows the use of the XSLT key function to create indexes for fast querying. Very handy for query intensive applications that need to repeatedly look for elements and matches. It yields an amazing 10 x performance improvement at a minimum. </li> <li> <a target="_blank" href="http://weblogs.asp.net/cazzu/archive/2004/04/19/115966.aspx">XPathNavigatorReader</a>: implements an <a target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemxmlxmltextreaderclasstopic.asp"> XmlTextReader</a> over any <a target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemXmlXPathXPathNavigatorClassTopic.asp"> XPathNavigator</a>, effectively offering <a target="_blank" href="http://weblogs.asp.net/cazzu/archive/2004/06/25/165375.aspx">in-memory XML Schema validation without re-parsing</a>, <a target="_blank" href="http://weblogs.asp.net/cazzu/archive/2004/05/10/129101.aspx">subset document loading</a> through <a target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemxmlxmlreaderclassreadinnerxmltopic.asp"> ReadInnerXml</a> and <a target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemxmlxmlreaderclassreadouterxmltopic.asp"> ReadOuterXml</a> methods, and automatic XML serialization by implementing the <a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemxmlserializationixmlserializableclasstopic.asp"> IXmlSerializable</a> interface. Of course you can also use just to query for the XML string representation from an arbitrary navigator ;).</li> <li> <a target="_blank" href="http://www.tkachenko.com/blog/archives/000117.html">XmlNodeNavigator</a> : the <a target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemxmlxmlnodeclasstopic.asp"> XmlNode</a> implementation of the <a target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemxmlxpathixpathnavigableclasscreatenavigatortopic.asp"> IXPathNavigable.CreateNavigator</a> will always return an <a target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemXmlXPathXPathNavigatorClassTopic.asp"> XPathNavigator</a> starting at the root of the document, *not* the current node you're standing in. This class solves this issue by creating a navigator that can be used to navigate the subtree. </li> <li> <a target="_blank" href="http://weblogs.asp.net/cazzu/archive/2004/06/24/164243.aspx">SubtreeXPathNavigator</a>: allows to scope a navigator to the current node. This allows high-performance subtree XSLT transformations without re-parsing. </li> <li><!--StartFragment --> <a href="http://weblogs.asp.net/cazzu/archive/2004/04/23/119263.aspx">XmlFragmentStream</a>: allows to read a file that contains only node fragments, by faking a root element at the stream level. This allows loading the XML into a document for querying, for example, something that is not possible with an <a target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemxmlxmltextreaderclasstopic.asp"> XmlTextReader</a> alone. Very useful for logging applications that write XML fragments and its corresponding log analyzer. </li> <li><!--StartFragment --> <a href="http://weblogs.asp.net/cazzu/archive/2004/04/26/120684.aspx">XPathIteratorReader</a>: exposes an <a target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemxmlxmltextreaderclasstopic.asp"> XmlTextReader</a> over an <a target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemXmlXPathXPathNodeIteratorClassTopic.asp"> XPathNodeIterator</a>, with special overloads to configure the new faked root elemetn. Very useful if you need to return the results of a query from a WebService. In this case you use it in combination with the <a target="_blank" href="http://weblogs.asp.net/cazzu/archive/2004/05/31/144922.aspx"> XmlNodeFactory</a>. </li> <li> <a target="_blank" href="http://weblogs.asp.net/cazzu/archive/2004/05/31/144922.aspx">XmlNodeFactory</a>: allows returning well-formed XML from WebServices without loading XmlDocument at all, by providing a factory for custom <a target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemxmlxmlnodeclasstopic.asp"> XmlNode</a> adapter objects for <a target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemxmlxmlreaderclasstopic.asp"> XmlReader</a> and <a target="_blank" href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemXmlXPathXPathNavigatorClassTopic.asp"> XPathNavigator</a>, avoiding all re-parsing costs. </li> <li> <a target="_blank" href="http://weblogs.asp.net/cazzu/archive/2004/05/10/129106.aspx">XmlFirstUpperReader and XmlFirstLowerWriter</a>: used in combination usually for configuration files. Allows automatic case conversion to match .NET and XML conventions, where the former uses PascalCasing and the later camelCasing. Together, they provide roundtriping and transparent processing while maintaining the natural casing of each domain.</li> <li><a href="http://www.tkachenko.com/blog/archives/000333.html">XmlBaseAwareXmlTextReader</a>: XmlTextReader, augmented to support <a href="http://www.w3.org/TR/xmlbase/">XML Base</a>.</li> <li><a href="///%20See:%20http://www.tkachenko.com/blog/archives/000112.html">XmlTransformingReader</a>: XmlReader, transforming input XML stream according to given XSLT stylesheet.</li> </ul> <p> All classes contain extensive tests to ensure its quality, as well as the peer review among this highly focused group of XML lovers.</p> <hr style="width: 100%; height: 2px;"> <p> The project is hosted at <a target="_blank" href="http://prdownloads.sourceforge.net/mvp-xml/Mvp.Xml.zip?download"> SourceForge</a>. Find more at the <a href="http://sourceforge.net/projects/mvp-xml">Mvp.Xml project page at SourceForge</a>.<br> <a href="http://sourceforge.net/" title="Link to SourceForge home page"><img src="http://sourceforge.net/sflogo.php?group_id=102352&type=1" alt="SourceForge logo" border="0"></a> </p> <p> </p> </body> </html> |