[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
At 07:31 PM 2/4/2000 +0100, Mattias Beermann wrote:
Personally though I'd rather put the font faces/sizes in a CSS stylesheet and simply emit the <link> tag to connect the XHTML file to it; a lot less cruft in the result tree (replacing all the font specs with a simple "class='...'" attribute on the appropriate elements). A matter of taste, maybe!
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Re: Declaring internal entities in an xsl-file
Subject: Re: Declaring internal entities in an xsl-file From: "John E. Simpson" <simpson@xxxxxxxxxxx> Date: Fri, 04 Feb 2000 14:29:53 -0500 |
At 07:31 PM 2/4/2000 +0100, Mattias Beermann wrote:
I have an xsl-file that transforms an xml-file into xhtml. In this xsl-file I want to specify some internal entities for font face and font size, so that I only need to change it at one place. Is there any way I can declare just the entities without having a "real" dtd?
<!DOCTYPE xsl:stylesheet [ <!ENTITY headerfont "Arial,Helvetica,Univers,sans-serif"> ]> <xsl:stylesheet... [etc.]
Personally though I'd rather put the font faces/sizes in a CSS stylesheet and simply emit the <link> tag to connect the XHTML file to it; a lot less cruft in the result tree (replacing all the font specs with a simple "class='...'" attribute on the appropriate elements). A matter of taste, maybe!
============================================================= John E. Simpson simpson@xxxxxxxxxxx ------------------------------------------------------------- I put contact lenses in my dog's eyes. They had little pictures of cats on them. Then I took one out and he ran around in circles. (Stephen Wright)
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: Declaring internal entities in , Steve Muench | Thread | RE: Declaring internal entities in , Mattias Beermann |
Re: Where can I find the XSLT DTD?, Rick Geimer | Date | Re: This URL "http://www.mulberryte, XSL-List Owner |
Month |
Keywords