marshal.go
func Marshal(n tree.Node, w io.Writer) error {
	return marshal(n, w)
}
func Marshal(n tree.Node, w io.Writer) error {
	return marshal(n, w)
}
//Marshal prints the result tree, r, in XML form to w.