Transformation Process

In the domain of XSLT, the stylesheet contains a number of templates expressed as an <xsl:template> element with a match attribute. The value of the match attribute is a pattern, and the pattern determines which nodes in the source tree the template rule matches. For example:

<xsl:template match="/">

Several events occur during a typical transformation. When an XSLT transformation is executed, a stylesheet is applied to evaluate and process a source document. As we discussed earlier in this chapter, the first event to take place is the remapping of the document to a tree that is contained in memory. This prepares the schema and content for the transformation process.

The next step is to find a template rule that matches ...

Get Next Generation Application Integration: From Simple Information to Web Services 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.