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] | [Elist Home]

Subject: Re: DOCBOOK-APPS: Announce: DocBook XSL Stylesheets V1.25(experimental)

> I've just released experimental version 1.25 of my DocBook XSL
> Stylesheets.  The distribution now includes Saxon extension functions
> and an extension element to handle transclusion, callouts, and
> numbered program listings.

Thanks Norm. This is what I have missed in XSLT stylesheets. For anyone
who want to use these features, there are few notes:

1. You will need Saxon XSLT processor, available at

2. When running Saxon, you must tell it to use Norm's extension. This
can be done if you invoke Saxon by following command:

	java -cp
             com.icl.saxon.StyleSheet <saxon parameters>

3. You must enable Saxon extension in stylesheets. Modify following line
in docbook/html/param.xsl

	<xsl:param name="saxon.extensions" select="'0'"/>


	<xsl:param name="saxon.extensions" select="'1'"/>

(or alternatively you can set this parameter to 1 on command line when
invoking Saxon)

4. Now you are ready to use new fantastic features. For example you can
use following code to include listing of external file mysource.java in
your document:

<inlinegraphics format="linespecific" fileref="mysource.java"/>

Hope helps to someone.;)

  Jirka Kosek  	                     
  e-mail: jirka@kosek.cz

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

Powered by eList eXpress LLC