XSLT (XSL Transformations) Interview Preparation Guide
Download PDF
Add New Question

XSLT Interview Questions and Answers will guide us now that XSLT (XSL Transformations) is a declarative, XML-based language used for the transformation of XML documents into other XML documents. The original document is not changed; rather, a new document is created based on the content of an existing one. So learn XSLT or get preparation for the job of XSLT (XSL Transformations) by the help of this basic XSLT Interview Questions with Answers guide

31 XSLT Questions and Answers:

1 :: What is the XSLT?

XSLT stands for Extensible Stylesheet Language Transformations(XSLT).This is developed by World Wide Web Consortium(W3C).This is written in XML.We use XSLT when we want to transform an XML document into the oter XML document.Generally we use XSLT when we want to make transformation from a XML document into another XML document,Convert a XML document into the HTML or XHTML document, creating dynamic web pages, can convert an XML document into PDF document. We saved the XSLT file by using .xsl or .xslt extension.Recent version of XSLT is XSLT2.0 launched at 23rd Jan 2007.It is a part of XSL.Editor od first version of XSLT are James Clark.
Post Your Answer

2 :: Who developed XSLT?

It was developed by World Wide Web consortium.
Post Your Answer

3 :: What does XSLT processing models involve?

As far as the XSLT processing model is concerned it involves one or more XML documents as well as one ore more XSLT style sheet modules. It also requires XSLT template processing engine (the processor) as well as one or more result documents.
Post Your Answer

4 :: Can you use the XSLT to convert html into VXML?

Yes, we can definitely use the XSLT to convert the html into VXML.
Post Your Answer

5 :: Do you feel that you are a good XSLT programmer?

This is definitely a very tricky question. You might be quite confused while answering to this question. Hence you should practice to answer this as well as similar questions at your home. Go for the interview only when you are hundred percent sure that you are ready for the interview.
Post Your Answer

6 :: Which was the first processor related to XSLT?

James Clark’s XT was the first processor.
Post Your Answer

7 :: Do you feel that you have chosen the right technology XSLT?

Yes, I have definitely chosen the right technology. The XSLT has a very bright future as the entire expert team feels.
Post Your Answer

8 :: Are you ready to relocate?

Yes why not! If I will get a good opportunity then I am definitely ready to relocate.
Post Your Answer

9 :: How to use filtering in XSLT?

We can filter the XNL output by using filter operators.Some Legal filter operators are given below:
1.=(equal to)
2.!=(not equal to)
3.<(less than)
4.>(greater than)
I have given you a example. In this I have uses '=' equal to filer operation.

<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<h2>Book Collection</h2>
<table border="1">
<tr bgcolor="#9acd32">
<th>Title</th>
<th>Author</th>
</tr>
<xsl:for-each select="catalog/book[author='Jhon Smith']">
<tr>
<td><xsl:value-of select="title"/></td>
<td><xsl:value-of select="author"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Post Your Answer

10 :: How to use <xsl:sort>element in XSLT?

We use <xsl:sort> element to sort the given output.
Example:
<?xml version="1.0" encoding="ISO-8859-1"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<h2>Book Collection</h2>
<table border="1">
<tr bgcolor="#9acd32">
<th>Title</th>
<th>Author</th>
</tr>
<xsl:for-each select="catalog/book">
<xsl:sort select="author"/>
<tr>
<td><xsl:value-of select="title"/></td>
<td><xsl:value-of select="author"/></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:styleshee
Post Your Answer
Add New Question