I would like to replace specific values (Not for all elements). Here all are having same Background_color, but i do not want to replace Background_color for only specific one. How can we implement? This is just a sample code.(I would have list of skin names in file for which i should not replace the Background_color)
<Skins>
<skin>
<att name="Name" value="sknLblG3S3" type="String"/>
<att name="WidgetType" value="Label" type="String"/>
<att name="Background_color" value="228,221,213" type="RGB"/>
<skin>
<skin>
<att name="Name" value="name" type="String"/>
<att name="WidgetType" value="Label" type="String"/>
<att name="Background_color" value="228,221,213" type="RGB"/>
<skin>
<skin>
<att name="Name" value="sknLblG3S5" type="String"/>
<att name="WidgetType" value="Label" type="String"/>
<att name="Background_color" value="228,221,213" type="RGB"/>
<skin>
<skins>
XMLthat's often going off in completely the wrong direction anyway, and trying to hack it with regular expressions.