So I have my documentbuilder and I'm doing this the DOM way. I've managed to get to the point where I have saved the tag I want into a nodelist
NodeList list = doc.getElementsByTagName("myTag");
the xml looks like this
<myTag id="1"/>
but now I want to grab the id number and I can't figure out how to specify which parameter I want to grab. How is this typically done?