我想替换特定值(不适用于所有元素)。这里所有人都有相同的 Background_color,但我不想只为特定的一个替换 Background_color。我们该如何实施?这只是一个示例代码。(我将在文件中有皮肤名称列表,我不应该为其替换 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>