In the xml_writer.sqc the Borders element does not get closed if there are no other styles called after xml_style_border.
If I get setup for cvs here I could submit the change, but I'm not sure how you like to control your code (who do you add as developers).
The fix is to add a call to xml_style_border_end within the if statement in xml_finalize_style.
Since these changes are also in the file I'm sending, I might as well comment on them...
I made a small change to add UTF-8 encoding (we use ENG and CFR). This could easily be a parameter or other call, but I don't think it's a property that needs changing after initial setup. I modified the string directly. I would suggest that you simply leave the UTF-8 line as an example and document how to change it.
Added a new function xml_switch_file allows you to switch to another xml file to allow outputting to several xml files (assuming they are all initialized properly).
I don't have an updated manual. I'll try to send one later if you want.
Great job! I'll see what I can do to contribute some enhancements. I see some good ideas on the forum and I know we're using the SQR portion more and more here.
modified version of sqc
I apologize, this file doesn't have the completed implimentation for using multiple files. The fix for the defect reported here does work though, and is in the file that has been uploaded.
Also, the character encoding was to change from UTF-8 to ISO-8859-1 which we required to get french characters working (wouldn't work with default UTF-8).
Since the enhancement didn't really belong with the defect I'll post the proper file as a patch (2451231). Hopefully you will be able to merge it into a future release.
Hopefully this cleared up any confusion. My head must have been in the clouds.