I mentioned some basic XSLT conversion XML knowledge in my previous article. Here I will give a systematic summary. The purpose of learning is to be practical.
Let's talk about the project requirements.
Project requirements: 1) The display mode of the page changes frequently, but the data is relatively small. 2) The page displays different places and displays different results. But the data remains unchanged. 3) It is difficult to select data on the page. It is difficult to generate HTML on the server side and the style is difficult to control. XML and XSLT are as follows: The HTML page shown at the end of the xml-xslt.rar is as follows: involved knowledge points: 1) XSL: Template, XSL: Variable, XSL: output, XSL: Apply-templates, XSL: With-Param, XSL: value-of, XSL: For-each, XSL: sort, XSL: If, XSL: Choose, XSL: When, XSL: the Application of call-template and other elements. 2) Select traversal in XML, and convert the text carriage return to <br/>. The writing speed is slow when the content is so fast ......