I. XSL entry 1. XSL---XML's style sheet HTML web pages apply pre-identified identifiers (tags), which means all the markup has a clear meaning, for example p is another line h1 is the title font. All browsers know how to parse and display HTML webpages. However
1. XSL entry
1. style sheet of XSL---XML
The pre-determined identifier (tags) of the HTML web application, which means that all the tags have a clear meaning, for example
Is the title font. All browsers know how to parse and display HTML webpages.
However, XML does not have fixed identifiers. we can create the identifiers we need, so browsers cannot parse them actively, for example
2. XSL --- not just a style sheet
XSL consists of two parts:
One is to convert XML documents; the other is to convert structured XML documents.
If you do not understand this, you can think like this: XSL is a language that can convert XML into HTML, a language that can filter and select XML data, A language that can structure XML data. (For example, a negative number is displayed in red .)
3. XSL --- what can it do?
XSL can be used to define how XML documents are displayed. XML documents can be converted into HTML files recognized by browsers. Typically, XSL translates every XML element into an HTML element, to achieve this conversion.
XSL can add new elements to the output file, or move the elements. XSL can also rearrange or index data. it can detect and determine which elements are displayed and how much data is displayed.
4. display of XSL in IE5
Note: IE5.0 is not fully compatible with the latest XSL scale announced by W3C. IE5.0 was announced before the final determination of the XSL scale. Microsoft has promised to fix it in ie5.5.
It can be understood as a table or a table. Due to the scalability of XML, we do not have any scaling measures to display XML documents.In order to control the display of XML documents, we need to establish a mechanism. CSS is one of them, but XSL (eXtensible Stylesheet Language) is the preferred style Language for displaying XML documents, it is more suitable for XML than CSS.