Karl,
Are you saying that you want the resultant HTML to have a link to an
external CSS file in it? If so, there's no reason why you can't
simply add in a normal HTML <link> element, like any other
HTML markup you have in the XSL. See below.
If this *isn't* what you're asking, let me know ....
- Jeff
[minus all the header stuff]
<xsl:template match="/">
<html>
<head>
<link
href="your_external_stylesheet.css" rel="stylesheet" />
</head>
<body>
<xsl:apply-templates/>
</body>
</html>
</xsl:template>
----- Original Message -----
Sent: Wednesday, July 31, 2002 6:34
PM
Subject: [xml-dev] CSS XSL
Tranformation
Hello,
I'm using MSXML2
and VB to tranform an XML document into an HTML document, and then
serializing the new HTML file to disk. All is working great, however
I'd like to also include CSS reference in my newly transforemed HTML doc but
am not sure how to go about accomplishing this. Including a style
sheet referencee in my XML doc does nothing and I'm not sure how to add the
CSS reference during tranformation. Would it become an XSL
tranformation? If so, how would you right this, a CSS link to an
external CSS file.
Thanks!
Karl