Title: RE: Backward attributes ?

Agree.

In case you want to satisfy your curiosity. I believe this happens in the FormatterTreeWalker::startNode method. I re-implemented this method because of other reasons and as a side effect, now I get the attributes in the original order.

Hernando

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 29, 2003 9:04 AM
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

Reply via email to