(ctx *xmlContext)
| 33 | } |
| 34 | |
| 35 | func (l xmlAttributeList) xml(ctx *xmlContext) string { |
| 36 | b := bytes.Buffer{} |
| 37 | for _, a := range l { |
| 38 | b.WriteRune('\n') |
| 39 | b.WriteString(strings.Repeat(ctx.tab, ctx.indent+2)) |
| 40 | b.WriteString(a.xml(ctx)) |
| 41 | } |
| 42 | return b.String() |
| 43 | } |
| 44 | |
| 45 | type xmlAttribute struct { |
| 46 | namespace stringPoolRef |
nothing calls this directly
no test coverage detected