SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 1679 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

It??™s best to select the containing tag pair
around the XSL data, like the or

.
2. From the Insert bar??™s XSLT category, choose Repeat Region.
Alternatively, you can select Insert ??? XSLT Objects ??? Repeat Region; either approach opens the
XPath Expression Builder (Repeat Region) dialog box.
3. In the XPath Expression Builder (Repeat Region) dialog box, select the element you want to repeat
(see Figure 32-7).
FIGURE 32-7
Choose the parent repeating element with the plus sign (disclosure triangle on the
Macintosh).
Repeatable elements are identified with the double-angle brackets and plus sign, +. Be sure to
choose the parent repeating element of any item you want to display.
4. Click OK when you??™re done.
995
Integrating with XML and XSLT 32
In Design view with Invisible Elements enabled, Dreamweaver displays a border around the repeated area
with the label xsl:for-each.
Filtering XSL data
While XPath Expression Builder (Repeat Region) dialog box makes setting up a repeat region a simple
point-and-click operation, it also permits you to establish filters for the data. You could, for example, use
this feature to limit the items from the Adobe XML News Aggregator (http://weblogs.macromedia
.com/mxna/) to those concerned with Dreamweaver.


Pages:
1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691