HTML report from xml file
How can I convert the below XML into html report?
<TestName> Name </TestName>
<Status> Pass </Status>
HTML report should have 2 columns with TestName and Status as column names.
Any suggestions on what functions to use will be really helpful. Thanks!
Re: HTML report from xml file
You should learn XSLT for this
But if you find it too complex and your requirements are quite simple then you can just create template HTML text
And use XMLUtil to read the XML and then fill the value in HTML