homepage Welcome to WebmasterWorld Guest from 54.166.84.82
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
Forum Library, Charter, Moderator: open

WYSIWYG and Text Code Editors Forum

    
Search and Replace XML?
search and replace xml
Anessen

10+ Year Member



 
Msg#: 1406 posted 11:17 am on Mar 9, 2006 (gmt 0)

Hello

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.

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / WYSIWYG and Text Code Editors
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved