I noticed that whenever an element of an XML
document is removed by means of an XUpdate remove command, blank spaces are left
in place of the removed element.
My application does lots of XUpdate removes and
appends on medium sized XML docs. As I result I will end up with large
documents containing lots of spaces.
For example, assuming this is the original XML
doc:
<doc>
<elem1>xxxx</elem1>
<elem2>xxxx</elem2>
</doc>
After removing elem2 and adding elem3 this is how that doc would look like
after exporting it to a flat text file:
<doc>
<elem1>xxxx</elem1>
<elem2>xxxx</elem3>
</doc>
For relatively static documents, it's not a problem.
But even for small docs, if they are extensively through a similar process,
they might grow too large, unnecessarily.
Could this be considered a bug and be properly fixed?
Or is there a straightforward workaround?
Thanks a lot,
jlerm |
- Re: XML growth after repeated XUpdate commands jcplerm
- Re: XML growth after repeated XUpdate commands Murray Altheim
- Re: XML growth after repeated XUpdate commands jcplerm
- Re: XML growth after repeated XUpdate commands Murray Altheim
- Re: XML growth after repeated XUpdate comm... jcplerm
- Re: XML growth after repeated XUpdate... Murray Altheim