]> Cypherpunks repositories - gostls13.git/commit
xml: support for > in tags
authorGustavo Niemeyer <gustavo@niemeyer.net>
Tue, 18 Jan 2011 20:39:38 +0000 (15:39 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 18 Jan 2011 20:39:38 +0000 (15:39 -0500)
commit3426b80dd9483a25d8d12fa0f39be7686f26c97b
treecad19a03a3aeaebf5691dc64ad876738b0d94373
parent12307008e93ca5ef9dca20f0c4e78d6b9b492b6a
xml: support for > in tags

This introduces support for selecting which subelement
to unmarshal into a given struct field by providing a
nesting path separated by the > character.

R=rsc
CC=golang-dev
https://golang.org/cl/4066041
src/pkg/xml/read.go
src/pkg/xml/read_test.go