I have a major problem finding a way to add a space between two child elements.
<aaa>
I want to add <bbb>a</bbb><ccc>space</ccc> between two words.
</aaa>
I want to add a space between the "a" and "space" words if the ccc element follows the bbb element immediately. Currently I apply template at aaa element level, and then handle bbb and ccc element in separate templates.
I have no idea how to detect this </bbb><ccc>
pattern in advance.
Note: I do not know what words will be inside the bbb and ccc elements.