Chapter 20. SVG and XSLT

In this chapter, we will see how XSLT (Extensible Stylesheet Language Transformations) can be used to generate SVG from XML. This chapter is not intended as a complete XSLT tutorial, but we will begin with a brief overview and work through examples with aspects of the language brought in just a few at a time.

After the overview and a look at the XSLT processors available, we will work step by step toward generating SVG from some source data—in this case, a piece of XHTML. We will then show how this generation can be carried out on the server. Afterward, we will look at how source data can be obtained from an HTML form and how XSLT transformations can ...

Get SVG Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.