Examples using... xml.MarshalIndent()

Recent
MarshalIndent works like Marshal, but each XML element begins on a new indented line that starts with prefix and is followed by one or more copies of indent according to the nesting depth.
Go offers built-in support for XML and XML-like formats with the encoding.xml package.