> but it was a bad design decision to store long blocks of HTML inside XML attributes instead of XML elements.
not at all - it's that what allows the simplest structure for nesting of outline elements.
An <outline> is an XML element, possibly containing one or more attributes, and containing any number of <outline> sub-elements.