Loading
WHAT IS XSLT

Java Quick Notes

Refresh Your Java - Before Java Interview

We are Agile, believe in less Documentation - Only Quick notes (Java Interview Questions) of Java/J2ee Read more....


Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet
Not Included Yet

Go to SiteMap

Q)  What is XSLT ?


Ans)

Extensible Stylesheet Language Transformations (XSLT) has evolved from the early Extensible
Stylesheet Language (XSL) standard. XSL specifies a language definition for XML data presentation
and data transformations.

Here is the eaxmple of helloworld xslt.
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="hello.xsl"?>
<hello-world>
<greeter>An XSLT Programmer</greeter> <greeting>Hello, World!</greeting>
</hello-world>

XSLT :

<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
 <xsl:template match="/hello-world">
 <HTML> <HEAD> <TITLE></TITLE> </HEAD> <BODY> <H1>
 <xsl:value-of select="greeting"/> </H1> <xsl:apply-templates select="greeter"/>
 </BODY> </HTML> </xsl:template> <xsl:template match="greeter">
 <DIV>from <I><xsl:value-of select="."/></I></DIV>
 </xsl:template> </xsl:stylesheet>



Back to top

------------------------- We hope you got necessary Info On -----------------------------------------

WHAT IS XSLT


WHAT IS XSLT

-------------------------------------------------------------------------------------------------------



Face Book
Request for a Mock Interview/Training

Get a PDF

Face Book
Same look (Read) on any device, this is Ads free