// RemoveAttributes remove zero or more Attributer value by their name.
RemoveAttributes remove zero or more Attributer value by their name.
// RemoveAttributes remove zero or more Attributer value by their name .
func (t *Tag) removeAttributes(names ...string) {
	var newAttrs []Attributer
	for j := 0; j < len(t.attributes); j++ {
		attr := t.attributes[j]
		hit := false
		if attr == nil {
			continue
		}
		for i := 0; i < len(names); i++ {
			if names[i] == attr.GetAttribute().Name {
				hit = true
				break
			}
		}
		if !hit {
			newAttrs = append(newAttrs, attr)
		}
	}
	t.attributes = newAttrs
}
func ( t * Tag ) removeAttributes ( names ... string ) { var newAttrs [ ] Attributer for j := 0 ; j < len ( t . attributes ) ; j ++ { attr := t . attributes [ j ] hit := false if attr == nil { continue } for i := 0 ; i < len ( names ) ; i ++ { if names [ i ] == attr . GetAttribute ( ) . Name { hit = true break } } if ! hit { newAttrs = append ( newAttrs , attr ) } } t . attributes = newAttrs }
RemoveAttributes remove zero or more Attributer value by their name.
RemoveAttributes remove zero or more Attributer value by their name .
// TODO: Why is this possible?