Forum Moderators: open
I searched in the web and I found .exe files which does the conversion. But I need to do this dynamically. For eg. I have an html file with plain text - may be a report kind of thing. I need to read the contents of the html file and generate the respective xml and xsl.
Note: Since the html file may contain some reports, the html file will vary for different types of reports and hence the xml and xsl will also change respectively.
Any help appreciated.
What you want should be no problem in any scripting language since HTML tags are set. You need to set up a style sheet that will follow your formatting rules for each html tag it will encounter.
What language are you using server side?
If you ment going XML to XSL to HTML then you can use saxon, msxml4, or xt for processing xsl.