YouTip LogoYouTip

El Text

# XSLT Element * * Complete XSLT Element Reference](#) * * * ## Definition and Usage The element is used to write text to the output, i.e., to generate text nodes via the stylesheet. **Tip:** This element can contain text, entity references, and #PCDATA. * * * ## Syntax ## Attributes | Attribute | Value | Description | | --- | --- | --- | | disable-output-escaping | yes no | Optional. If the value is "yes", the text node generated by instantiating the element will not be escaped in the output. For example, "<" will be output as "<". If the value is "no", then "<" will be output as "<". The default is "no". Netscape 6 does not support this attribute. | ### Example 1 Display the title of each CD. If it is not the last or second-to-last CD, insert ", " between each cd-title. If it is the last CD, add "!" after the title. If it is the second-to-last CD, add ", and " after the title:

My CD Collection

Titles: <xsl:if test="position() , , and !

* * Complete XSLT Element Reference](#)
← El Value OfEl Fallback β†’