[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: 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.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]