Appendix A: XSL Basics

   



What Is XSL?

XSL (Extensible Stylesheet Language) is a recursion-based scripting language that allows you to transform XML-based data into another set of XML-based data, or to data in another format, such as HTML, SVG, or PDF. An XSL stylesheet is written with a specific set of XML tags in mind; that is, you need a priori knowledge of the format of the data source. You can write different XSL stylesheets that produce different outputs when they are applied to the same XML data. For example, you might have an XML document that contains sales-related data that specifies the date, amount, and salesperson of a particular sale. One XSL stylesheet might generate XML data that contains the sales summary for each employee; another XSL stylesheet might generate a bar graph depicting monthly sales. A third XSL stylesheet might generate a bar chart with quarterly sales data.



   



Fundamentals of SVG Programming. Concepts to Source Code
Fundamentals of SVG Programming: Concepts to Source Code (Graphics Series)
ISBN: 1584502983
EAN: 2147483647
Year: 2003
Pages: 362

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net