Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8808239
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T02:34:20+00:00 2026-06-14T02:34:20+00:00

Moving this question to a different thread, as requested. I’m trying to customize DocBook

  • 0

Moving this question to a different thread, as requested.

I’m trying to customize DocBook XSL’s HTML output.

After a docbook <table> element, the stylesheets generate this code:

<div class="table">
    [...]
</div>
<p>
    <br class="table-break">
</p>

This induces unwanted spaces in the HTML output and I can’t find where this code comes from as a search for “table-break” in the DocBook XSL comes up with no results. How would I go about getting rid of this code?

Thanks!

~Slampisko

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T02:34:21+00:00Added an answer on June 14, 2026 at 2:34 am

    This information is directed at Docbook XSL 1.77.1. This may not match up with your version, especially given that your post table break element is wrapped with <p>:

    As mentioned by mzjn, the formal.xsl file has what you’re looking for. formal.object is a named template that is called when you specify a CALS table (or embed a graphic/mediaobject). Within this template there is a test to check if a break element should be added afterward. There is a global parameter (top of the file) that controls this behaviour. It is enabled by default:

    <xsl:param name="formal.object.break.after">1</xsl:param>
    

    You can redefine this by specifying the parameter to your XSLT processor, with Saxon, for example, it would take the form:

    java -jar saxon.jar file.xml your.customisation.xsl formal.object.break.after=0
    

    You can probably also shadow it from within your customisation by redefining formal.object.break.after after you have imported the base stylesheet.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is a complex question, because there are a lot of moving parts. My
I want to access RegEx results after I am done moving files with this
I found this question on a programming forum: A table composed of N*M cells,each
This question refers to version 1.2.1 and it doesn't compile at a different part
I am having trouble moving this JLabel across this JPanel? I put the code
I have an AppWidgetProvider under package com.developer.application I tried moving this AppWidgetProvider under package
I have this error that is keeping me from moving forward. I basically have
Moving rails app to production and running into the routing issues. I've read this
How would I modify this code to show the animated movement (item moving from
I am moving from jQuery to MooTools (for the fun..) and I have this

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.