[xsl] import css file via xslt ->xhtml

Subject: [xsl] import css file via xslt ->xhtml
From: "Rick Roen" <Rick@xxxxxxxxxxxxxxxxxx>
Date: Mon, 22 May 2006 11:13:08 -0600
XSL 2.0 - XMLSpy

I have an xml file which will be transformed via xslt 2.0 into xhtml.

I would like to import a css stylesheet "salesdoc.css" into the result, but
have so far been unsuccessful. The css file is in the same folder as the
stylesheet and xml doc.

I have tried:

	<style type="text/css"> @import "salesdoc.css"; </style>

But in IE 6 this does nothing.

I need to actually make the css part of the document, since the result may
be sent outside where the css file may be located.



Current Thread