View Single Post
  #1  
Old 03-18-2005, 11:19 AM
nik180 nik180 is online now
Registered User
 
Join Date: 12-16-2004
Posts: 5
Post Replace text within an XML file.

I have two replacements I want to make within an XML file. One replace ment I want to look at something like

<Workspace Name="Random Text" Id="96F45C61-E5F9-4744-926F-76A5A37E008A" SystemName="Workspace" Description="Random Text" PortraitVersion="2.6" MasterFileName="" ReleaseNumber="0" SCC_ProjName="" SCC_AuxProjPath="">

and delete whatever is between quotes uner Release Number="0". The values between quotes always change. The second replacement I want to do is that I want to delete whatever is between two XML tags. This could include multiple lines. What would be the best approach?
Reply With Quote