O'Reilly logo

Special Edition Using XML, Second Edition by - et al. David Gulbransen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required