XML Transformations in .NET
A crucial component of the .NET XML framework is the ability to programmatically transform XML documents via XSLT. XSLT transformations are covered in detail in Chapter 9, “Transforming XML Data Into Other Formats with XSLT.” This section focuses on methods for using .NET to produce these XSLT transformations.
The .NET XML Framework provides an easy to use and efficient method for doing XSLT transformations in .NET. As an example, we will build a small application that transforms the sample XML file from the beginning of this chapter into HTML. The XSLT file that will be used for this example is shown in Listing 17.10. This XSLT transformer takes our sample XML file and turns it into an HTML file that prints out all ...
Get Special Edition Using XML, Second Edition 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.