Well, I don’t think this is a solvable problem, and my initial question was a little inappropriate. The problem is not related to zeros, although they are related, as with how the table was originally created. If you use the xsd file to create the tables that you plan to export, something happens under the hood in Access, which forces these fields to be processed somewhat differently than fields created using editors.
The only solution I found was to create a new field in the table, rename the old field, copy the data from the old field to the new field and delete the old field.
After that, empty fields in which there was data at one point are no longer included in the XML output. This is probably not the best way to do this, and I still don't know exactly why this is happening, but at least I can solve this problem.
anopres
source share