The front end of the first phase of the task: XML job learning

The front end of the first phase of the task: XML job learning

A summary

1.xml scenarios

  Structured storage of data or storage configuration.

The difference between 2.xml and html.

  XML and HTML design different purposes: XML is designed to transmit and store data, which is the focus of the content data; HTML was designed to display data, which is the focus of appearance data. That is: HTML is designed to display information, while XML is designed to transmit information.

3. Why xml?

   For ease of application without, sharing of data between different platforms and communications.

The benefits 4.xml where?

  (1) can be isolated using XML data from the HTML. In addition to the HTML file that is capable of storing data in an XML document, which allows developers to concentrate on using HTML to do layout and display data, and to ensure that does not lead to an HTML file also needs to be changed when the data changes, so as to facilitate the development maintenance page.

  (2) use of XML data can be exchanged. XML-based data can be exchanged between incompatible systems, the data is stored in XML format conversion will greatly reduce the complexity involved in the exchange of data, it can also make different programs can read the data.

  (3) the use of XML data can be shared. XML data is stored in plain text format, which makes it more readable XML, easier recording, easier to debug the different systems, data sharing between different programs easier.

  (4) the use of XML can take advantage of data. XML is with software, hardware and application-independent, data can be used by more users, devices, not just browser-based HTML standards. Other client applications and XML documents can be processed as a data source, just as you do the same database, XML data can be a variety of "reader" process.

  (5) can use XML to create a new language. For example, WML language are made to the development of XML, it uses the XML standard.

5.xml in the end is what?

  XML (Extensible Markup Language) is a markup language, similar to HTML, which has self-descriptive, is designed for transmitting data.


Two, xml under real application scenarios

<Mainline_characters>
    <characters>
        <name>Aran</name>
        <gender>woman</gender>
        <stand>Hero</stand/>
        <hometown>Lane</hometown>
    </characters>
    <characters>
        <name>Mercedes</name>
        <gender>woman</gender>
        <stand>Hero</stand/>
        <hometown>Eco</hometown>
    </characters>
    <characters>
        <name>Mikhail</name>
        <gender>man</gender>
        <stand>Knights</stand/>
        <hometown>Sanctum</hometown>
    </characters>
    <characters>
        <name>Evan</name>
        <gender>man</gender>
        <stand>Hero</stand/>
        <hometown>Henesys</hometown>
    </characters>
    <characters>
        <name>Xenon</name>
        <gender>man</gender>
        <stand>Rebel</stand/>
        <hometown>Edelstein</hometown>
    </characters>
    <characters>
        <name>Cadena</name>
        <gender>woman</gender>
        <stand>Noble</stand/>
        <hometown>Grandis</hometown>
    </characters>
    <characters>
        <name>EunWol</name>
        <gender>man</gender>
        <stand>Hero</stand/>
        <hometown>Village</hometown>
    </characters>
    <characters>
        <name>Pathfinder</name>
        <gender>man</gender>
        <stand>Adventurer</stand/>
        <hometown>Unknown</hometown>
    </characters>
    <characters>
        <name>Kanna</name>
        <gender>woman</gender>
        <stand>Dawn</stand/>
        <hometown>Dawn</hometown>
    </characters>
    <characters>
        <name>Hayato</name>
        <gender>man</gender>
        <stand>Dawn</stand/>
        <hometown>Dawn</hometown>
    </characters>
    <characters>
        <name>Alpha</name>
        <gender>man</gender>
        <stand>Zero</stand/>
        <hometown>Temple</hometown>
    </characters>
    <characters>
        <name>Beta</name>
        <gender>woman</gender>
        <stand>Zero</stand/>
        <hometown>Temple</hometown>
    </characters>
    <characters>
        <name>Ark</name>
        <gender>man</gender>
        <stand>Wing race</stand/>
        <hometown>Grandis</hometown>
    </characters>
    <characters>
        <name>Kinesis</name>
        <gender>man</gender>
        <stand>Hero</stand/>
        <hometown>Friend</hometown>
    </characters>
    <characters>
        <name>Ozzy</name>
        <gender>woman</gender>
        <stand>Knights</stand/>
        <hometown>Sanctum</hometown>
    </characters>
    <characters>
        <name>Irina</name>
        <gender>woman</gender>
        <stand>Knights</stand/>
        <hometown>Sanctum</hometown>
    </characters>
    <characters>
        <name>Ho Young</name>
        <gender>man</gender>
        <stand>Armani</stand/>
        <hometown>Fairyland</hometown>
    </characters>
</Mainline_characters>

The first part of this blog comes from finishing Baidu, CSDN, multi-information blog Park, finishing second part of the theme of the game from a professional setting, all non-original content, only to learn reference, hope known.

Guess you like

Origin www.cnblogs.com/distinctive4000/p/12210895.html