Hi Bernhard,
I think this is a namespace matching problem. As you noticed, the
posted stylesheet was written for DocBook 4 without the DocBook
namespace. You updated it to add the namespace in your copy, but you
didn't change all of the instances of element names in match and select
statements.
That said, the posted version should probably be updated to DocBook 5
with the namespace. It's easier to remove than to add if someone needed
it for DocBook 4. 8^)
Bob Stayton
Sagehill Enterprises
[email protected]
On 11/9/2018 7:04 AM, Bernhard Kleine wrote:
Hi,
I went to the customization stylesheet that Jeff Beal provided (and has
moved to some https://github.com/docbook/wiki/wiki/PageNumberPrefixes)
and tried it with a vanilla customization of Oxygen XML editor.
Unfortunately it does not work. The attached stylesheet has only a
hardware break template added. The Testchapterprefix.xml does not
produce page numbers with the correct chapter prefix. What has to be
changed?
Regards,
Bernhard