0

I already have an xml which looks like the below one

<school>
  <data>
      <marks name="Peter"/>
      <marks name="John"/>
  </data>
</school>

I need to write a java code so that the xml is appended with an entry

<marks name="Dave"/>
2

0

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.