OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: RE: [docbook-apps] embedding contents of external css stylesheet

Try this (where html.css is your css):

<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE stylesheet [
<!ENTITY css SYSTEM "html.css">

  exclude-result-prefixes="doc" version="1.0">

<xsl:template name="user.head.content">
<style type="text/css">


-----Original Message-----
From: Denis Bradford [mailto:denis.bradford@verizon.net]
Sent: Sunday, September 21, 2003 8:19 AM
To: docbook-apps@lists.oasis-open.org
Subject: [docbook-apps] embedding contents of external css stylesheet

I would like to embed the contents of an external css stylesheet at
user.head.content. That is, instead of a link to the stylesheet (a la
html.stylesheet), I would like a document-level <style> block in the
head of the document. I want to pull the css rules in from an external,
shared file, rather than hardwiring them in the stylesheet.

Anybody know how to do this? btw, the idea here is that the generated
html file can be moved around and viewed standalone - the external css
file is not always convenient.

To unsubscribe from this list, send a post to docbook-apps-unsubscribe@lists.oasis-open.org.

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]