I was trying to insert new data into an existing XML file, but it\'s not working. Here\'s my xml file:
swimming
Actually you made mistakes in two places.
This line should be I think because of the typo, you missed an equal sign. Also
These lines should be
Try now, it should work, Hop this would make some sense