xml editor

Supported platforms

Compatible with Windows7 & Mac OS X Snow Leopard

Ready for data server software
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] include css in xsl


Subject: RE: [xsl] include css in xsl
From: "Passin, Tom" <tpassin@xxxxxxxxxxxx>
Date: Wed, 19 Mar 2003 10:30:28 -0500

[ TP]

> within the stylesheet I have
> -----------------------------------------------------------
> <style type="text/css">
>    <xsl:comment><![CDATA[
>     hr {color: sienna}
>     p {margin-left: 20px}
>     body { background-color: white;
>       font-size:7pt;
>       color:black;
>       font-family:verdana,arial
>      }
> //-->
>    ]]>
>    </xsl:comment>
>    </style>
> -----------------------------------------------------------
> I want to include the css as a separate stylesheet file. The 
> css file should
> be placed in the same folder as the other stylesheets.
> 

Just turn the style element into a stand-alone xml document, and bring
it in using document().

Cheers,

Tom P

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xml
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>®XML Editor