Workshop

Quiz

  1. Which of the following is a node collection method?

    1. The selectNodes method

    2. The element method

    3. The selectSingleNode method

    4. All of the above

  2. What's an event handler?

    1. A method name

    2. A function that allows for access to data inside an XML file

    3. A function mapped to an event

    4. A placeholder function that does nothing

Answers

Exercises

  1. Modify the HTML program so that it will create instances of processing instructions and CDATA nodes, and attempt to insert them into the data from the file listing17-1.xml.

  2. Modify the HTML code so that you're testing the results of the implementation ...

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.