Three methods to implement XML

Source: Internet
Author: User
Before getting familiar with XML, we should at least understand how this technique is implemented. According to the current trend (since the scale correction of XML is as many as times, no matter what it will do at last, let's look at the current implementation method first.

Before getting familiar with XML, we should at least understand how this technique is implemented. According to the current trend (since the scale correction of XML is as many as times, no matter how it will last, let's look at the current implementation method first ), so that the user can finally see what the XML technique has done on the client (if it is described in industry terminology, that is, how to use XSL cascading sample tables to convert XML documents into other formats, such as HTML .), There are three important implementation methods:

1. The first method is:

Let the XML document and the associated XSL cascade sample table be transmitted to the client at the same time (usually the browser is applied), and then the XML document is displayed on the client according to the display pattern defined by XSL.

2. The second method is:

On the server side, the XML document is converted into another format (usually in HTML format) by applying the XSL cascading sample table, and then the converted document is transmitted to the client (generally in the browser)

3. the third clock method is as follows:

Third-party products are used to convert an XML document into another format (generally HTML format) before it is placed on the server ). Then, the server and the client process HTML as they normally do.

It is precisely because there are three different solutions that determine the different solutions produced by processing XML documents in the world. For developers, there are three ways to use the corresponding title.

Each skill route produces different software, although in principle, they all apply the same XML and XSL files. For example, if a Web server directly transmits the XML document to IE5, the first method is applied. if IBM's alphaWorks 'XML enabling software is installed on the server, the second method is applied; if the XT program using the command line directly converts XML into HTML documents, and then places the HTML documents on the server, the third method is applied.

However, the three methods all use the same XML and XSL files.



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.