JDOM - lowercasing all attribute names

Bolleno

New Member
I need to parse an XML, and change all the attribute names to lowercase using JDOM. Is there a nice way to do this?So if I have:\[code\]<record ID="1" name="Dom" /><record iD="2" nAmE="Bob" />\[/code\]it becomes:\[code\]<record id="1" name="Dom" /><record id="2" name="Bob" />\[/code\]
 
Back
Top