Hi, As with most numbers generated by DocBook XSL, the stylesheet uses mode="label.markup" for questions and answers. This template from common/labels.xsl would need to be customized:
<xsl:template match="question|answer" mode="label.markup"> The xsl:choose in that template handles the various labeling options that are available for qandasets. I think the last xsl:when handles plain numbering, using xsl:number. Change the attributes on xsl:number to add a "from" attribute. Bob Stayton Sagehill Enterprises [email protected] ----- Original Message ----- From: David Link To: [email protected] Sent: Thursday, March 31, 2011 11:58 AM Subject: [docbook-apps] Qanda: HTML: Not renumber on qandadiv Hello, Is there a way to not renumber qandaentries after qandadivs? Example Representation of XML Docbook: section [end-of-chapter] (gob-ch01_s08) . qandaset (gob-ch01_s08_qs01) . . qandadiv (gob-ch01_s08_qs01_qd01) . . . qandaentry (gob-ch01_s08_qs01_qd01_qa01) . . . qandaentry (gob-ch01_s08_qs01_qd01_qa02) . . . qandaentry (gob-ch01_s08_qs01_qd01_qa03) . . qandadiv (gob-ch01_s08_qs01_qd02) . . . (Some content here specific to this section) . . . qandaentry (gob-ch01_s08_qs01_qd02_qa11) . . . qandaentry (gob-ch01_s08_qs01_qd02_qa12) . . . qandaentry (gob-ch01_s08_qs01_qd02_qa13) We like the second qandadiv set of qandaentries to not restart numbering at 1. We are using docbook-xsl-1.75.2 xhtml-1.1 Thank you David Link New York.
