Workshop

Quiz

  1. The match="/" assignment to the match qualifier will link the expression to which node of the XML file?

    1. The first node

    2. The last node

    3. The root node

    4. No node at all; the "/" is not a valid input

  2. An XSL file can contain how many templates?

    1. One

    2. Two

    3. As many as ten

    4. The only limit is what is practical

Answers

Exercises

  1. Remove the table header from the previous project and add a </tr> tag in the proper location so that the contents of the <Author> and <Publisher> tags are on separate rows. Make the first entries of the rows Author: and Publisher:, respectively.

  2. Modify the XML data file so that the data entries ISBN, PublisherBookID, and Price are contained in a component of ...

Get Sams Teach Yourself XML in 24 Hours 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.