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: syntax highlighting doesn't work, nor throws errors.

I'm following the instructions here to make syntax highlighting work, 
are these the wrong instructions to follow?


java -cp 
-Dhighlight.source=1 \
com.icl.saxon.StyleSheet ./text.xml 

I've also tried without the "saxon65.jar" in there. also the 
-Dhighlight.source=1 \ was a recent attempt to get it to work, so I've 
tried without that too.

here's my text.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" 
<?altova_sps http://www.altova.com/sps/Template/Publishing/docbook.sps?>
         <title>Book Title</title>
                 <title>Part Title</title>
                         <title>Chapter Title</title>
                                 <title>Section1 Title</title>
<programlisting language="php"><![CDATA[
function dostuff($now=false) {
                 if ($this->redo && !$force) return;
                 foreach ($this->abas $r=> $a) {



My chunkohp.xsl file is the same as chunk.xsl except I added

<xsl:param name="highlight.source" select="1"/>
<xsl:import href="chunk-common.xsl"/>

I get html output with no syntax highlighting. Saxon 6.5.5.

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