XML marshaling line testdata/templates/marshal.qtpl:37
(qw422016 *qt422016.Writer)
| 101 | |
| 102 | //line testdata/templates/marshal.qtpl:37 |
| 103 | func (d *MarshalData) StreamXML(qw422016 *qt422016.Writer) { |
| 104 | //line testdata/templates/marshal.qtpl:37 |
| 105 | qw422016.N().S(`<MarshalData><Foo>`) |
| 106 | //line testdata/templates/marshal.qtpl:39 |
| 107 | qw422016.N().D(d.Foo) |
| 108 | //line testdata/templates/marshal.qtpl:39 |
| 109 | qw422016.N().S(`</Foo><Bar>`) |
| 110 | //line testdata/templates/marshal.qtpl:40 |
| 111 | qw422016.E().S(d.Bar) |
| 112 | //line testdata/templates/marshal.qtpl:40 |
| 113 | qw422016.N().S(`</Bar>`) |
| 114 | //line testdata/templates/marshal.qtpl:41 |
| 115 | for _, r := range d.Rows { |
| 116 | //line testdata/templates/marshal.qtpl:41 |
| 117 | qw422016.N().S(`<Rows><Msg>`) |
| 118 | //line testdata/templates/marshal.qtpl:43 |
| 119 | qw422016.E().S(r.Msg) |
| 120 | //line testdata/templates/marshal.qtpl:43 |
| 121 | qw422016.N().S(`</Msg><N>`) |
| 122 | //line testdata/templates/marshal.qtpl:44 |
| 123 | qw422016.N().D(r.N) |
| 124 | //line testdata/templates/marshal.qtpl:44 |
| 125 | qw422016.N().S(`</N></Rows>`) |
| 126 | //line testdata/templates/marshal.qtpl:46 |
| 127 | } |
| 128 | //line testdata/templates/marshal.qtpl:46 |
| 129 | qw422016.N().S(`</MarshalData>`) |
| 130 | //line testdata/templates/marshal.qtpl:48 |
| 131 | } |
| 132 | |
| 133 | //line testdata/templates/marshal.qtpl:48 |
| 134 | func (d *MarshalData) WriteXML(qq422016 qtio422016.Writer) { |