In this situation, your XSL code
would look like this:
Last item:
Next item:
You can add additional condition testing by including more
tags prior to the
tag. In Dreamweaver, this is accomplished by applying the XSLT Conditional Region object prior to
the tag. By using the two conditional objects in conjunction with one another, you
can test for as many conditions as you??™d like and retain a default result.
To create multiple XSLT conditional regions, follow these steps:
1. Select the text, image, page object, or code you want to render if the first condition is true.
2. From the Insert bar??™s XSLT category, choose Multiple Conditional Region.
3. When the Multiple Conditional Region dialog box opens, enter the condition to evaluate in the
Test field; click OK when you??™re done.
998
Enhancing Productivity and Web Site Management Part VI
Dreamweaver displays three different tabs: the area surrounds the
??”which holds your previously selected content??”and the
area, which displays the placeholder text Content goes here, as shown in Figure 32-10.
Pages:
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695