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 ...
Get Sams Teach Yourself XSLT in 21 Days 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.