packer-cn/vendor/github.com/masterzen/simplexml/dom/namespace.go

11 lines
154 B
Go
Raw Normal View History

package dom
type Namespace struct {
Prefix string
Uri string
}
func (ns *Namespace) SetTo(node *Element) {
node.SetNamespace(ns.Prefix, ns.Uri)
}