Quiz
1. |
How do you reference the current node in an XML document using XPath? |
2. |
What is the difference between the |
3. |
What is a link repository? |
4. |
What is a location path? |
5. |
What is the difference between an inline link and an out-of-line link? |
Quiz Answers
1. |
To reference the current node in an XML document, you use a single period ( |
2. |
The |
3. |
A link repository is a database of links that describe useful connections between resources on the Web. |
4. |
A location path is a construct used to describe the path that must be followed to arrive at a node within an XML document tree; location paths are the building blocks of XPointer expressions. |
5. |
The content associated with an inline link serves as one of the link's participating resources, whereas the content associated with an out-of-line link does not. |
Exercises
1. |
Now that you understand XPath a little better, modify the |
2. |
While you're at it, modify the root template in the |