Subject: Re: CSS (via entities) From: Miloslav Nic <nicmila@xxxxxxxxx> Date: Fri, 01 Dec 2000 07:32:18 +0100 |
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@xxxxxxxxx </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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Dynamic processing using Perl, Kay Michael | Thread | Re: CSS (via entities), Eric van der Vlist |
Dynamic processing using Perl, GRUBB,GARY (A-Sonoma | Date | Re: NameSpace declarations, Miloslav Nic |
Month |