Bug 605150 describes this problem for DocBook XSL.
In the synop.dsl files (/html and /print versions) the repeat attribute is specified for <arg> but not for the
<arg> as a child of <group> (group arg).
I tested, and--sure enough--the repeat attribute works as expected in a naked <arg>.
I managed to correct the problem with the following addition to my customization layer:
(element (group arg)
(let ((choice (attribute-string (normalize "choice")))
(rep (attribute-string (normalize "rep"))))
(if (not (first-sibling? (current-node)))
((equal? rep (normalize "repeat")) (literal %arg-rep-repeat-str%))
((equal? rep (normalize "norepeat")) (literal %arg-rep-norepeat-str%))
(else (literal %arg-rep-def-str%))))))
I am processing with DocBook DSSSL 1.77 via OpenJade 1.3.
The attached zip contains:
test.xml - a test refentry with repeats in an arg and in an arg within a group.
test1.html - test.xml processed without the customization
test2.html - test.xml processed with the customization
Log in to post a comment.