How to Set a Literal Text Value Using an xsl:text Instruction
How to Set a Literal Text Value Using an xsl:text Instruction
To set the value for a literal element using the xsl:text instruction:
Right-click the literal element in the XSLT pane. The context menu appears.
Select Append Child > XSL > text from the context menu. The Set Attributes dialog box appears.
Optionally select 'disable output escaping' Attribute. Click OK.
The xsl:text element is inserted.
Right-click the newly inserted xsl:text element and select Edit Text Value from the context menu that appears.
The Set Text dialog box appears.
Enter the text value to be assigned Do not enclose the text in quotation marks.
Click OK.
A yellow T icon appears next to the xsl:text node indicating that a text value has been set for the element. If you move the mouse cursor over the node, the corresponding text appears.
To change the text value at any time, right-click the xsl:text element again and select Edit Text Value from the context menu that appears.