Remove element from all entries

Questions about XML that are not covered by the other forums should go here.
neodjandre
Posts: 4
Joined: Sat Jul 22, 2017 1:26 pm

Remove element from all entries

Post by neodjandre »

Newbie Q: I have an XML file with about 2,000

Code: Select all

<element></element>
tags.

Inside each element there is an

Code: Select all

<html> content... </html>
tag.

I wish to delete the

Code: Select all

<html> content... </html>
nodes in all elements simultaneously.

How could I do this please?

thanx
Andrew
Radu
Posts: 9055
Joined: Fri Jul 09, 2004 5:18 pm

Re: Remove element from all entries

Post by Radu »

Hi Andrew,

If you are using Oxygen 17 or newer in the Oxygen Tools main menu there is an XML Refactoring tool which has lots of possibilities to batch change a set of XML documents, including a Delete element contents action.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
neodjandre
Posts: 4
Joined: Sat Jul 22, 2017 1:26 pm

Re: Remove element from all entries

Post by neodjandre »

ok thanks that works !
Post Reply