The current code strips everything between the > and < brackets. This make exo-csource unusable with glade files, which uses "<node>Test</node>" a lot. Therefore content string should stop when it hits something else that a space/newline/tab. The attached patch works, but only "<node> label<node>" is stripped to "<node>label<node>". This is possible with glade if you use spaces in (for example) a label, but the xml spec says <![CDATA[]]> should be used in this case (or escaping the space). So technically it's glades fault, therefore I've put not effort in fixing this issue (well I did fixed it, but it only makes to code complicated for others' faults). Tested the code with the glade files in xfce4-settings and the dbus xml from thunar produces exactly the same header.
Created attachment 1719 Patch
It would also be nice to do a nano version bump, so we don't break on trunk until the first alpha release. 0.3.7 > 0.7.3.1
Ghehe, 0.3.7.1
Committed in revision 27330.