Thank Bob. That solved the problem.
I have one issue left - the part that generates web help threw an
exception:
java -cp
"../../../src/xalan/xalan.jar;../../../src/xalan/xcercesImpl.jar;../../.
./src/xalan/xml-apis.jar;../../../src/x
slthl-2.0.1.jar" \
-Dxslthl.config="file:///E:/ongoing/highlighters/xslthl-config.xml" \
org.apache.xalan.xslt.Process \
-param l10n.gentext.default.language en \
-param glossary.collection ../../../src/glossary.xml \
-param document.name.stem manual \
-param base.dir manual.html-web/ -xsl
../../../src/xsl.d/myweb-chunk.xsl \
-param manifest.in.base.dir 1 \
-in manual.xml
The error was:
Line #46; Column #83; org.apache.xml.utils.WrappedRuntimeException:
Could not find variable with the name of document.name.stem
It looks to me that Xalan complained that it could not locate variable
document.name.stem, but the value is passed through command line.
The line 46 has the following contents:
$pagedata['product'] = '</xsl:text><xsl:value-of
select="$document.name.stem" /><xsl:text>';
The above worked when the processor was xsltproc.
Thanks,
Sherwood
From: Bob Stayton [mailto:
bobs@sagehill.net]
Sent: Tuesday, August 18, 2009 4:20 PM
To: Sherwood Hu;
docbook-apps@lists.oasis-open.orgSubject: Re: [docbook-apps] Generating html help with Xalan
Hi,
The 'manifest.in.base.dir' parameter can do what you want. See:
http://docbook.sourceforge.net/release/xsl/current/doc/html/manifest.in.base.dir.html
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net