im tryng to search for a value in an xml and edit it. I can get the first vale but not all of them
'Music composers, loop cast until job is Music Composer. Update value and exit for
For Each p In movieData.<OpenSearchDescription>.<movies>.<movie>.<cast>
If p.<job>.Value = "Original Music Composer" Then
'Music composer
p.<name>.Value = Form1.musicComposerTextBox.Text
Exit For
End If
Next
I can get this string, its the first of 10, but i can only get the first one, how do i loop threw them?
<person name="Wilhelm von Homburg" character="Vigo" job="Actor" id="27585" thumb="" department="Actors" url="http://www.themoviedb.org/person/27585" order="12" cast_id="23" />
Kevin
This post has been edited by deery5000: 05 October 2012 - 03:34 PM

New Topic/Question
Reply



MultiQuote




|