Re: [xsl] Rescuing XSLT from Niche Status

Subject: Re: [xsl] Rescuing XSLT from Niche Status
From: "Jacobs,David B." <djacobs@xxxxxxxxx>
Date: Sat, 17 Feb 2001 16:16:00 -1000
> - 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.


 XSL-List info and archive:

Current Thread