页:
[1]
| leec1981 | 2005-5-12 10:00 AM |
|
怎样往xml文件中指定的位置写一行?
比如有如下xml文件
<?xml version="1.0" encoding="GBK"?>
<config>
<Properties>
</Properties>
<Selects>
<select id="flowList">
<option value="" text="请选择..." />
<option value="newflow.xml" text="新流程" />
</select>
</Selects>
</config>
我想在</select>前添加一行
<option value="newflow1.xml" text="新流程1" />
我用 FileSystemObject 访问文件
先用OpenTextFile方法打开该文件,然后再用WriteLine写,不知道怎么实现了
谢谢 |
|
| 不知道了..你去下载个ASP的文本留言板看看就知道了.呵呵 |
| leec1981 | 2005-5-13 01:38 AM |
|
| [url]http://community.csdn.net/Expert/topic/3875/3875431.xml?temp=.1713373[/url] |
Powered by Discuz! Archiver 6.1.0
© 2001-2006 Comsenz Inc.
Processed in 0.005854 second(s), 2 queries |