How to use XML?

Source: Internet
Author: User

How to use XML?

First, it should be clear that XML is designed to store data, carry data, and exchange data. It is not designed to display data.

XML can be used to separate data from HTML.

XML allows you to store data outside HTML files.

When XML is not used, HTML is used to display data, and the data must be stored in the HTML file. When XML is used, the data can be stored in the separated XML document. This method allows you to focus on displaying and layout data using HTML, and ensure that HTML files do not need to be modified when data changes are made. This facilitates page maintenance.

XML data can also be stored in HTML pages in the form of "data island. You can still focus on using HTML to format and display data.

XML for data exchange

With XML, we can exchange data between incompatible systems.

In real life, computer systems and database systems store N ^ N forms of data. For developers, the most time-consuming is to exchange data between systems distributed across networks.

Converting data to XML format for storage will greatly reduce the complexity of data exchange, and make the data be differentProgramRead.

XML and B2B

Use

XML, which can exchange financial information in the network.

In the near future, we hope to see a lot of XML and B2B (business to business) applications.

XML is becoming the main language used to exchange financial information between commercial systems across networks. Many B2B-related XML-based applications are under development.

XML can be used to share data

Using XML, plain text files can be used to share data.

Since XML data is stored in plain text format, XML provides a data sharing method unrelated to software and hardware.

This makes it easy to create a data file that can be read by different applications. Similarly, it is much easier for us to upgrade the provincial operating system, servers, applications, and browsers.

XML can be used to store data.

XML can be used to store data in plain text files.

A large amount of data can be stored in XML files or databases. Applications can read, write, and store data. General programs can display data.

XML can make full use of data

With XML, your data can be used by more users.

Since XML is irrelevant to software, hardware, and applications, it can make your data available to more users and devices, not just HTML-based browsers.

Other clients and applications can process your XML documents as data sources. Just as they treat databases, your data can be processed by various "readers, it is convenient for some people, such as the blind or the disabled.

XML can be used to create a new language

XML is the mother of WAP and WML languages.

The wireless Markup Language (WML) identifies an Internet program running on a handheld device (such as a mobile phone.

WML adopts the XML standard.

 

Future Prospects

If developers are predictable, future applications should use XML to store data.

In the future, our word processors, spreadsheet software, and databases should be able to read data from each other in plain text format without the need for format conversion.

We can only look forward to the approval of Microsoft and other software developers. // In fact, Microsoft is vigorously developing XML applications.

 

 

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.