Click here to Skip to main content
15,886,518 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi All,

I have a some XML file, can open them in a Notepad.What I want is to delete some words between two given words. Can you help me on that.

XML
<Media Class="Consumable" DescriptiveName="SH-C1S300G-01-TY" ID="MED000" Status="Available" StockType="text" Dimension="841.89 1252.91"/>
    <ColorantControl Class="Parameter" ID="CC001" Status="Available" ProcessColorModel="None" >
      <ColorantParams>
        <SeparationSpec Name="Black" />
        <SeparationSpec Name="PANTONE 123 C" />
        <SeparationSpec Name="PANTONE 211 C" />
      </ColorantParams>
    </ColorantControl>
    <ColorSpaceConversionParams ID="CPSPCV_00" Class="Parameter" Status="Available" Side="Front">


I need to delete " ColorantControl Class ................./ColorantControl> "
Posted
Comments
Tomas Takac 26-Jun-15 4:15am    
So you basically want to remove ColorantControl element. What have you tried? Where are you stuck?
deepankarbhatnagar 26-Jun-15 5:11am    
PLease explain your query..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900