Remove element from all entries

Questions about XML that are not covered by the other forums should go here.
neodjandre
Posts: 4

Remove element from all entries

Sat Jul 22, 2017 1:29 pm

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: 5095

Re: Remove element from all entries

Mon Jul 24, 2017 7:49 am

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

Re: Remove element from all entries

Mon Jul 24, 2017 3:39 pm

ok thanks that works !

Return to “General XML Questions”

Who is online

Users browsing this forum: Bing [Bot] and 3 guests