Question 1 Replies 162 Views × Close popover Nicola Gazzilli (NicolaG10) Reply S.P.A. Consultant Reply S.P.A. IT View Profile Send Message NicolaG10 Member since 2018 9 posts Reply S.P.A. Posted: May 6, 2019 Last activity: May 27, 2019 Posted: 6 May 2019 5:43 EDT Last activity: 27 May 2019 2:13 EDT Closed How can I remove a specific element from an XML? Hello, I have this XML: <form_ext> <form name="nameA">A</form> <form name="nameB">B</form> </form_ext> How can I remove the element <form name="nameA">A</form> from it? I need to add an element too if not present. I want to obtain this: <form_ext> <form name="nameB">B</form> <field>1</field> </form_ext>I have done a Java method, but is possible to do with PEGA too? Thanks in advance. Low-Code App Development Data Integration × Close popover Facebook Twitter Linkedin Email Copy Link Copied! Moderation Team has archived post, learn more × Close popover This thread is closed to future replies. Content and links will no longer be updated. If you have the same/similar Question, please write a new Question. Posted: 1 year ago Posted: 27 May 2019 2:13 EDT × Close popover Anuj Kumar Srivastava (reachanuj) PEGA Lead Technical Specialist Pegasystems Inc. IN View Profile Send Message reachanuj PEGA replied to NicolaG10 Use the optional keyword for that element. You can find by double-clicking the element and under node tab.