Lab 19: Getting experience with the string-join() function

In this folder you will find:

   - juicers.xml

Open juicers.xml and see how this XML document is organized.

Drag and drop juicers.xml into Oxygen XML.

In Oxygen, create XPath expressions to:

1. Make the fourth juicer the context node. How many preceding siblings does it have?
   Create an XPath expression that answers that question.


2. Extend (1). Create a sequence composed of:

   '[', the number of preceding siblings, ']'


3. In (2) you created a sequence of items. Now I want you to smash together all of
   those items, thus resulting in a single string.


4. In (3) your result was an XPath predicate. However, the number in the predicate is
   off by one, i.e., for the fourth juicer it should be [4] not [3]. Update your XPath
   from (3).


5. Update (4). Put the name of the node prior to the predicate.


6. Create an absolute XPath expression to your context node, include a predicate for
   each node along the path, e.g.

   juicers[1]/juicer[4]

7. Prepend the XPath generated in (6) with '/', e.g.,

   /juicers[1]/juicer[4]
