From: Michael Smith Date: Wed, 4 Jul 2007 08:41:53 +0000 (+0000) Subject: Consolidated all PIs for qandaset into wrapper templates in one X-Git-Tag: release/1.79.1~6^2~2038 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bdb6b07b8127bed00da24d55378ef8b7d782a699;p=docbook-dsssl Consolidated all PIs for qandaset into wrapper templates in one place (html/pi.xsl) and added embedded doc for all of them. May have made some flubs in copying over, so this change may break some qandaset handling. --- diff --git a/xsl/html/pi.xsl b/xsl/html/pi.xsl index 9673b1b23..771d02f44 100644 --- a/xsl/html/pi.xsl +++ b/xsl/html/pi.xsl @@ -102,6 +102,93 @@ $Id$ + +Specifies the value of the cellpadding attribute in table + output of a qandaset + + Use the dbhtml cellpadding PI as a child + of a qandaset to specify the value for the HTML + cellpadding attribute in the output HTML + table. + + + dbhtml cellpadding="number" + + + + cellpadding="number" + + Specifies the cellpadding + + + + + + + + + + + + + + +Specifies the value of the cellspacing attribute in table + output of a qandaset + + Use the dbhtml cellspacing PI as a child + of a qandaset to specify the value for the HTML + cellspacing attribute in the output HTML + table. + + + dbhtml cellspacing="number" + + + + cellspacing="number" + + Specifies the cellspacing + + + + + + + + + + + + + + +Specifies the label width for a qandaset + + Use the dbhtml label-width PI as a child of a + qandaset to specify the width of labels. + + + dbhtml label-width="width" + + + + label-width="width" + + FIXME: Specifies the label width (in what units?) + + + + + + + + + + + + + Specifies presentation style for a variablelist or segmentedlist @@ -165,6 +252,37 @@ $Id$ + +Specifies the text of the summary attribute for table + output of a variablelist, segmentedlist, or qandaset + + Use the dbhtml table-summary PI as a child + of a variablelist, segmentedlist, or + qandaset to specify the text for the HTML + summary attribute in the output HTML + table. + + + dbhtml table-summary="text" + + + + table-summary="text" + + Specifies the summary text (zero or more characters) + + + + + + + + + + + + + Sets character formatting for terms in a variablelist @@ -232,61 +350,65 @@ $Id$ - -Specifies the text of the summary attribute for table - output of a variablelist or segmentedlist + +Specifies the term width for a variablelist - Use the dbhtml table-summary PI as a child - of a variablelist or segmentedlist to - specify the text for the HTML summary - attribute in the output HTML table. + Use the dbhtml term-width PI as a child of a + variablelist to specify the width for + term output. - dbhtml table-summary="text" + dbhtml term-width="width" - table-summary="text" + term-width="width" - Specifies the summary text (zero or more characters) + FIXME: Specifies the term width (in what units?) - + - + - -Specifies the term width for a variablelist + +Species whether a TOC should be generated for a qandaset - Use the dbhtml term-width PI as a child of a - variablelist to specify the width for - term output. + Use the dbhtml toc PI as a child of a + qandaset to specify whether a table of contents + (TOC) is generated for the qandaset. - dbhtml term-width="width" + dbhtml toc="0"|"1" - term-width="width" + toc="0" - FIXME: Specifies the term width (in what units?) + If zero, no TOC is generated + + + toc="1" + + If 1 (or any non-zero value), + a TOC is generated - + - + diff --git a/xsl/html/qandaset.xsl b/xsl/html/qandaset.xsl index 5732c1fa2..67a376256 100644 --- a/xsl/html/qandaset.xsl +++ b/xsl/html/qandaset.xsl @@ -23,11 +23,7 @@ and local-name(.) != 'qandadiv' and local-name(.) != 'qandaentry']"/> - - - - + @@ -86,11 +82,7 @@ - - - - + @@ -336,35 +328,19 @@ - - - - + - - - - + - - - - + - - - - +