Click here to Skip to main content
15,894,630 members
Please Sign up or sign in to vote.
3.50/5 (2 votes)
See more:
Hi,
I am exporting about 20 tables to HTML as reports. I have my 20 procedures through which I can generate the XML file easily, but the problem is I need to format the XML with CSS and other designing styles to HTML.

So how can i do it? Is there any way or tool that I can make it easily?

Please help.
Posted
Updated 20-Oct-12 6:30am
v2
Comments
Sandeep Mewara 20-Oct-12 11:09am    
XML formatted to HTML report - XSLT?

There is a transformation language for exactly this kind of purpose called XSLT[^]

All you need to do is create an XML file using XSLT that describes how the elements and attribute should be transformed.

Then use the XSLT classes[^] to perform the transformation.
 
Share this answer
 
After you created the XSLT classes from Solution 1, you can use this converter to convert the XML to HTML:
http://www.docx2doc.com/convert/xml-to-html.html[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900