Home | History | Annotate | Download | only in xml

Lines Matching full:startelement

43 	StartElement{Name{"", "body"}, []Attr{{Name{"xmlns", "foo"}, "ns1"}, {Name{"", "xmlns"}, "ns2"}, {Name{"xmlns", "tag"}, "ns3"}}},
45 StartElement{Name{"", "hello"}, []Attr{{Name{"", "lang"}, "en"}}},
49 StartElement{Name{"", "query"}, []Attr{}},
53 StartElement{Name{"", "goodbye"}, []Attr{}},
56 StartElement{Name{"", "outer"}, []Attr{{Name{"foo", "attr"}, "value"}, {Name{"xmlns", "tag"}, "ns4"}}},
58 StartElement{Name{"", "inner"}, []Attr{}},
63 StartElement{Name{"tag", "name"}, []Attr{}},
80 StartElement{Name{"ns2", "body"}, []Attr{{Name{"xmlns", "foo"}, "ns1"}, {Name{"", "xmlns"}, "ns2"}, {Name{"xmlns", "tag"}, "ns3"}}},
82 StartElement{Name{"ns2", "hello"}, []Attr{{Name{"", "lang"}, "en"}}},
86 StartElement{Name{"ns2", "query"}, []Attr{}},
90 StartElement{Name{"ns2", "goodbye"}, []Attr{}},
93 StartElement{Name{"ns2", "outer"}, []Attr{{Name{"ns1", "attr"}, "value"}, {Name{"xmlns", "tag"}, "ns4"}}},
95 StartElement{Name{"ns2", "inner"}, []Attr{}},
100 StartElement{Name{"ns3", "name"}, []Attr{}},
118 StartElement{Name{"", "tag"}, []Attr{}},
191 StartElement{Name{"", "tag"}, []Attr{}},
195 StartElement{Name{"", "tag"}, []Attr{}},
199 StartElement{Name{"", "tag"}, []Attr{}},
203 StartElement{Name{"", "tag"}, []Attr{}},
207 StartElement{Name{"", "tag"}, []Attr{}},
211 StartElement{Name{"", "tag"}, []Attr{}},
215 StartElement{Name{"", "tag"}, []Attr{}},
219 StartElement{Name{"", "tag"}, []Attr{}},
505 if token.(StartElement).Name.Local != "tag" {
506 t.Errorf("Unexpected tag name: %v", token.(StartElement).Name.Local)
508 attr := token.(StartElement).Attr[0]
531 if token.(StartElement).Name.Local != test[1] {
532 t.Errorf("Unexpected tag name: %v", token.(StartElement).Name.Local)
534 attr := token.(StartElement).Attr[0]
558 elt := StartElement{Name{"", "hello"}, []Attr{{Name{"", "lang"}, "en"}}}
561 if tok1.(StartElement).Attr[0].Value != "en" {
565 t.Error("CopyToken(StartElement) != StartElement")
567 tok1.(StartElement).Attr[0] = Attr{Name{"", "lang"}, "de"}