0

I have a xml file with following entries, I want to update. I have gone through other related questions but not solving my issue.

<Movie>
    <Name>21</Name>
    <Year>2008</Year>
    <Genre>Drama</Genre>
</Movie>
0

1 Answer 1

1

Go look at this question:

Merging an XML file with a list of changes

I've linked to my answer because it contains a complete example - its probably slightly more complex than you need but still a trivially small number of line and combined with the debugger should give you all the elements (if you'll excuse the pun) you need to solve your problem

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.