4 ms·
> 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
by thro1 3y ago
> 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.
- rcade 3y agoXML elements can contain both text and child elements. Character data didn't have to be stored in an attribute to allow outline nesting. <?xml version="1.0" encoding="UTF-8"?> <node> <node> <![CDATA[ Hello I am text ]]> <node> ... </node> <node> ... </node> </node> </node>