Sams Teach Yourself XML in 21 Days, 3rd Edition

Sams Teach Yourself XML in 21 Days

By

Day 9. Formatting XML by Using XSLT

Yesterday you saw that you can use CSS to format XML documents in the major browsers (Internet Explorer and Netscape Navigator). However, there's a native XML way to format XML documents for display—using Extensible Stylesheet Language Transformations (XSLT), which is what you'll discuss today. Here's an overview of today's topics:

  • Transforming XML in the server, in the client, and with standalone programs
  • Creating an XSLT style sheet
  • Creating and applying templates
  • Getting node values
  • Handling multiple selections
  • Using the match and select attributes
  • Matching element, processing instructions, and other nodes
  • Working with XPath
  • Creating XPath node tests
  • Copying nodes to the output document
  • Making decisions in XSLT based on input data

Share ThisShare This