Question1Replies147Views×Close popoverNicola Gazzilli (NicolaG10) Reply S.P.A. Consultant Reply S.P.A. IT View Profile NicolaG10 Member since 2018 9 posts Reply S.P.A. Posted: May 6, 2019Last activity: May 27, 2019Posted: 6 May 2019 5:43 EDTLast 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 popoverFacebookTwitterLinkedinEmail Copy Link Copied! Moderation Team has archived post 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 agoPosted: 27 May 2019 2:13 EDT×Close popoverAnuj Kumar Srivastava (reachanuj) PEGA Principal Technical Solutions Engineer Pegasystems Inc. IN View Profilereachanuj PEGA replied to NicolaG10Use the optional keyword for that element. You can find by double-clicking the element and under node tab.