Xml basics (using XSL to display XML data)

Source: Internet
Author: User
Tags xsl

You can use XSL to add the displayed information to the XML document.

Use XSL to display XML documents

XSL is a single language of XML scalable styles.

XSL (the Extensible Stylesheet Language) is much more powerful than CSS style sheets. One of the main functions of XSL is to convert an XML document into an HTML file, and then deliver it to the browser. The browser displays the Conversion Result:

Note the followingCodeThe second line in the segment:

<? XML version = "1.0" encoding = "ISO-8859-1"?> <? XML-stylesheet type = "text/XSL" href = "Simple. XSL"?> <Breakfast_menu> <food> <Name> Belgian waffles </Name> <price> $5.95 </price> <description> two of our famous Belgian waffles </description> <calories> 650 </calories> </Food> </breakfast_menu>

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.