deleteAttrPrefix removes an attribute name space prefix.
(prefix string)
| 395 | |
| 396 | // deleteAttrPrefix removes an attribute name space prefix. |
| 397 | func (p *printer) deleteAttrPrefix(prefix string) { |
| 398 | delete(p.attrPrefix, p.attrNS[prefix]) |
| 399 | delete(p.attrNS, prefix) |
| 400 | } |
| 401 | |
| 402 | func (p *printer) markPrefix() { |
| 403 | p.prefixes = append(p.prefixes, "") |