|
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">
<xsl:text>
code { font-family: monospace; }
div.constraint,
div.issue,
div.note,
div.notice { margin-left: 2em; }
li p { margin-top: 0.3em;
margin-bottom: 0.3em; }
</xsl:text>
</style>
</xsl:template>
Michael Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Inline StyleSheet in xsl, Jarkko . Moilanen | Thread | [xsl] Selecting the xsl-file, Kaarle Kaila |
| RE: [xsl] Regarding xsl transformat, Chadha, Devesh | Date | RE: [xsl] Selecting the xsl-file, Michael Kay |
| Month |