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: base.dir param not working in customization layer


I'm working with the DocBook XSL scripts for the first time, although 
I've been using DocBook with my own XSLT scripts for a few years.

I'm trying to use the chunk.xsl script and set a base.dir for the 
output, but it's not working in the customization layer.  From the 
command line, however, it does.  I'm using Xalan 2.6 in either case.

Command line that does work:

java \
-cp "/usr/share/java/xalan2.jar"\
org.apache.xalan.xslt.Process  \
-in  src/handbook.xml  \
-param base.dir ../output/ \
-xsl chunked.xsl

Customization layer that does not work (base.dir has no effect) 
(chunked.xsl):

<?xml version='1.0'?>
<xsl:stylesheet
         xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version="1.0">
<!-- Import the base chunk stylesheet for HTML -->
  <xsl:import
      href="/usr/share/xml/docbook/stylesheet/nwalsh/html/chunk.xsl"/>

   <xsl:param name="html.stylesheet" select="'../styles/library.css'"/>
   <xsl:param name="chunk.fast" select="1"/>
   <xsl:param name="base.dir" select="../output"/>
   <xsl:param name="chunk.section.depth" select="0"/>

</xsl:stylesheet>

----------------

The base.dir in the customization file does nothing, but the command 
line one works.  Can anyone offer a hint as to why? :-)  Thanks.

-- 
Larry Garfield			AIM: LOLG42
larry@garfieldtech.com		ICQ: 6817012

"If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an 
idea, which an individual may exclusively possess as long as he keeps it 
to himself; but the moment it is divulged, it forces itself into the 
possession of every one, and the receiver cannot dispossess himself of 
it."  -- Thomas Jefferson


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