请教一个XML问题
<?xml version="1.0" standalone="yes"?><AlarmPrivtypes>
<AlarmPrivtype1 name="告警类型">
<Case AlarmTypeID="3" AlarmTypeName="通讯异常" PrivCount="2" />
</AlarmPrivtype1>
<AlarmPrivtype2 name="告警时间">
<Case TimeID="5" TimeName="5s" PrivCount="1" />
</AlarmPrivtype2>
<AlarmPrivtype3 name="告警级别">
<Case AlarmLevelID="15" AlarmLevelName="一般告警" PrivCount="9" />
</AlarmPrivtype3>
<AlarmPrivtype4 name="设备类型">
<Case DeviceTypeID="1" DeviceTypeName="1" PrivCount="22" />
</AlarmPrivtype4>
</AlarmPrivtypes>
请问怎样读取“AlarmTypeName”的所有数据