Adobe Dreamweaver CS3 Bedienungsanleitung Seite 450

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 738
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 449
DREAMWEAVER CS3
User Guide
443
Filter the data to be repeated
Use a filter to identify repeating nodes that have specific attribute values.
1 In the XML schema tree, select a node to repeat.
2 Click the Build Filter expander button.
3 Click the Plus (+) button to create an empty filter.
4 Enter the filter criteria in the following fields:
Filter By Specifies the repeating node that contains the data you want to filter by. The pop-up menu provides a list
of ancestor nodes relative to the node you selected in the XML schema tree.
Where Specifies the attribute or subelement of the Filter By node that will be used to limit the results. You can select
an attribute or subelement from the pop-up menu, or you can enter your own XPath expression in this field to
identify children that exist deeper within the schema tree.
Operator Specifies the comparison operator to use in the filter expression.
Value Specifies the value to check for in the Filter By node. Enter the value. If dynamic parameters are defined for
your XSLT page, you can select one from the pop-up menu.
5 To specify another filter, click the Plus (+) button again.
As you enter values or make selections in the pop-up menus, the XPath expression in the Expression box changes.
Inthefollowingexample,youwanttorestricttheresultsettothose
item nodes where the value of the @available
attribute is true.
When you click OK, the following code is inserted in your XSLT page:
<xsl:for-each select="provider/store/items/item[@available = &apos;true&apos;]">
Content goes here
</xsl:for-each>
September 4, 2007
Seitenansicht 449
1 2 ... 445 446 447 448 449 450 451 452 453 454 455 ... 737 738

Kommentare zu diesen Handbüchern

Keine Kommentare