[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: CSS (via entities)

Subject: Re: CSS (via entities)
From: Miloslav Nic <nicmila@xxxxxxxxx>
Date: Fri, 01 Dec 2000 07:32:18 +0100
css entities
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.