Share via


Advanced XSLT Functionality (Windows Embedded CE 6.0)

1/6/2010

The mechanisms described in XSLT Fundamentals are template-driven transformations, which means the output template drives the transformation process, pulling in data from the Extensible Markup Language (XML) tree and inserting it into the template. This works well when the data has a fairly simple and homogeneous structure. If you know what the output structure should be, use the template-driven model.

XSL Transformations (XSLT) also provide mechanisms for data-driven transformations, in which the output is assembled from template fragments based on the structure of the input document. This is especially useful for XML that represents complex data structures or documents, as described in Handling Documents and Irregular Data. If you only know what types of elements you will encounter in the XML source, but not their order, parentage, or relationship to other elements, use the data-driven model.

This section contains the following topics:

See Also

Concepts

Exploring XSLT Capabilities