The xsl:text element is used to add literal text to the output. This element cannot contain any other XSL elements. It can only contain text. Normally, any text that occurs in a stylesheet will be copied to the output regardless if it is enclosed by an xsl:text element.
What is XSL type text?
Definition and Usage. The <xsl:text> element is used to write literal text to the output. Tip: This element may contain literal text, entity references, and #PCDATA.
What is XSL and why it is used?
XSL stands for EXtensible Stylesheet Language. It is a styling language for XML just like CSS is a styling language for HTML. … It is used to transform XML documents into other formats (like transforming XML into HTML).