Is the content always valid XML? It might be better to work with xml if you know the source is always valid xml
Is there variations in the img tag that the code would need to deal with. eg width, height, id, source is the order of that example but the order could change easily. Also the pixels may sometimes be included in quotes and still be valid html.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|