List Info

Thread: problem by changing to 1.70.1 stylesheets




problem by changing to 1.70.1 stylesheets
user name
2006-06-30 12:57:16
-----BEGIN PGP SIGNED MESSAGE-----
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.

Stefan

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
> bobssagehill.net
>
>
> ----- Original Message ----- From: "Stefan
Heuer" <sh127gmx.de>
> To: <docbook-appslists.oasis-open.org>
Sent: Thursday, June 29,
> 2006 8:09 AM Subject: [docbook-apps] problem by
changing to 1.70.1
> stylesheets
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: GnuPT 2.9.2
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

 
iD8DBQFEpR+sirQ0Ts08AdMRAhegAJ9o6g6ygMg5a15Vl04jcWU62KSjrQCf
cbvA
/6VCwgegHDSSeu0hWPqhRjI=
=bIKU
-----END PGP SIGNATURE-----


------------------------------------------------------------
---------
To unsubscribe, e-mail: docbook-apps-unsubscribelists.oasis-open.org
For additional commands, e-mail: docbook-apps-helplists.oasis-open.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )