|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Rescuing XSLT from Niche Status
> - I tend to put in a template matching the document element. So > typically I might have: > > <!-- this is a copy of the built-in template for the root node --> > <xsl:template match="/"> > <xsl:apply-templates /> > </xsl:template> > > <!-- this template actually produces something --> > <xsl:template match="/*"> > <html> > ... > </html> > </xsl:template> I like this approach too, although I would tend to use different stylesheets for HTML and WAP. But if the goal is to have a single style sheet that does everything, this seems the way to go to me. David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








