Currently the optional xml focusses on text and children items, a cascading approach is also needed, such that
root /( fred ?~> None )
will generate
<root/>
only, not additionally
<root><fred/></root>
as currently with the optional text child. This should cascade throughout the tree so that, if there are no children below there should be a None returned for the ItemOrElem.
Currently the optional xml focusses on text and children items, a cascading approach is also needed, such that
will generate
only, not additionally
as currently with the optional text child. This should cascade throughout the tree so that, if there are no children below there should be a None returned for the ItemOrElem.