By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,466 Members | 1,309 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,466 IT Pros & Developers. It's quick & easy.

Need help with updating XML file

P: n/a
Hi,
I am using an xml bound to a datalist to display photos in a gallery. XML
file is generated and then bound to the datalist. What i want to do is edit
the captions for the photos by clicking Edit in the datalist and then
update. My file looks like the snippet below. For example i want to just
update the caption for the first photo. Any help is greatly appreciated. XML
is not my forte.
<Photos>

<Photo>

<PhotoID>1</PhotoID>

<Caption></Caption>

<FileName>DSC00067.jpg</FileName>

<FilePath>~/photos/Stills/DSC00067.jpg</FilePath>

<ThumbnailFilePath>~/photos/Stills/thumbnails/DSC00067.jpg</ThumbnailFilePath>

</Photo>

<Photo>

<PhotoID>2</PhotoID>

<Caption></Caption>

<FileName>DSC00068.jpg</FileName>

<FilePath>~/photos/Stills/DSC00068.jpg</FilePath>

<ThumbnailFilePath>~/photos/Stills/thumbnails/DSC00068.jpg</ThumbnailFilePath>

</Photo>

</Photos>
Jul 24 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.