FIGURE 32-6
Use basic HTML tools like headings and tables to structure the data in an XSLT fragment.
To display repeated data, an XSLT Repeat Region object is used. Similar to a Repeat Region server behavior,
the XSLT Repeat Region object wraps the necessary code around a selection, typically one or more rows of a
table. Just as you??™d identify which recordset to use with a Repeat Region server behavior, the XSLT Repeat
Region object requires that you identify which element in the XML schema repeats. You??™ll remember that
TIP TIP
994
Enhancing Productivity and Web Site Management Part VI
Dreamweaver identifies such items in the Bindings panel with a double angle bracket and plus sign
combination.
The XSL code for repeating elements is
and, when applied to a table row, looks like this
example:
... |
The select attribute in the tag refers to the repeating element in the XML data.
Dreamweaver inserts this code after you??™ve identified the repeating item in the XPath Expression Builder
(Repeat Region) dialog box.
To set an XSLT fragment area to repeat in Dreamweaver, follow these steps:
1. Select the HTML and XSL data you want to repeat.
Pages:
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690