
DREAMWEAVER CS3
User Guide
441
Note: If you select a different node in the XML schema tree, the expression changes to reflect your choice.
In the following example, you want to display the
price subelement of the item node:
This selection would insert the following code in your XSLT page:
<xsl:value-of select="price"/>
3 (Optional) Select a formatting option from the Format pop-up menu.
Formatting a selection is useful when the value of your node returns a number. Dreamweaver provides a predefined
list of formatting functions. For a complete list of available formatting functions and examples, see the Reference
panel.
In the following example, you want to format the
price subelement as a currency with two decimal places:
Kommentare zu diesen Handbüchern