Hi Bob, I checked every line with <xsl:template match="...
and added the d: like <xsl:template match="d:mediaobject/d:caption"> The transformation added the dash to the pagenumbers but not the chapternumber. Unfortunately I can read xsl but not control or debug it. Bernhard Am 09.11.2018 um 18:28 schrieb Bob Stayton: > > 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 >> -- spitzhalde9 D-79853 lenzkirch [email protected] www.b-kleine.com, www.urseetal.net - thunderbird mit enigmail GPG schlüssel: D5257409 fingerprint: 08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09
signature.asc
Description: OpenPGP digital signature
