encoding/xml: add MarshalIndent and move the example
An unindented XML example is hard to follow. MarshalIndent allows moving the example over to a test file (and fixing it). R=golang-dev, r, gustavo, r, rsc CC=golang-dev https://golang.org/cl/5674050
Showing
Please register or sign in to comment