Hi Sandeep,
I am developing the below xsl but facing lot many challenges.Would really appreciate if you could help me.
="1.0"="UTF-8"
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
exclude-result-prefixes="xs"
version="2.0">
<xsl:output method="xhtml" use-character-maps="html-unescape" />
<xsl:character-map name="html-unescape">
<xsl:output-character character="<" string="<" />
<xsl:output-character character=">" string=">" />
</xsl:character-map>
<xsl:template match="/" >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
<title>MCQ</title>
</head>
<body>
<div id="mainContent" type="screencontent">
<div>
<operator name="ResponseOperator" value="ResponseOperator">
</operator>
</div>
<div class="mediaContainer" data-role="mediaContainer">
<div id="direction" class="direction"><b>1. </b>What can eyes do?</div>
</div>
<operator name="McqOperator" value="McqOperator">
</operator>
<xsl:apply-templates/>
</div>
</body>
</html>
</xsl:template>
<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="choiceInteraction/simpleChoice/div/TEXTFORMAT"/>
</xsl:stylesheet>
Thanks,
Sanjeev