Javatpoint Logo
Javatpoint Logo

JSTL XML <x:transform> Tag

The <x:transform> tag is used in a XML document for providing the XSL (Extensible Stylesheet Language) transformation. It is used for transforming xml data based on XSLT script.

The syntax used for including the <x:transform> tag is:

Let's see the simple example to understand the xml <x:transform> tag:

Let us put the following program in transfer.xsl file:

Now put the following program in transfer.xml, keeping in the same directory:

Now put the following program in index.jsp, keeping in the same directory:

Output:

JSTL XML Tags6




Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA