func (e *Element) SetParent(node Node) {
	e.parent = node
}
SetParent sets the element parent
package dom
import (
	"bytes"
	"fmt"
)
type Node interface {
	String() string
	Parent() Node
	SetParent(node Node)
	Children() []Node
	AddChild(child Node)
	Clone() Node
}
type Element struct {
	text     string
	parent   Node
	children []Node
}
func NewElement(text string) *Element {
	return &Element{
		text:     text,
		parent:   nil,
		children: make([]Node, 0),
	}
}
func (e *Element) Parent() Node {
	return e.parent
}