Does anyone have any idea on how to remove/add child nodes to an XML through apex code?
For example, i have an XML:
<?xml version="1.0" encoding="UTF-8"?>
<BookTitle>
<Book Title="1st Book"> Book1</Book >
<Book Title="2nd Book"> Book2</Book >
</BookTitle>
Here, i want to add/remove ' <Book Title="3r Book"> Book3</Book >
' dynamically.
Any thoughts or helpful links will be helpful