This didn't seem to work because of some sort of change to PHP's handling of
authorArne Heizmann <timwi@users.mediawiki.org>
Sat, 18 Sep 2004 14:43:19 +0000 (14:43 +0000)
committerArne Heizmann <timwi@users.mediawiki.org>
Sat, 18 Sep 2004 14:43:19 +0000 (14:43 +0000)
commitbfd7fecc0599685c0f880cacb5c535c0bcb9ae27
treecb7eda8704f4fd5b004a23e0a3ad2b6e8ae4ee6a
parent70c59fc8870dec206e43a60d71f49c032b7600bb
This didn't seem to work because of some sort of change to PHP's handling of
references to objects or something. I fixed it by adding elements to their parent
when they are closed, not when they are opened.

Also fixed indentation and stuff like that.
myPrint() now returns string instead of just printing everything.
includes/ParserXML.php