A sample table in a cell
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 3
- Joined: Tue Mar 13, 2018 4:12 pm
A sample table in a cell
Hi,
I have a table that discusses different table options. In some cells I have sample tables to illustrate that options. When validating the document, I get the following error:
Unexpected element "table". The content of the parent element type must match "(dl|parml|fig|syntaxdiagram|imagemap|image|lines|lq|note|hazardstatement|object|ol|p|pre|codeblock|msgblock|screen|sl|ul|boolean|cite|keyword|button-element|link-element|interface-tag|interface-attribute|interface-attribute-value|interface-template|api-call|http-method|http-response|apiname|option|parmname|cmdname|msgnum|varname|wintitle|ph|b|i|sup|sub|tt|u|codeph|synph|filepath|msgph|systemoutput|userinput|menucascade|uicontrol|q|term|abbreviated-form|tm|xref|state|data|data-about|foreign|unknown|draft-comment|fn|indextermref|indexterm|required-cleanup)".
Can I "pack" my table into any of these elements to avoid the error?
I have a table that discusses different table options. In some cells I have sample tables to illustrate that options. When validating the document, I get the following error:
Unexpected element "table". The content of the parent element type must match "(dl|parml|fig|syntaxdiagram|imagemap|image|lines|lq|note|hazardstatement|object|ol|p|pre|codeblock|msgblock|screen|sl|ul|boolean|cite|keyword|button-element|link-element|interface-tag|interface-attribute|interface-attribute-value|interface-template|api-call|http-method|http-response|apiname|option|parmname|cmdname|msgnum|varname|wintitle|ph|b|i|sup|sub|tt|u|codeph|synph|filepath|msgph|systemoutput|userinput|menucascade|uicontrol|q|term|abbreviated-form|tm|xref|state|data|data-about|foreign|unknown|draft-comment|fn|indextermref|indexterm|required-cleanup)".
Can I "pack" my table into any of these elements to avoid the error?
-
- Posts: 418
- Joined: Mon May 09, 2016 9:37 am
Re: A sample table in a cell
Post by sorin_carbunaru »
Hello,
As explained in the DITA styleguide, yes you can create nested tables by wrapping the second table in a paragraph, but nested tables should usually be avoided.
By the way, from what I noticed, using the "Insert table" action from the toolbar automatically creates the proper structure for nested tables.
Best wishes,
Sorin Carbunaru
oXygen XML
As explained in the DITA styleguide, yes you can create nested tables by wrapping the second table in a paragraph, but nested tables should usually be avoided.
By the way, from what I noticed, using the "Insert table" action from the toolbar automatically creates the proper structure for nested tables.
Best wishes,
Sorin Carbunaru
oXygen XML
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