I am trying to parse the following XML with Python. I am using:\[code\]thumbnail_tag = dom.getElementsByTagName('media:thumbnail')[0].toxml()\[/code\]This selects the first one. I know I can change the \[code\][0]\[/code\] to \[code\][1]\[/code\] to get the tag with \[code\]yt:name="mqdefault"\[/code\], but is there another way to change the parameter in the statement above (add something to \[code\]media:thumbnail\[/code\])?\[code\]<entry><media:thumbnail url="http://i.ytimg.com/vi/k8J-72MmTGg/default.jpg" height="90" width="120" time="00:01:48.500" yt:name="default" /><media:thumbnail url="http://i.ytimg.com/vi/k8J-72MmTGg/mqdefault.jpg" height="180" width="320" yt:name="mqdefault" /><media:thumbnail url="http://i.ytimg.com/vi/k8J-72MmTGg/hqdefault.jpg" height="360" width="480" yt:name="hqdefault" /></entry><entry><media:thumbnail url="http://i.ytimg.com/vi/k8J-72MmTGg/default.jpg" height="90" width="120" time="00:01:48.500" yt:name="default" /><media:thumbnail url="http://i.ytimg.com/vi/k8J-72MmTGg/mqdefault.jpg" height="180" width="320" yt:name="mqdefault" /><media:thumbnail url="http://i.ytimg.com/vi/k8J-72MmTGg/hqdefault.jpg" height="360" width="480" yt:name="hqdefault" /></entry>\[/code\]