Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to remove elements/attributes from XML using Xpath in XSLT ??

880194Aug 29 2011 — edited Feb 26 2020
Hello ,

Is there anyway or method of Xpath from which I can delete the elements and attributes from XML at runtime ??

Like I have such XML and I have to remove per attribute highlighted below
<person per="and">
<e:emp a="ir" b="ad" >
</e:emp>
</person>

And want a result like this

<person>
<e:emp a="ir" b="ad" >
</e:emp>
</person>

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 27 2011
Added on Aug 29 2011
3 comments
1,239 views