Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Search and Replace XML?

search and replace xml



11:17 am on Mar 9, 2006 (gmt 0)


What I want to do, is to replace the value of a variable that is common to around 30 XML files, resetting it to 0. The problem is that the original value varies from file to file, so a normal search and replace operation doesn't work. I am not sure how to use regular expressions, I have had no luck with them...

This is the line that I want to edit:
<variable name="numproduce[0]" size="1">12</variable>
This line is the same for all the files I need to edit, except for the value "12". Like I said earlier, I need to reset all these to 0 accross all the files. I am trying to use Dreamweaver to do this.


Featured Threads

Hot Threads This Week

Hot Threads This Month