R
roundlight
Unregistered / Unconfirmed
GUEST, unregistred user!
我现在想利用 delphi 编辑XML文件,创建XML格式文件,并增加节点,写入值;注意写入的值有可能是多行的。下面列举一个XML格式文档的例子; <SMSOpenRequest ID="OPENSUB2009080401350107"> <OpenSubscriber IdentyNo="33068119810333414" CustomerName="gunag" ContactName="guang" Phone="88986531" Mobile="13588760846" AccountName="guang" BalanceAmount="1000" SubscriberName="guang" CustomerLevel="4"> <ResSubscription RsProduct="5821" ResNo="022034589211347890" RsStatus="1" RsJoinDate="20090807" RsActiveDate="20090807" RsInActiveDate="20190101" /> <ProdSubscription SevProduct="1001" SevStatus="1" SevJoinDate="20090807" SevActiveDate="20090807" SevInActiveDate="20190101" LimitAmount="0" /> <ProdSubscription SevProduct="3015" SevStatus="1" SevJoinDate="20090807" SevActiveDate="20090807" SevInActiveDate="20190101" LimitAmount="0" /> </OpenSubscriber> </SMSOpenRequest>如上所述,按照指定的格式,编辑字段,把字段对应具体的值即可; 估计这个会比较麻烦,希望高手给与帮助,谢谢;