Vishal Kadam

Vishal Kadam

  • 1.4k
  • 213
  • 1.6k

XML to HTML transformation using XSLT

Dec 27 2018 5:31 PM
Hi,
 
I have a requirement to display below XML (xml will be dynamic) content int HTML file using XSLT tranforamtion.
 
I am new for XSLT, could you please help me create XSLT for below XML file.
 
Expected output: HTML
 
XML:
<?xml version='1.0' encoding='utf-8'?>
<chapter>
<title>Academic Details</title>
<block>
<p>
 
Below are the selected studen academic details
 
</p>
</block>
<block>
<subtitle>Graduation</subtitle>
<p>
Has completed BCA.
</p>
</block>
<block>
<subtitle>Post-Graduation</subtitle>
<p>
Has completed MCA.
</p>
</block>
</chapter>

Answers (1)