Unveil the veil of MSXML4.0

zhaozj2021-02-08  242

Unveil the veil of MSXML4.0

Time: 2001/05/09 11:09 Author: Sun in a Chinese XML Union

On April 16, 2001, Microsoft released the technical preview version of MSXML parser 4.0. Compared to version 3.0, there are many ways to improve, such as support for W3C's latest XML Schema recommended recommendations. This article will introduce the new features of this version, and how to use MSXML 4.0 in a Side-by-Side mode mode. MSXML 4.0 The installer can be downloaded in MSDN Online Downloads.

Microsoft? XML Parser (MSXML) 4.0 Technology Preview Release is a prime version of MSXML 4.0. The technical preview provides new important features in MSXML 4.0, and modifies the original errors, improves performance, and provides more samples and documents.

The most significant new feature of this version is support for the recommendations of W3C XML Schema's recommendation on March 30, 2001. These include:

Check the XML Schema Definition (XSD) language in the DOM. The original MSXML supports DTD and XDR (XML-Data Reduces Version). With the maturity of XML Schema, MSXML is also turned to the support of XSD. The XMLSChema objects can be used to dynamize the verification of XML Schema. In addition to regular expressions, you can use all features in XML Schema. The regular expression will be supported in subsequent versions. Support for XSD in XPath and XSLT. The extended function provided in XPath and XSLT you can check the node of the XSD type, compare the string and time date value, sort, or can convert the string into a digital type in a manner supported in XSD.

At present, the XML Schema specification is still the final step, which is a formal recommendation (Proposed Recommendation). In the year 2001, XML

Schema will become the final recommendation of W3C (Recommendation). MSXML 4.0 will also update support to it.

In addition, the SAX2 general standard is also expanded based on SAX2 general standard. These extensions include:

Integrated DOM and SAX processing models, implements SAX and DOM transitions through SaxxmlReader and MXXMLWRITER objects. You can use MXXMLWRITER to generate SAX events outside the DOM tree, and you can also use the SAX event to establish a DOM tree. Similar to the element from the results tree, HTML can be generated from the SAX event stream, which is implemented by a new object MXHTMLWRITER object in MSXML4.0. Provide a Helper object tracking name (NameSpace) declaration. The MXNamespaceManager object fully supports the SAX revised version of 2000 on December 28, 2000.

The MSXML 4.0 technology preview also provides a new SAXAPP Wizard mechanism to develop SAX programs in Microsoft Visual Studio®. With this Wizard, you can quickly develop SAX application frameworks, similar to console or WFC applications for new projects.

Unlike MSXML3.0, it is also that the application mode of MSXML4.0 is called side-by-scrut. Do not run Xminst.exe alone when installing MSXML 4.0, and you can provide support for the original low version after installation, rather than replacing the original MSXML 2.0, MSXML 2.6 or MSXML 3.0.

We use the following table to illustrate the new features in MSXML 4.0:

转载请注明原文地址:https://www.9cbs.com/read-1827.html

New Post(0)