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 1686 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

Dreamweaver automatically populates the XML URI field with the address of the XML
data, as shown in Figure 32-12.
FIGURE 32-12
The XSLT Transformation server behavior is used to select the XSLT fragment for inserting.
5. If you need to add any parameters to affect the XSLT fragment, click Add (+) in the XSLT
Parameters area and enter the name and value of the parameter.
6. Click OK when you??™re done.
Dreamweaver displays the XSLT fragment in the page; when selected, it appears as a solid, uneditable block.
Unlike with server-side includes, a custom Property inspector is not available for inserted XSLT fragments.
You can preview the page in the browser to see the data within the document.
1000
Enhancing Productivity and Web Site Management Part VI
The XSLT Parameters option found in the XSL Transformation dialog boxes allows you to set up parameters
to pass to the XSLT fragment. You could, for example, create an XSLT parameter named ItemLimit with a
value of 5 if you wanted to restrict the number of XML items shown to five or fewer. To ensure that the
XSLT fragment works properly with this parameter, you??™d need to set a filter criteria, as described in the
???Filtering XSL Data??? section, where the position() function is less than or equal to the variable
$ItemLimit.


Pages:
1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698