This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: mixed implicit and explicit stylesheet - possible ?


> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]