# XML attribute ordering

**URL:** <https://forum.kirupa.com/t/xml-attribute-ordering/326442>\
**Category:** flash\
**Created:** [December 14, 2011, 6:30pm UTC](https://forum.kirupa.com/t/xml-attribute-ordering/326442 "2011-12-14T18:30:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SurgicalSteel](https://avatars.discourse-cdn.com/v4/letter/s/c67d28/32.png) [@SurgicalSteel](https://forum.kirupa.com/u/SurgicalSteel)\
**Post date:** [December 14, 2011, 6:30pm UTC](https://forum.kirupa.com/t/xml-attribute-ordering/326442/1 "2011-12-14T18:30:32Z")

</div>

So, I have a flash app generating xml and it seems to just put the attributes for tags in a fairly random order. The problem is that I need them to be in a specific order because of circumstances outside my control. Is there a way to do this while still using the XML object and/or E4X? Or even XMLNode or XMLDocument? I’d really rather not have to resort to working with Strings. Thanks.
