怎么能将下面的xml读取到delphi中,我想根据下面的值,按照一定条件复制多个(100分)

  • 主题发起人 zhaoxiaoying
  • 开始时间
Z

zhaoxiaoying

Unregistered / Unconfirmed
GUEST, unregistred user!
<?xml version=&quot;1.0&quot;
encoding=&quot;UTF-8&quot;?>
<alarmSystemdo
cumentType=&quot;itemQueue&quot;>
<alarmItem>
<basicInfor state=&quot;enabled&quot;>
<alarmName>1</alarmName>
<information>
</information>
<fileName>
</fileName>
<language>simpchn</language>
<corpPk>1022</corpPk>
<dataSource>nc3</dataSource>
<accountPk>0001AA10000000039Z4R</accountPk>
</basicInfor>
<alarmType>
<typeName>凭证大额发生预警</typeName>
<description>凭证大额发生预警</description>
<belongTo>GL</belongTo>
<plug-in>nc.bs.gl.alert.VoucherAlert</plug-in>
<condition>
<variable editType=&quot;Integer&quot;
meaning=&quot;报警天数&quot;
referName=&quot;&quot;
referValue=&quot;&quot;
variableName=&quot;预警天数&quot;>
</variable>
<variable editType=&quot;Reference&quot;
meaning=&quot;凭证类别&quot;
referName=&quot;凭证类别&quot;
referValue=&quot;&quot;
variableName=&quot;凭证类别&quot;>
</variable>
<variable editType=&quot;Reference&quot;
meaning=&quot;会计科目&quot;
referName=&quot;会计科目&quot;
referValue=&quot;&quot;
variableName=&quot;科目&quot;>
</variable>
<variable editType=&quot;Reference&quot;
meaning=&quot;基础档案资源列表&quot;
referName=&quot;基础档案资源列表&quot;
referValue=&quot;&quot;
variableName=&quot;辅助核算类型&quot;>
</variable>
<variable editType=&quot;Character&quot;
meaning=&quot;辅助核算编码&quot;
referName=&quot;&quot;
referValue=&quot;&quot;
variableName=&quot;辅助核算&quot;>
</variable>
<variable editType=&quot;Character&quot;
meaning=&quot;借贷方向&quot;
referName=&quot;&quot;
referValue=&quot;&quot;
variableName=&quot;借贷方向&quot;>
</variable>
<variable editType=&quot;Double&quot;
meaning=&quot;金额范围起始&quot;
referName=&quot;&quot;
referValue=&quot;&quot;
variableName=&quot;最低金额&quot;>1.0</variable>
<variable editType=&quot;Double&quot;
meaning=&quot;金额范围结束&quot;
referName=&quot;&quot;
referValue=&quot;&quot;
variableName=&quot;最高金额&quot;>111.0</variable>
</condition>
</alarmType>
<alartTime timeType=&quot;immediate&quot;>
</alartTime>
<alarmMethod>
<logingIn state=&quot;inUse&quot;>
</logingIn>
<Email state=&quot;fobidden&quot;>
</Email>
<realEmail state=&quot;fobidden&quot;>
</realEmail>
<trigger state=&quot;fobidden&quot;>
</trigger>
<platform state=&quot;inUse&quot;>
</platform>
<invoke state=&quot;fobidden&quot;>
</invoke>
<button state=&quot;fobidden&quot;>
</button>
<phoneNote state=&quot;inUse&quot;>
<account accountName=&quot;ly01&quot;>0001AA100000000001NU</account>
</phoneNote>
</alarmMethod>
</alarmItem>
<alarmItem>
<basicInfor state=&quot;enabled&quot;>
<alarmName>代办费预警2</alarmName>
<information>代办费预警2</information>
<fileName>Alart</fileName>
<language>simpchn</language>
<corpPk>1003</corpPk>
<dataSource>nc3</dataSource>
<accountPk>0001AA10000000039Z68</accountPk>
</basicInfor>
<alarmType>
<typeName>凭证大额发生预警</typeName>
<description>凭证大额发生预警</description>
<belongTo>GL</belongTo>
<plug-in>nc.bs.gl.alert.VoucherAlert</plug-in>
<condition>
<variable editType=&quot;Integer&quot;
meaning=&quot;报警天数&quot;
referName=&quot;&quot;
referValue=&quot;1&quot;
variableName=&quot;预警天数&quot;>3</variable>
<variable editType=&quot;Reference&quot;
meaning=&quot;凭证类别&quot;
referName=&quot;凭证类别&quot;
referValue=&quot;记帐凭证&quot;
variableName=&quot;凭证类别&quot;>0001AA100000000074X5</variable>
<variable editType=&quot;Reference&quot;
meaning=&quot;会计科目&quot;
referName=&quot;会计科目&quot;
referValue=&quot;代收话费&quot;
variableName=&quot;科目&quot;>1003AA10000000000DJW</variable>
<variable editType=&quot;Reference&quot;
meaning=&quot;基础档案资源列表&quot;
referName=&quot;基础档案资源列表&quot;
referValue=&quot;&quot;
variableName=&quot;辅助核算类型&quot;>
</variable>
<variable editType=&quot;Character&quot;
meaning=&quot;辅助核算编码&quot;
referName=&quot;&quot;
referValue=&quot;&quot;
variableName=&quot;辅助核算&quot;>
</variable>
<variable editType=&quot;Character&quot;
meaning=&quot;借贷方向&quot;
referName=&quot;&quot;
referValue=&quot;双向&quot;
variableName=&quot;借贷方向&quot;>
</variable>
<variable editType=&quot;Double&quot;
meaning=&quot;金额范围起始&quot;
referName=&quot;&quot;
referValue=&quot;&quot;
variableName=&quot;最低金额&quot;>100.0</variable>
<variable editType=&quot;Double&quot;
meaning=&quot;金额范围结束&quot;
referName=&quot;&quot;
referValue=&quot;&quot;
variableName=&quot;最高金额&quot;>5000.0</variable>
</condition>
</alarmType>
<alartTime timeType=&quot;immediate&quot;>
</alartTime>
<alarmMethod>
<logingIn state=&quot;inUse&quot;>
<account accountName=&quot;hsiaonan&quot;>0001AA10000000006915</account>
<account accountName=&quot;rock&quot;>0001AA10000000008890</account>
</logingIn>
<Email state=&quot;inUse&quot;>
<account accountName=&quot;rock&quot;>0001AA10000000008890</account>
</Email>
<realEmail state=&quot;fobidden&quot;>
</realEmail>
<trigger state=&quot;fobidden&quot;>
</trigger>
<platform state=&quot;inUse&quot;>
</platform>
<invoke state=&quot;fobidden&quot;>
</invoke>
<button state=&quot;fobidden&quot;>
</button>
<phoneNote state=&quot;fobidden&quot;>
</phoneNote>
</alarmMethod>
</alarmItem>
<alarmItem>
<basicInfor state=&quot;enabled&quot;>
<alarmName>代办费预警</alarmName>
<information>代办费预警</information>
<fileName>Alart1</fileName>
<language>simpchn</language>
<corpPk>0001</corpPk>
<dataSource>nc3</dataSource>
<accountPk>
</accountPk>
</basicInfor>
<alarmType>
<typeName>凭证大额发生预警</typeName>
<description>凭证大额发生预警</description>
<belongTo>GL</belongTo>
<plug-in>nc.bs.gl.alert.VoucherAlert</plug-in>
<condition>
<variable editType=&quot;Integer&quot;
meaning=&quot;报警天数&quot;
referName=&quot;&quot;
referValue=&quot;1&quot;
variableName=&quot;预警天数&quot;>3</variable>
<variable editType=&quot;Reference&quot;
meaning=&quot;凭证类别&quot;
referName=&quot;凭证类别&quot;
referValue=&quot;记帐凭证&quot;
variableName=&quot;凭证类别&quot;>0001AA100000000074X5</variable>
<variable editType=&quot;Reference&quot;
meaning=&quot;会计科目&quot;
referName=&quot;会计科目&quot;
referValue=&quot;广告费&quot;
variableName=&quot;科目&quot;>0001AA10000000009RNV</variable>
<variable editType=&quot;Reference&quot;
meaning=&quot;基础档案资源列表&quot;
referName=&quot;基础档案资源列表&quot;
referValue=&quot;&quot;
variableName=&quot;辅助核算类型&quot;>
</variable>
<variable editType=&quot;Character&quot;
meaning=&quot;辅助核算编码&quot;
referName=&quot;&quot;
referValue=&quot;&quot;
variableName=&quot;辅助核算&quot;>
</variable>
<variable editType=&quot;Character&quot;
meaning=&quot;借贷方向&quot;
referName=&quot;&quot;
referValue=&quot;双向&quot;
variableName=&quot;借贷方向&quot;>
</variable>
<variable editType=&quot;Double&quot;
meaning=&quot;金额范围起始&quot;
referName=&quot;&quot;
referValue=&quot;&quot;
variableName=&quot;最低金额&quot;>0.0</variable>
<variable editType=&quot;Double&quot;
meaning=&quot;金额范围结束&quot;
referName=&quot;&quot;
referValue=&quot;&quot;
variableName=&quot;最高金额&quot;>400000.0</variable>
</condition>
</alarmType>
<alartTime timeType=&quot;immediate&quot;>
</alartTime>
<alarmMethod>
<logingIn state=&quot;inUse&quot;>
<account accountName=&quot;rock&quot;>0001AA10000000008890</account>
<account accountName=&quot;hsiaonan&quot;>0001AA10000000006915</account>
</logingIn>
<Email state=&quot;fobidden&quot;>
</Email>
<realEmail state=&quot;fobidden&quot;>
</realEmail>
<trigger state=&quot;fobidden&quot;>
</trigger>
<platform state=&quot;inUse&quot;>
</platform>
<invoke state=&quot;fobidden&quot;>
</invoke>
<button state=&quot;fobidden&quot;>
</button>
<phoneNote state=&quot;fobidden&quot;>
</phoneNote>
</alarmMethod>
</alarmItem>
<alarmItem>
<basicInfor state=&quot;enabled&quot;>
<alarmName>代办费预警222</alarmName>
<information>代办费预警</information>
<fileName>adfadsfadsf</fileName>
<language>simpchn</language>
<corpPk>1005</corpPk>
<dataSource>nc3</dataSource>
<accountPk>0001AA10000000039Z6M</accountPk>
</basicInfor>
<alarmType>
<typeName>GL-00000009</typeName>
<description>GL-00000009</description>
<belongTo>GL</belongTo>
<plug-in>nc.bs.gl.alert.VoucherAlert</plug-in>
<condition>
<variable editType=&quot;Integer&quot;
meaning=&quot;GL-00000001&quot;
referName=&quot;&quot;
referValue=&quot;1&quot;
variableName=&quot;预警天数&quot;>
</variable>
<variable editType=&quot;Reference&quot;
meaning=&quot;GL-00000002&quot;
referName=&quot;凭证类别&quot;
referValue=&quot;记帐凭证&quot;
variableName=&quot;凭证类别&quot;>0001AA100000000074X5</variable>
<variable editType=&quot;Reference&quot;
meaning=&quot;GL-00000003&quot;
referName=&quot;会计科目&quot;
referValue=&quot;短期投资跌价准备&quot;
variableName=&quot;科目&quot;>1005AA10000000000EY2</variable>
<variable editType=&quot;Reference&quot;
meaning=&quot;GL-00000004&quot;
referName=&quot;基础档案资源列表&quot;
referValue=&quot;&quot;
variableName=&quot;辅助核算类型&quot;>
</variable>
<variable editType=&quot;Character&quot;
meaning=&quot;GL-00000005&quot;
referName=&quot;&quot;
referValue=&quot;&quot;
variableName=&quot;辅助核算&quot;>
</variable>
<variable editType=&quot;Character&quot;
meaning=&quot;GL-00000006&quot;
referName=&quot;&quot;
referValue=&quot;双向&quot;
variableName=&quot;借贷方向&quot;>
</variable>
<variable editType=&quot;Double&quot;
meaning=&quot;GL-00000007&quot;
referName=&quot;&quot;
referValue=&quot;&quot;
variableName=&quot;最低金额&quot;>3000.0</variable>
<variable editType=&quot;Double&quot;
meaning=&quot;GL-00000008&quot;
referName=&quot;&quot;
referValue=&quot;&quot;
variableName=&quot;最高金额&quot;>
</variable>
</condition>
</alarmType>
<alartTime timeType=&quot;immediate&quot;>
</alartTime>
<alarmMethod>
<logingIn state=&quot;fobidden&quot;>
</logingIn>
<Email state=&quot;fobidden&quot;>
</Email>
<realEmail state=&quot;fobidden&quot;>
</realEmail>
<trigger state=&quot;fobidden&quot;>
</trigger>
<platform state=&quot;inUse&quot;>
</platform>
<invoke state=&quot;fobidden&quot;>
</invoke>
<button state=&quot;fobidden&quot;>
</button>
<phoneNote state=&quot;fobidden&quot;>
</phoneNote>
</alarmMethod>
</alarmItem>
<alarmItem>
<basicInfor state=&quot;enabled&quot;>
<alarmName>测试用</alarmName>
<information>adsfasfd</information>
<fileName>aadfadf</fileName>
<language>simpchn</language>
<corpPk>1005</corpPk>
<dataSource>nc3</dataSource>
<accountPk>0001AA10000000039Z6M</accountPk>
</basicInfor>
<alarmType>
<typeName>GL-00000009</typeName>
<description>GL-00000009</description>
<belongTo>GL</belongTo>
<plug-in>nc.bs.gl.alert.VoucherAlert</plug-in>
<condition>
<variable editType=&quot;Integer&quot;
meaning=&quot;GL-00000001&quot;
referName=&quot;&quot;
referValue=&quot;1&quot;
variableName=&quot;预警天数&quot;>
</variable>
<variable editType=&quot;Reference&quot;
meaning=&quot;GL-00000002&quot;
referName=&quot;凭证类别&quot;
referValue=&quot;记帐凭证&quot;
variableName=&quot;凭证类别&quot;>0001AA100000000074X5</variable>
<variable editType=&quot;Reference&quot;
meaning=&quot;GL-00000003&quot;
referName=&quot;会计科目&quot;
referValue=&quot;代销商品款&quot;
variableName=&quot;科目&quot;>1005AA10000000000EZK</variable>
<variable editType=&quot;Reference&quot;
meaning=&quot;GL-00000004&quot;
referName=&quot;基础档案资源列表&quot;
referValue=&quot;&quot;
variableName=&quot;辅助核算类型&quot;>
</variable>
<variable editType=&quot;Character&quot;
meaning=&quot;GL-00000005&quot;
referName=&quot;&quot;
referValue=&quot;&quot;
variableName=&quot;辅助核算&quot;>
</variable>
<variable editType=&quot;Character&quot;
meaning=&quot;GL-00000006&quot;
referName=&quot;&quot;
referValue=&quot;双向&quot;
variableName=&quot;借贷方向&quot;>
</variable>
<variable editType=&quot;Double&quot;
meaning=&quot;GL-00000007&quot;
referName=&quot;&quot;
referValue=&quot;&quot;
variableName=&quot;最低金额&quot;>2000.0</variable>
<variable editType=&quot;Double&quot;
meaning=&quot;GL-00000008&quot;
referName=&quot;&quot;
referValue=&quot;&quot;
variableName=&quot;最高金额&quot;>
</variable>
</condition>
</alarmType>
<alartTime timeType=&quot;immediate&quot;>
</alartTime>
<alarmMethod>
<logingIn state=&quot;fobidden&quot;>
</logingIn>
<Email state=&quot;fobidden&quot;>
</Email>
<realEmail state=&quot;fobidden&quot;>
</realEmail>
<trigger state=&quot;fobidden&quot;>
</trigger>
<platform state=&quot;inUse&quot;>
</platform>
<invoke state=&quot;fobidden&quot;>
</invoke>
<button state=&quot;fobidden&quot;>
</button>
<phoneNote state=&quot;fobidden&quot;>
</phoneNote>
</alarmMethod>
</alarmItem>
</alarmSystem>
 

冰力不足

Unregistered / Unconfirmed
GUEST, unregistred user!
LoadFromXML
 
J

Johnny_du

Unregistered / Unconfirmed
GUEST, unregistred user!
用XMLMapper
 
Z

zhaoxiaoying

Unregistered / Unconfirmed
GUEST, unregistred user!
loadfromxml我并不能把它分出来啊,我不想直接文本操作,我想直接能把这些内容转换到库表里面,另外xmlmapper怎么用啊
 
M

muhx

Unregistered / Unconfirmed
GUEST, unregistred user!
<?xml version=&quot;1.0&quot;
encoding=&quot;UTF-8&quot;?>应该改为
<?xml version=&quot;1.0&quot;
encoding=&quot;GB2312&quot;?>
自己使用XMLDocument解析吧
 
顶部