In the above XSLT file we have defined the table structure. The XSLT reads the XML nodes and incorporates the read values into the table and returns the HTML. We have set the output method to HTML so that the XSLT transformation returns the HTML output.Action :

In the code, we are reading the files from their respective paths. We are validating the XML file using XSD. If the XSD validation passes then the transformation is performed and table is rendered on the page.View :