Improved XML encoding performance.
Replaced string appends with bytes.Buffer. Performance now scales linearly even to very large XML docs with greater than 480,000 nodes.
Replaced string appends with bytes.Buffer. Performance now scales linearly even to very large XML docs with greater than 480,000 nodes.