Adobe Dreamweaver CS3 User Manual
Page 449

DREAMWEAVER CS3
User Guide
442
These options would insert the following code in your XSLT page:
4
Click OK.
5
To display the value of each node in the XML file, apply a repeating region to the element containing the dynamic
text (for example, an HTML table row or a paragraph).
For more information and examples on selecting nodes to return a value, see the
section in the
Reference panel.
Select a node to repeat
You can select a node to repeat over and, optionally, to filter the results. In the XPath Expression Builder dialog box,
your selected content will be wrapped inside an
block. If you have not selected content, the
block will be entered at the insertion point of your cursor.
1
Double-click the XML data placeholder on the page to open the XPath Expression Builder.
2
In the XPath Expression Builder (Repeating Region) dialog box, select the item to repeat in the XML schema tree.
The correct XPath expression is written in the Expression box to identify the node.
Note: Repeating items are identified with a Plus (+) symbol in the XML schema tree.
In the following example, you want to repeat each
item
node within the XML file.
When you click OK, the following code is inserted in your XSLT page:
Content goes here
In some cases, you may want to work with a subset of the repeating nodes—for example, you may only want items
where an attribute has a specific value. In this case, you need to create a filter.
September 4, 2007