[xsd-users] Deleting empty elements

delta42 delta42 at gmail.com
Fri Jan 30 14:03:15 EST 2009


>
> The two versions look very similar but there is a different.
> The original[1] version was checking if the element is empty
> and then processing its children.
>
> The second version[2] first processes element's children
> and then checks if it is empty. This way, if children are
> empty, they will be removed first.
>
>
> [1]
> http://www.codesynthesis.com/pipermail/xsd-users/2009-January/002165.html
> [2]
> http://www.codesynthesis.com/pipermail/xsd-users/2009-January/002174.html
>

Yes! You are right of course, it makes sense to me now. I had not noted the
difference.
Thanks again.



More information about the xsd-users mailing list