Reply to: blank or space functionApril 27, 2012 at 9:36 pm
If you are seeing a limitation in another product because of spaces in the XML, and the easiest solution seems to be to remove them (rather than configure or alter this other product to handle them better) then you may consider running the XML through an XSLT to normalize them before it gets there, rather than try to have your authors manually remove them.
In a publishing workflow this is usually quite easy to do (since most publishing systems are already using XSLT). I'm not sure how easy that would be to integrate into the workflow / integration with SDL Teamworks but presumably SDL can help you out.
There are scripting options in XMetaL Author that would allow you to massage the document before saving as well, but I think such a script would need to be fairly specific to the schema you are working with.
If the issue is simply that pretty printing is adding unwanted spaces you could also consider turning it off entirely. That's the quickest fix for pretty printing related issues.