Adobe Dreamweaver CC 2015 Uživatelský manuál Strana 533

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 700
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 532
1 2 ... 528 529 530 531 532 533 534 535 536 537 538 ... 699 700

Komentáře k této Příručce

Žádné komentáře