CSS and XML

Source: Internet
Author: User

XML describes the language of the data
Composition and declaration of XML documents
Statement
<?xml version= "1.0" encoding= "GB2312"?>

Subject
< company Employees >
< name > xiaoming </name >
< sex > male </sex >
< date of birth >1993.10.22</Birth date >
</Company Employees >

End
<!--comments--

Full statement
<?xml version= "1.0" encoding= "encode" standalone= "yes/no"?>


XML Case Sensitive
Naming rules:
1. The element name can contain letters, numbers, and other characters
2. Element names cannot start with numbers or punctuation marks
3. The element name cannot contain spaces

Decorating an XML file with CSS
Using CSS in an XML file
Importing style sheet CSS into an XML file, separating the contents and representations of the data, and enabling the reuse of CSS
<?xml-stylesheet href= "url" type= "Text/css"?>

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.