Adobe Dreamweaver CC 2015 User Manual
Page 533

526
XML
Last updated 6/3/2015
When you click OK, the following code is inserted in your XSLT page:<xsl:for-each
select="provider/store/items/item[@available = 'true']"> Content goes here </xsl:for-each>
<xsl:for-each select="provider/store/items/item[@available = 'true']">
Content goes here
</xsl:for-each>
Note: You need to surround string values such as true in quotes. Dreamweaver encodes the quotes for you (') so
that they are entered as valid XHTML.
You can create more complex filters that allow you to specify parent nodes as part of your filter criteria. In the
following example, you want to restrict the result set to those item nodes where the store’s @id attribute is equal to
1 and the item’s price node is greater than 5.