Vishal Kadam

Vishal Kadam

  • NA
  • 221
  • 1.8k

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)