func newText(token xml.CharData) *_text { n := newNode(TEXT_NODE) t := &_text{_cdata{n, token.Copy()}} n.self = Node(t) return t }
func newCData(token xml.CharData) *_cdata { n := newNode(CDATA_SECTION_NODE) cd := &_cdata{n, token.Copy()} n.self = Node(cd) return cd }