Remove table numbering
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Remove table numbering
Post by sorin_ristache »
Hello,
Sorry, there is no parameter for that in the transformation. You can disable that label in front of the table title by commenting out the xsl:choose element inside the <span class="tablecap"> element in the template <xsl:template name="place-tbl-lbl"> in the file [Oxygen-14.2-install-dir]\frameworks\dita\DITA-OT\xsl\xslhtml\dita2htmlImpl.xsl, that is the xsl:choose element that starts at line 4149 in file [Oxygen-14.2-install-dir]\frameworks\dita\DITA-OT\xsl\xslhtml\dita2htmlImpl.xsl. This xsl:choose element inserts the label in front of the table title so if you comment out/remove it the label will not be inserted anymore in the output.
Regards,
Sorin
Sorry, there is no parameter for that in the transformation. You can disable that label in front of the table title by commenting out the xsl:choose element inside the <span class="tablecap"> element in the template <xsl:template name="place-tbl-lbl"> in the file [Oxygen-14.2-install-dir]\frameworks\dita\DITA-OT\xsl\xslhtml\dita2htmlImpl.xsl, that is the xsl:choose element that starts at line 4149 in file [Oxygen-14.2-install-dir]\frameworks\dita\DITA-OT\xsl\xslhtml\dita2htmlImpl.xsl. This xsl:choose element inserts the label in front of the table title so if you comment out/remove it the label will not be inserted anymore in the output.
Regards,
Sorin
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Re: Remove table numbering
Post by sorin_ristache »
Yes, that is correct. I commented this xsl:choose element and I did not get any errors with the DITA Map Webhelp transformation. What error do you get in the DITA OT output view at the bottom of the Oxygen window?
I uploaded the modified version of the [Oxygen-14.2-install-dir]\frameworks\dita\DITA-OT\xsl\xslhtml\dita2htmlImpl.xsl stylesheet here.
Regards,
Sorin
I uploaded the modified version of the [Oxygen-14.2-install-dir]\frameworks\dita\DITA-OT\xsl\xslhtml\dita2htmlImpl.xsl stylesheet here.
Regards,
Sorin
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service