RE: [xsl] Html to XSL

Subject: RE: [xsl] Html to XSL
From: "Michael Kay" <michael.h.kay@xxxxxxxxxxxx>
Date: Wed, 17 Jul 2002 11:22:52 +0100
> I want to generate XSL files dynamically. I mean instead of 
> writing it in any XML Editor, I want to create it 
> automatically from either HTML or Word file which my designer 
> makes. 

You can convert an XHTML file into a trivial stylesheet by adding
xsl:version="1.0" (and a namespace declaration) to the outermost <html>
element.

Then you can add logic to the parts of the document that are variable,
to fetch information from the source XML file, by inserting instructions
such as <xsl:value-of>. I refer to this in XSLT Programmer's Reference
as a "fill in the blanks" stylesheet.

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread