Oxygen XML Author allows you to specify that an element has a -oxy-morph display type (deprecated morph property is also supported), meaning that the element is inline if all its children are inline.