Revert r37009 -- turns out you can do these structures, it's just very nonobvious. :)
authorBrion Vibber <brion@users.mediawiki.org>
Fri, 4 Jul 2008 22:44:57 +0000 (22:44 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Fri, 4 Jul 2008 22:44:57 +0000 (22:44 +0000)
commitdae4d46723c962b4d4b25cba53706225c49915c9
tree74c5fa86c84227cb3820eb72e9408917c0418fef
parentd2f71aa89f6f75fb4aa084e555ee67392e6234f0
Revert r37009 -- turns out you can do these structures, it's just very nonobvious. :)

An anonymous sub-array allows creating sub-elements in addition to the attributes:
array(
    'attrib1' => 'val1',
    'attrib2' => 'val2',
    array(
        'tag' => 'stuff',
        'tag2' => 'stuff2',
    )
)
includes/api/ApiFormatXml.php