Adobe Dreamweaver CC 2015 Instrukcja Użytkownika Strona 533

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 532
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 = &apos;true&apos;]"> Content goes here </xsl:for-each>
<xsl:for-each select="provider/store/items/item[@available = &apos;true&apos;]">
Content goes here
</xsl:for-each>
Note: You need to surround string values such as true in quotes. Dreamweaver encodes the quotes for you (&apos;) 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 stores @id attribute is equal to
1 and the items price node is greater than 5.
Przeglądanie stron 532
1 2 ... 528 529 530 531 532 533 534 535 536 537 538 ... 699 700

Komentarze do niniejszej Instrukcji

Brak uwag