O'Reilly logo

Sams Teach Yourself XSLT in 21 Days by Michiel van Otegem

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

WEEK 1 Day 3 Selecting Data

Yesterday you learned what a stylesheet is and how to use it. You also learned about using templates and getting values from an Extensible Markup Language (XML) document. So far the expressions you’ve used to match templates and select data have been rudimentary. What you can do at this point therefore is limited.

Today’s lesson will focus on getting more control over the data you select. Today you will learn the following:

• How the XML document tree works

• What XPath is

• How you can select single elements

• How you can select multiple elements

• How you can select attributes

Understanding the XML Document Tree

An XML document is a hierarchical structure of elements. Each element in an XML document can have zero ...

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