XSLT Introduction

XSLT is a very powerful tool in the XML toolkit. It is an XML-based standard that facilitates the transformation of an XML document into another format. Depending on your requirements, the output document can be one of (but not limited to) the following formats:

  • XML

  • XHTML

  • HTML

  • WML

  • RT F

  • CSV

  • Others

As you can see, the term XSLT processing describes any one of a number of tasks. Given an input XML document, a transformation could change an element name; the character data inside an element can be modified; an attribute can be changed; or elements and attributes can be filtered, so that they don’t appear in the output XML document. XSLT is a powerful tool that enables us to easily change the contents of an XML document based on our ...

Get XML and Perl now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.