Common titles for XML entry (1)-Xml Programming Tutorial

Source: Internet
Author: User
Tags xslt processor
Common titles for XML entry (1) What is XML? Extensible Markup Language (XML) is a common data language on the Web. It enables developers to transfer structured data from many different exploitation programs to the desktop for local computing and demonstration. XML promise

Common XML entry titles (1)

What is XML?

Extensible Markup Language (XML) is a common data language on the Web. It enables developers to transfer structured data from many different exploitation programs to the desktop for local computing and demonstration. XML promises to create a unique data pattern for specific exploitation programs. It is also an imaginary pattern of transmitting structured data between servers.

What is MSXML?

MSXML is a Microsoft software component that provides Core XML Services.

What can Microsoft XML analyzer do?

The latest Microsoft Core XML service provides the following four different functions.

Analyzer based on the Document Object Model (DOM), which can obtain text streams (files that can be converted to XML, strings in programs, or any other text) and converts it to a programmable, navigable XML tree structure.

The Simple API for XML analyzer is optimized for processing large documents and high throughput. SAX is an event-based analyzer that reads documents and Reports Analysis events (such as the beginning and end of an element) directly to the exploitation program. A user creates a processing program that processes different events, which is very similar to processing events in a graphical user interface (GUI.

The XSLT processor reads the XSLT file and uses the commands of the extended style sheet conversion language (XSLT) file to the XML file to generate some types of output. In addition to creating XML structures, the XSLT processor can also perform necessary optimizations on the obtained XSLT filter. In addition, it is more like a compiler from a technical point of view.

Verify that the analyzer reads the Document Type Definition (DTD) or XML architecture, and then checks whether the structure of the obtained document is accurate and does not contain data that conflicts with the architecture. Please note that for the architecture only, the verification architecture will return the architecture itself as an object, which can be referenced when options are created in the HTML list box later.
All four functions are included in the same MSXML library package, which can be obtained free of charge from the msdn xml development staff Center (English.

What is the difference between MSXML, MSXML2, and MSXML3?

XML has experienced many repetitions in the past three years, so it is not surprising that different versions of Microsoft XML analyzer exist. Internet Explorer 4.0 contains earlier versions of XML analyzer, which is earlier than XSL, XML data, or most other XML techniques (and has different DOM models. This early version of Analyzer is included in the MSXML. dll Library. The analyzer can be upgraded from the msdn xml development staff Center (English) to a newer one.

We strongly recommend that you upgrade to the new analyzer because it is much stronger. Internet Explorer 5.0 contains the MSXML 2.0 analyzer, which contains the basic versions of the XSL and XML architectures. MSXML2 is the analyzer version that comes with SQL Server 2000. MSXML2 includes a lot of performance enhancements and improves performance and scalability in general. MSXML3 is a version that is currently attached to "tip preview. MSXML3 supports XSLT, XPath, and SAX interfaces.

Can XML replace HTML?

XML provides greater mobility than HTML, but it cannot quickly replace HTML. In fact, XML and HTML can work well together. Microsoft hopes that many authors and developers can apply XML and HTML at the same time, for example, using XSLT to generate HTML.

What are the benefits of adding XML in HTML?

The benefits of applying XML on the Web are as follows:

It provides data for local computing. Data transferred to the desktop can be calculated locally. The XML analyzer can read data and submit it to a local exploitation program (such as a browser) for further viewing or processing. Data can also be processed by scripts or other programming languages that use the XML object model.

Provides users with accurate structured data views. Data transferred to the desktop can be expressed in multiple ways. A local dataset can be dynamically displayed to the user in the view based on user interests, configurations, and other factors in an appropriate situation.

To integrate structured data of different origins. Generally, the application proxy integrates data from the backend database and other exploitation programs on the intermediate layer server so that the data can be transmitted to the desktop or other servers, further aggregation, processing, and distribution.

Describes data from multiple exploitation programs. Because XML can be expanded, it can be used to describe data from a variety of exploitation programs, from Web page descriptions to data records. Because data is self-describing, you can receive and process data without the built-in data description.

Improves performance through granular updates. XML promises to be updated at a granularity. Developers do not have to send all structured datasets each time a correction is made. With granular updates, only the transformed elements must be sent from the server to the client. The converted data can be displayed without refreshing all pages or tables.

Is XML only applicable to core developers?

No. Like HTML documents, XML documents can be created by anyone-or even by anyone without any programming experience. XML is just a method to describe the scale of information. It is also a language that can be written without any software. You can write XML documents in the text editor and directly put them into the Web site without writing any code in the traditional method.

What do I need when I start to use XML?

To apply XML, you must be able to read the XMl analyzer of the XML document and process its content. Microsoft provides a analyzer that can be downloaded from the msdn xml development staff Center (English.

To apply an XML document, you can apply a text editor (such as Notepad) or any other editor that can be used to create an HTML page. To create a complete XML exploitation program, apply such as Microsoft? Visual Studio? Programming environment.

Is there an actual example of how to apply XML?

XML is being applied in an astonishing number of exploitation programs, ranging from website creation and documentation to database integration and distributed programming. XML is useful in the following categories:

Transmission of services. Business data (invoices, purchase orders, accounting and tax information, etc.) are electronically transmitted between manufacturers in XML format. Compared with the old electronic data exchange (EDI) pattern, XML provides many advantages, not only can be converted from one invoice pattern to another during transmission.

Distributed Programming. XML is a fantasy complex multi-platform program structure plan, which makes integration of Windows servers and other control systems possible.

Web site system structure. Due to the hierarchical structure and distributed characteristics of XML, Web site developers are increasingly applying it to the overall system structure and navigation structure of their Web sites. In addition, more and more Directory Tables and index tables, XML structures that track user information and Web site status, HTML-based components, and data stream processing channels are written in XML and XSLT.

Database control. XML is becoming a popular tool for interacting with databases-whether to retrieve XML datasets from SQL queries or update databases with XML records. In addition, we also have the advantages of separate implementation. By compressing data into SML, you do not need to understand the actual database structure.

Document governance. At present, most companies are stuck in the ocean of paperwork and will get worse and worse. XML is increasingly being used to encode documents into XML, making it easier to search documents or to provide comments to documents for more effective reference.

Can I neglect XML?

XML cannot be neglected if you want to compete in the Internet world. XML is a language that leads to schema transfer in ways that we consider programming. Traditional dedicated client/server exploitation programs are giving way to the Internet service "visit anytime, anywhere". XML is used to process everything (from data access processing to data presentation in this new environment) logical media.

Does Microsoft Internet Explorer 4.0 support XML?

Yes. Internet Explorer 4.0 supports the following XML functions:

A common XML analyzer that reads XML files and passes them to a program (such as a viewer) for processing. Developers can use Microsoft's two analyzers: Microsoft XML analysis in C and Microsoft XML analyzer in Java.

The XML Object Model (xml om) applies the World Wide Web Consortium (W3C) Standard Document Object Model (DOM) to allow the program to visit structured data through the XML analyzer, allows developers to interact with and calculate data. For more information, see DOM standards ).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.