Hello, I've got some XML data in a variable called dataXML, it looks similar to this...
<addresses> <address building_number="1" /> <address building_number="1a" /> <address building_number="1b" /> <address building_number="2" /> <address building_number="3" /> <address building_number="4" /> <address building_number="4a" /> /<addresses> What I'd like to do is loop round the data and add another attribute called building_numeric which is the parseInt(building_number attribute). I'm sure this is really easy but can someone give me a pointer please... I'm getting a tad lost... Thank you, Nick