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: Modifying olink generated text

I'm having trouble making a customization to olink generated text.  I
want to remove "the section called" from olinks to sections.  Can
someone point out errors in my method?

To troubleshoot, I have reduced my customization layer to only what I
see in:

Here's my stylesheet.  It's importing version 1.71.1 of the stylesheets.

<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";


<xsl:param name="local.l10n.xml" select="document('en.xml')"/>


I have placed an entire copy of common/en.xml from version 1.71.1 of the
stylesheets in the directory with my customization layer.  In that copy,
I have replaced every instance of "the section called" with "the FOO
called."  I made no other changes.

I publish my DocBook content, which is version 4.3, using Saxon 6.5.3.
Here is the command with the parameters I am using:

java com.icl.saxon.StyleSheet \
oq/xml/MyDocBookContent.xml \
test.xsl \
base.dir=oq/html/test-results/ \
use.extensions=1 \
target.database.document="../../olinkdb-html.xml" \

The resulting HTML looks great, with live olink cross-references.  But
they are not affected by my alteration of en.xml and still read "the
section called."

What am I missing?  I know Saxon is finding my copy of en.xml because if
I change its filename, Saxon complains that it cannot be found.

Thanks for your help.

Peter Desjardins

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