Really minor issue, but why are empty paragraphs inserted after headings in the xml files?
Suppose in a scenario where a document contains an empty Heading (Heading without any inline or block level child elements) then in that scenario, if we don't provide an empty paragraph element, we will get the validation error as "<level1> has incomplete element.... ".
To solve this issue we are populating the empty paragraph.
Thanks for the reply. Why not introduce the empty paragraph only after an "empty" heading?
yes, that is a good input. We will see how to handle this.