func (t *Tag) Get(index int) *Tag {
	return t.Children[index]
}
Search function used to get an element from the tag's children by it's index.
Takes the index as parameter.
package frongo
func (d *Document) Contains(name string) bool {
	contains := false
	for i := 0; i < len(d.Containers); i++ {
		for j := 0; j < len(d.Containers[i].Tags); j++ {
			if d.Containers[i].Tags[j].HasChild(name, true) {
				contains = true
			}
		}
	}
	return contains
}
func (d *Document) Find(name string) []*Tag {
	var result = make([]*Tag, 0)
	for _, container := range d.Containers {
		for _, tag := range container.Tags {
			result = append(result, tag.Find(name)...)
		}
	}
	return result
}
func (t *Tag) HasChild(name string, recursive ...bool) bool {
	for _, child := range t.Children {
		if child.Tag == name {
			return true
		} else if recursive != nil && recursive[0] {
			if child.HasChild(name, recursive...) {
				return true
			}
		}
	}
	return false
}
func (t *Tag) Find(name string) []*Tag {
	var result []*Tag
	for _, child := range t.Children {
		var subResult []*Tag
		if child.Tag == name {
			result = append(result, child)
		}
		subResult = child.Find(name)
		for _, childResult := range subResult {
			result = append(result, childResult)
		}
	}
	return result
}
func (t *Tag) FindById(id string) *Tag {
	var result *Tag
	for _, child := range t.Children {
		if child.HasAttrValue("id", id) {
			return child
		} else {
			result = child.FindById(id)
			if result != nil {
				return result
			}
		}
	}
	return result
}