RE: [xsl] Inline StyleSheet in xsl

Subject: RE: [xsl] Inline StyleSheet in xsl
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Wed, 8 Oct 2003 21:57:59 +0100
> How can I add an inline stylesheet to a xsl file.

Do you mean a CSS stylesheet? Include it the same way you include any
other literal text to be included in the output.
> The xsl file contains html which am using to send emails.
For example:

  <xsl:template name="css">
    <style type="text/css">
code           { font-family: monospace; }

div.notice     { margin-left: 2em; }

li p           { margin-top: 0.3em;
                 margin-bottom: 0.3em; }

Michael Kay

 XSL-List info and archive:

Current Thread