<style type="text/css"><![CDATA[css
.kV220 {stroke:rgb(255,0,0);fill:none}ui
.kV22 {stroke:rgb(0,255,255);fill:none}class
.kV110 {stroke:rgb(255,255,0);fill:none}方法
]]></style>co
<g id="617">顏色
<use x="0" y="0" width="28.0" height="36.5" xlink:href="#Disconnector:普通刀閘_0" id="GHB.220.6022_I" commid="GuiH_S.220.6022_I" class="kV22" style="stroke:red"/>connect
</g>
---------------------------------------------------------------------------------
用use,使用class,class="kV22",這是要改變kV22中寫的顏色:stroke:rgb(0,255,255);
正確方法是在use中補寫屬性:style="stroke:red",即:
<use ... commid="GuiH_S.220.6022_I" class="kV22" style="stroke:red"/>
用別的寫法都不行,包括:stroke="red"