This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: CSS (via entities)
- To: xsl-list at mulberrytech dot com
- Subject: Re: CSS (via entities)
- From: Miloslav Nic <nicmila at idoox dot com>
- Date: Fri, 01 Dec 2000 07:32:18 +0100
- References: <3A26BB0E.B2AEFB3D@mail.nlm.nih.gov>
- Reply-To: xsl-list at mulberrytech dot com
For an inspiration:
<!DOCTYPE xsl:stylesheet [ <!ENTITY inclusion SYSTEM "foo.css"> ]>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<xsl:variable name="inclusion">&inclusion;</xsl:variable>
<xsl:template match="/">
<xsl:value-of select="$inclusion"/>
</xsl:template>
</xsl:stylesheet>
YueMa wrote:
>
> Hi there,
> Thanks for the answers of concat string!
>
> I have another question, how can I use am external CSS style file within
> my XSLT file?
> I tried to use
> <xsl:copy-of select="document('mycss.css')"/>
> but I've got error message said there is a syntax error in my CSS file
> at the first line:
>
> BODY {
> font-family: Arial, Helvetica, sans-serif;
> font-size: 100%;
> }
>
> If I don't want to copy-paste the data from CSS to XSLT, what can I do ?
>
> Thanks!
>
> Yue
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
--
******************************************
<firstName> Miloslav </firstName>
<surname> Nic </surname>
<mail> nicmila@idoox.com </mail>
<support> http://www.zvon.org </support>
<zvonMailingList>
http://www.zvon.org/index.php?nav_id=4
</zvonMailingList>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list