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

Joseph W. Lowery

"Dreamweaver CS3 Bible"

Filters can be applied at the same as the XSLT
Repeat Region or afterward.
To apply a filter to an existing XSLT Repeat Region, follow these steps:
1. Select any of the XML data within the repeat region.
2. From the Tag Selector, choose .
3. In the Property inspector, click the lightning bolt next to the Select field.
4. When the XPath Expression Builder (Repeat Region) dialog box reopens, select Build Filter. The
dialog box expands to display the filter controls.
5. Click Add (+) to start a new filter criteria. The initial filter criteria is set up to use the previously
selected repeating data element in the Filter By column; your focus will be on choosing values for
the Where, Operator, and Value columns.
6. Select the data element you want to filter by from the Where list. For example, if you wanted to
filter by the subject field of the Adobe XML News Aggregator feed, you??™d choose dc:subject.
7. Choose the operation you want to use in your filter from the Operator list. For string comparisons,
you would select the equals sign, = or !=. Other operators include <, <=, >, >=, and <>.
8. Enter the desired filter keyword or other value in the Value column (see Figure 32-8).
If you??™re using a text value in your filter criteria, surround the word or phrase with single quotation
marks.


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