This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
[docbook-apps] Using a CSS
- From: JABakken at dstsystems dot com
- To: docbook-apps at lists dot oasis-open dot org
- Date: Thu, 8 May 2003 09:17:55 -0500
- Subject: [docbook-apps] Using a CSS
Please once again forgive my complete ignorance. As a test, I created a
very simple XML file using XXE. I also created a very simple CSS that only
specifies the display of the <para> element. Using Xalan I created an html
using the html.stylesheet parameter. Nothing happened.
Here is a sample of the xml file:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="style.css"?>
<!DOCTYPE article SYSTEM "file:///C:/DocBook/DTD/docbookx.dtd">
<article>
<title>Sample Article</title>
<sect1>
<title>A CSS Test</title>
<para>This is to test whether the css actually works.</para>
</sect1>
</article>
And here is what I typed at the command line:
java org.apache.xalan.xslt.Process -out
C:/Documents/DocBook/05082003/article.html -in
C:/Documents/DocBook/05082003/article.xml -xsl
C:/DocBook/XSL/docbook-xsl-1.59.1/html/docbook.xsl -param html.stylesheet
"style.css"
Thanks in advance.
---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: docbook-apps-help@lists.oasis-open.org