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

Are you missing a feature? Request its implementation here.
magamero
Posts: 1
Joined: Tue Dec 09, 2003 4:21 pm

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

Post by magamero »

I want to know if with oXigen I can obtain files xsl from files HTML and XML. Thank you very much beforehand
george
Site Admin
Posts: 2095
Joined: Thu Jan 09, 2003 2:58 pm

Post 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
Post Reply