In all the places I can find, attributes are enumerated from 0 to nAttr-1, even in the FormatterToXML. So optimization can't be the answer to this.
Maybe a push_front instead of a push_back somewhere...?? ;-) /Rob > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 29, 2003 3:04 PM > To: [email protected] > Subject: Re: Backward attributes ? > > > >Yesterday I needed to use the FormatterToXML to format the DOM to an > >output file (the old formatting I used didn't work > sufficiently well). > >But an odd thing happened: All the attributes of all elements were > >printed out backwards (!). > > Since the order of attributes is not allowed to be significant in XML, > I suppose the routine is putting them out in a way that is fastest to > execute. > .................David Marston >
