Hello everyone,
I use the Excel Import/Export XML feature (from the developper tab) and i'm encountering an issue with exporting empty data.
I would like to not export a <xs:complexType> when values are empty. So like the <xs:simpleType> exporting behavior.
Here are my reproduction steps :
- Create an .XSD :
Please Login or Register to view this content.
- Import this XSD as XML Source Mapping in Excel.
- Add some data to the mapping table :
excelissue.png- Export to XML : pastebin.com/qPCc76xk (sorry i don't have any permission to publish HTML or URL, so here's the picture of the result)
excelissue2.png- Consate the result: when a <xs:complexType> is empty, my XML will still contain the field whereas (<xs:simpleType>) will disappear correctly
So how to reproduce this behavior for the <xs:complexType>? I have tested several attributes but never got the expected result.
Regards,
Bookmarks