Exemple #1
0
func attValU64(xn *xmlx.Node, name string) (val uint64) {
	if val = xn.Au64(ns, name); val == 0 {
		if val = xn.Au64("", name); val == 0 {
			val = xn.Au64("*", name)
		}
	}
	return
}
Exemple #2
0
func xau64(xn *xmlx.Node, name string) (v uint64) {
	if v = xn.Au64(xmlns, name); v == 0 {
		if v = xn.Au64("", name); v == 0 {
			v = xn.Au64("*", name)
		}
	}
	return
}