- Timestamp:
- Mar 23, 2023 11:25:01 PM (19 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manual/docbook-refentry-to-manual-dita.xsl
r99157 r99159 135 135 <xsl:element name="sectiondiv"> 136 136 <xsl:attribute name="rev">refsect2</xsl:attribute> 137 <xsl:attribute name="outputclass">refsect2</xsl:attribute> 137 <xsl:attribute name="outputclass">refsect2</xsl:attribute> <!-- how to make xhtml pass these thru... --> 138 138 <xsl:if test="@id"> 139 139 <xsl:attribute name="id"><xsl:value-of select="@id"/></xsl:attribute> … … 149 149 <xsl:element name="b"> 150 150 <xsl:attribute name="rev">refsect2/title</xsl:attribute> 151 <xsl:attribute name="outputclass">refsect2title</xsl:attribute> 151 <xsl:attribute name="outputclass">refsect2title</xsl:attribute> <!-- how to make xhtml pass these thru... --> 152 152 <xsl:apply-templates /> 153 153 </xsl:element> … … 369 369 </xsl:choose> 370 370 371 <xsl:if test="@rep='repeat'"> 372 <xsl:element name="repsep"> 371 <xsl:apply-templates /> 372 373 <xsl:if test="@rep = 'repeat'"> 374 <!-- repsep can only be placed at the start of a groupseq/whatever and 375 the documenation and examples of the element is very sparse. The 376 PDF output plugin will place the '...' where it finds it and do 377 nothing if it's empty. The XHTML output plugin ignores it, it seems. --> 378 <xsl:text> </xsl:text> 379 <xsl:element name="groupseq"> 380 <xsl:attribute name="importance">optional</xsl:attribute> 373 381 <xsl:attribute name="rev">arg[<xsl:value-of select="@choice"/>,repeat]</xsl:attribute> 374 <xsl:text>...</xsl:text> 382 <xsl:attribute name="outputclass">repeatarg</xsl:attribute> <!-- how to make xhtml pass these thru... --> 383 <xsl:element name="repsep"> 384 <xsl:attribute name="rev">arg[<xsl:value-of select="@choice"/>,repeat]</xsl:attribute> 385 <xsl:text>...</xsl:text> 386 </xsl:element> 375 387 </xsl:element> 376 388 </xsl:if> 377 378 <xsl:apply-templates />379 389 380 390 </xsl:element> … … 448 458 <xsl:attribute name="importance">required</xsl:attribute> 449 459 460 <!-- This doesn't really work. Sigh. --> 450 461 <xsl:if test="@rep = 'repeat'"> 451 462 <xsl:element name="repsep">
Note:
See TracChangeset
for help on using the changeset viewer.

