Adobe Dreamweaver CC 2015 Manuale Utente Pagina 533

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 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.
Vedere la pagina 532
1 2 ... 528 529 530 531 532 533 534 535 536 537 538 ... 699 700

Commenti su questo manuale

Nessun commento