I am trying to get specific order of XML attribute.
Given
<OKV s="*****" r="*****" a="*****" g="****" m="*****" e="****" d="****" i="****" n="****" v="1"/>
Required :
<OKV v="1" n="****" i="****" d="****" e="****" m="*****" g="****" a="*****" r="*****" s="*****"/>
I am trying to implement in Python.
So far when I am using xml library.
import xml.etree.ElementTree as ET
tree = ET.parse('adhar.xml')
But it keeps read in that format, Please tell how to change the order. As I am reading correctly in internet explorer when opened the file, But getting reversed order while reading the file or see it in Chrome.