Javatpoint Logo
Javatpoint Logo

XSLT <xsl:value-of> Element

The XSLT <xsl:value-of> element is used to extract the value of selected node. It puts the value of selected node as per XPath expression, as text.


Parameter explanation

Index Name Description
1) select It specifies the XPpath expression to be evaluated in current context.
2) disable-outputescaping Default-"no". If "yes", output text will not escape XML characters from text.

XSLT <xsl:value-of> Element Example

Let's take an example to see the usage of XSLT <xsl:value-of> element with its attribute "id" and its child <firstname>, <lastname>, <nickname>, and <salary>.

Employee.xml

Employee.xsl

Output:

XSLT Xsl value of 1
Next TopicXSLT <for-each>




Let's Work Together!

Javatpoint is passionate to offer better content to the world. Please mail your contribution to contribute@javatpoint.com. We will show your name and create your user profile. You can contribute the following things:
  • Article on Any Topic (which is not available on Javatpoint)
  • Your Interview Experience on Company
  • Company Interview Questions with Answers
  • Recruitment Process of Company
  • Programs, and Algorithm
  • Videos
  • Test Paper
  • Improve Article

Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials