Replacing XML Tags

Get help with installation and running here.

Moderators: DataMystic Support, Moderators, DataMystic Support, Moderators, DataMystic Support, Moderators

Post Reply
Posts: 1
Joined: Fri Feb 17, 2006 5:36 am

Replacing XML Tags

Post by dblaze »

Hi All,

I need to insert a fixed string of characters before the actual tag value in an XML file. Here's what I want to do:

<anothertag />

needs to look like:

<cmn:anothertag />

I need the 'cmn:' inserted after the < or </ and before tag name. The / in the ending tag is causing me the trouble.

Any suggestions?

User avatar
DataMystic Support
Site Admin
Posts: 2227
Joined: Mon Jun 30, 2003 12:32 pm
Location: Melbourne, Australia

Post by DataMystic Support »

Search for perl pattern


Replace with

Post Reply