Home >Common Problem >What is msxml4.0

What is msxml4.0

(*-*)浩
(*-*)浩Original
2019-06-03 11:19:5222984browse

msxml refers to Microsoft's xml language parser, which is used to interpret xml language. Just like the html text is downloaded locally, the browser will check the syntax of the html, interpret the html text and then display it. To use xml files, you must use xml parser. But not only Microsoft has it, IBM and Sun have their own xml parser.

What is msxml4.0

Basic information

MSXML contains the SDK software development kit, which is a language parser produced by Microsoft. It has been Applied to the latest games.

So, what is MSXML?

Its full name is: "Microsoft XML Core Services", which is mainly used to execute or develop the latest applications designed through XML.

Microsoft officially released its XML core service component---MSXML 4.0. Compared with MSXML 3.0, MSXML 4.0 provides a large number of new features and functional improvements. These include: support for XML schema languages, faster parsers and XSLT engines, better handling of XML streams, and better consistency support. MSXML 4.0 is not a replacement for MSXML 3.0, as some obsolete features in 3.0 have been completely removed in 4.0. So 4.0 can be installed at the same time as 3.0 (or even earlier versions).

MSXML 4.0 Service Pack 2 (SP2) is a complete replacement for MSXML 4.0 and MSXML 4.0 Service Pack 1 (SP1). It provides numerous security and bug fixes.

MSXML 4.0 SP2 does not replace MSXML 3.0 because it no longer supports some old and inconsistent features. So users may have to run both MSXML 4.0 and MSXML 3.0 or earlier.

MSXML 6.0 will be installed together with MSXML3.0 and MSXML4.0 and will not affect existing applications using MSXML3.0 and MSXML4.0 (version-independent ProgIDs will not point to MSXML6.0 ).

Text

DOM can be considered as a standard structural system used to connect documents and applications (it can also be a script language). The MSXML parser allows you to load and create a document, collect error messages from the document, obtain and manipulate all information and structures in the document, and save the document in an XML file. DOM provides users with an interface to load, access, manipulate and serialize XML documents. DOM provides a complete representation of the XML document stored in memory and provides a method for random access to the entire document. The DOM allows applications to manipulate information in an XML document according to the logical structure provided by the MSXML parser. Use the interface provided by MSXML to operate XML.

In fact, the MSXML parser generates a DOM tree structure based on the XML document. It can read the XML document and create a logical structure of nodes based on the content of the XML document. The document itself is considered to be a node that contains all other nodes. .

DOM enables users to view documents as a structured information tree rather than a simple text stream. In this way, even if the semantic details of XML are not known, applications or scripts can easily manipulate the structure. The DOM contains two key abstractions: a tree-like hierarchy and a collection of nodes used to represent the content and structure of the document. The tree hierarchy contains all these nodes, and the nodes themselves can also contain other nodes. The advantage of this is that for developers, he can find and modify the information of a corresponding node through this hierarchical structure. The DOM treats nodes as ordinary objects, so it is possible to create a script to load a document and then traverse all nodes to display information about the nodes of interest. Note that nodes can have many specific types, such as elements, attributes, and text, which can all be considered a node.

Microsoft's MSXML parser reads an XML document and then parses its content into an abstract information container called a node (NODES). These nodes represent the structure and content of the document and allow applications to read and manipulate information in the document without explicitly knowing the semantics of XML. After a document is parsed, its nodes can be viewed at any time without maintaining a certain order.

For developers, the most important programming object is DOMDocument. The DOMDocument object allows browsing, querying, and modifying the content and structure of an XML document by exposing properties and methods. Each subsequent object exposes its own properties and methods, so that information about the object instance can be collected, and the object's value and structure can be manipulated. , and navigate to other objects in the tree.

The above is the detailed content of What is msxml4.0. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Related articles

See more