Hello, I'm not sure why that matters to you but you should be aware that the attributes of an element are an unordered set [1]. Applications that process the XML you write should not be depending on the order of attributes.
Thanks. [1] http://www.w3.org/TR/xml-infoset/#infoitem.element Michael Glavassevich XML Technologies and WAS Development IBM Toronto Lab E-mail: mrgla...@ca.ibm.com E-mail: mrgla...@apache.org Aachin Chalana <aachinchal...@gmail.com> wrote on 01/15/2014 01:02:20 AM: > From: Aachin Chalana <aachinchal...@gmail.com> > To: c-users@xerces.apache.org, > Date: 01/15/2014 01:03 AM > Subject: Regarding auto sorting of attributes > > Hello, > > I am working on a writer implementation using xerces c++ library. > > Currently all the attributes I add are getting sorted. I am not able to > prevent this auto sorting. > > Please help if there is a workaround available. > > Thanks in advance ! > > - > Aachin