In my stream XML rules, all the elements are marked as optional.
But, due to business UI requirement, we had to initialize all the page properties before loading the UI.
Due to this, although the empty scalar properties are not generated in output xml string ( via Property-Set-XML) , the complex elements (page/page lists) are still present ,since they are present on clipboard.
Is there any way to remove these XML tags after generation? OOT/Java probably?
In below example, highlighted tags shall be removed: