Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #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
  #2  
Old 03-18-2005, 06:07 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
The attached sample shows one way.
Attached Files
File Type: bld replace_xml.bld (1.6 KB, 1628 views)
Reply With Quote
  #3  
Old 03-25-2005, 10:09 AM
nik180 nik180 is online now
Registered User
 
Join Date: 12-16-2004
Posts: 5
Thank You. Worked great.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 07:12 PM.


Copyright © 1999-2023 Kinook Software, Inc.