Table Keep with next across N rows
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 22
- Joined: Tue May 17, 2016 4:58 pm
Table Keep with next across N rows
Hi I would like to create a table definition where tables that are less than 10 rows are not allowed to break across pages and longer tables are allowed to break, is that even possible? Does anybody have a solution?
-
- Posts: 159
- Joined: Mon Nov 24, 2014 1:49 pm
- Location: Greven/Germany
Re: Table Keep with next across N rows
Yes, you could create a Schematron rule that counts the rows and then forces the author to set an output class, if the number of rows are < 10. Then you can create a pdf2 template with sets a keep-with attribute on that table that avoids breaking it. You probably should flavor the Schematron rule with a character counter, because a table with 10 rows might fill a page, when the rows contain a lot of text.
stefan-jung.org – Your DITA/DITA-OT XML consultant
Return to “General XML Questions”
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