[Home] [By Thread] [By Date] [Recent Entries]
Nnaemeka David wrote:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0"> <xsl:template match="/"> <xsl:processing-instruction name="xml-stylesheet">href="me.css" type="text/css"</xsl:processing-instruction> <html> ... </html> </xsl:template> should do, assuming you want to create an XHTML result document to be parsed as XML by an user agent. If you want to create text/html output then I would not use xsl:processing-instruction to link to a stylesheet, instead I would put an HTML "link rel=stylesheet" element in the head section of the HTML document. -- Martin Honnen http://msmvps.com/blogs/martin_honnen/
|

Cart



