HTML Web pages use predefined identities (tags), which means that all tags have a clear meaning, such as <p> is another line However, XML does not have a fixed identity, we can build the identity we need, so browsers can't parse them automatically, for example <table> can be understood as tables or tables. Because of the extensibility of XML, we do not have a standard way to display XML documents.
In order to control the display of XML documents, it is necessary to establish a mechanism, CSS is one of them, but XSL (extensible Stylesheet Language) is the preferred style language for displaying XML documents, which is more suitable for XML than CSS.
2.XSL---is more than just a style sheet
XSL is made up of two parts:
One is to transform XML documents, and the other is to format XML documents.
If you don't understand this, consider this: XSL is a language that transforms XML into HTML, a language that filters and selects XML data, and a language that can format XML data. (for example, show negative numbers in red.) )
3.XSL---What can it do?
XSL can be used to define how an XML document is displayed, to convert an XML document into an HTML file that can be recognized by the browser, and, typically, XSL to implement this transformation by translating each XML element into an HTML element.
XSL can add new elements to the output file or move elements. XSL can also rearrange or index data, which detects and determines which elements are displayed and how much is displayed.
4.XSL Display in IE5
Note: IE5.0 is not fully compatible with the latest XSL standards published by the organization. Because IE5.0 was released before the final determination of the XSL standard. Microsoft has promised to fix it in IE5.5.
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.