WebReference.com - Chapter 2 from Inside XSLT, from New Riders Publishing | WebReference

WebReference.com - Chapter 2 from Inside XSLT, from New Riders Publishing

Inside XSLT

Inside XSLT Book Cover

Chapter 2: Creating and Using Stylesheets

The series of excerpts below are from Chapter 2 of the New Riders Publication Inside XSLT.

A companion title to Inside XML, Inside XSLT covers XML to HTML, XML to Music, XML with Java, style sheet creation and usage, nodes and attributes, sorting data, creating Xpath expressions, and much more.

In chapter 1, we got started with XSLT in overview. In this chapter, we're going to start working with it in detail. We're going to see how to think of documents in XSLT terms, how to structure an XSLT stylesheet, and how to embed stylesheets in documents. This chapter gives an introduction to how to create stylesheet templates, which are the very heart of XSLT stylesheets. Templates implement the actual rules you want to apply to your data, and we'll work with templates in more depth in the next chapter.

This chapter begins our systematic work with stylesheets, and without question, the place to start is to see what an XML document looks like from a stylesheet's point of view.


Created: September 12, 2001
Revised: October 16, 2001

URL: http://webreference.com/authoring/languages/xml/insidexslt/chap2/