Is there a way to generate XSL from HTML? That is, the generated style sheet would represent the style of the HTML page.

Håkan Cervin

No. The XML to HTML transformation is a many to many relation. One HTML page can be generated by several different style sheets, depending on the data in the XML file.