From: SourceForge.net <no...@so...> - 2003-04-29 05:31:31
|
Bugs item #607965, was opened at 2002-09-11 14:00 Message generated for change (Settings changed) made by adicarlo You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=607965&group_id=21935 Category: DocBook DSSSL Group: DocBook V4 Status: Open Resolution: None Priority: 5 Submitted By: Dennis Grace (amazing) >Assigned to: Adam Di Carlo (adicarlo) Summary: repeat ineffective in group arg Initial Comment: 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: ;;================== ;; Refentry ;;================== (element (group arg) (let ((choice (attribute-string (normalize "choice"))) (rep (attribute-string (normalize "rep")))) (make sequence (if (not (first-sibling? (current-node))) (literal %arg-or-sep%) (empty-sosofo)) (process-children) (cond ((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 dbsynop.cdiffs ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=607965&group_id=21935 |