Simple inbound and simple outbound-XML

Source: Internet
Author: User

HtmlAndXML

  1. Hypertext Markup Language (HTML) is mainly used for information layout and display.
  1. XML is a scalable markup language developed based on html. Its core function is data exchange and integration. XML has the following advantages over HTML:
    1. Custom tag
    2. The purpose of the design is to include and transmit
    3. Main applications include:
      1. As the system configuration file
      1. Data transmission in Web Services
      1. Data exchange and integration on Heterogeneous Platforms
    1. XML structure
      1. Declaration: version number, character encoding method
      1. Tag
      2. Root element
      1. Element: the element is the start tag, end tag, and all content between the two. The element is case sensitive and the speed must be correctly nested.
    1. To avoid confusion between character data and some special symbols commonly used in tags, XML provides entity references, such as replacing characters with & amp :&;
    2. XML is displayed in the browser

DTD: Document Type Definition

  1. Define the structure of the XML file
  1. Provides syntax and rules for XML

Why:

  1. XML must have a correct structure for correct data exchange
  1. The DTD specifies the layout and order of the content in XML, so that the XML that does not meet the requirements cannot be displayed.

Schema

  1. Schema describes the structure of XML documents. schema is an XML-based DTD substitution (XML schema definition), also known as XSD. It is more powerful than DTD and can be expanded to meet future needs and written based on XML, supported Data Types
  2. By standardizing various data types in XML, schema makes transmission faster and easier.

Simple inbound and simple outbound-XML

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.