Subject: RE: mixed implicit and explicit stylesheet - possible ?
From: Kay Michael <Michael.Kay@xxxxxxx>
Date: Mon, 7 Aug 2000 10:13:36 +0100
|
> is it possible to mix implicit and explicit stylesheets ?
>
> i need something like:
>
> <xsl:template match='Option[@Type="List"]'>
> <select>...</select>
> </xsl:template>
>
> <html xmlns:xsl="...">
> ...
> <td><xsl:value-of select="Section/@Name"/></td>
> <td><xsl:apply-template select="Option"></td>
> </html>
>
No, you need to wrap the <html> element within
<xsl:template match="/">
<html>
...
</html>
</xsl:template>
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|