Page 1 of 1

Can I generated a xsl file from Html and xml files?

Posted: Tue Dec 09, 2003 4:53 pm
by magamero
I want to know if with oXigen I can obtain files xsl from files HTML and XML. Thank you very much beforehand

Posted: Tue Dec 09, 2003 7:33 pm
by george
Hi,

Oxygen does not generate a stylesheet given an instance document and a target result. I think this is a very difficult problem as there are more solutions that can be offered (consider a trivial solution when you have a stylesheet with a template matching the document root and containing all the HTML you want as output) and I do not know any software that does this.

The procedure to create such a stylesheet is very simple, all you have to do is to create a stylesheet that will generate your HTML and then replace the parts of your HTML document that are from the XML source with the corresponding XSLT selection code.

Best Regards,
George