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: Re: [docbook-apps] problem by changing to 1.70.1 stylesheets

Hash: SHA1
Hi Bob,

Thanks for the help.

The import of the 'common/autoidx-ng.xsl' helps to avoid the errors
with the key elements.

About the error in the 'stripns.xsl': I think it comes from the
document structure in the saxon processor. The top element '/' is not
the same like the root element in the docbook document. In my document
the root element is 'book'. But for the saxon processor there is the
'/' element over the book element. And the 'book' element is the first
and only child of '/'. So there can't be any attributes.
I changed the line 310 of 'stripns.xsl' to:
    <xsl:copy-of select="./*/@* | ./*/node()"/>
and no warning appear.
I hope it's understandable.


Bob Stayton schrieb:
> Well, it seems that Saxon 8 is not happy with the new indexing
> templates that support different index methods.  It appears that
> Saxon 8 checks for the existance of a key even if the key
> references are in a template that is never called.  For example,
> the reference to the key 'group-code' is in a template named
> 'generate-kosek-index', which should be used only if the parameter
> 'index.method' is set to 'kosek', which it is not in your case.
> So if you want to use Saxon 8, you will have to xsl:import
> common/autoidx-ng.xsl.  That isn't included by default because
> xsltproc has problems with extension functions in keys.
> You could also use Saxon 6.
> The other error about attribute axis from stripns.xsl I don't know
> about.
> Bob Stayton Sagehill Enterprises DocBook Consulting
> bobs@sagehill.net
> ----- Original Message ----- From: "Stefan Heuer" <sh127@gmx.de>
> To: <docbook-apps@lists.oasis-open.org> Sent: Thursday, June 29,
> 2006 8:09 AM Subject: [docbook-apps] problem by changing to 1.70.1
> stylesheets
Version: GnuPG v1.4.3 (MingW32)
Comment: GnuPT 2.9.2
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

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