求xml的解析办法
有如下的xml格式:
- <DOCUMENT_ELEMENT>
- <Object type="System.Windows.Forms.Form, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="Form1" children="Controls">
- <Object type="System.Windows.Forms.Panel, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="Panel1" children="Controls">
- <Object type="Toolbox.NewComponent.CTextBox, Host, Version=1.0.3712.17237, Culture=neutral, PublicKeyToken=null" name="CTextBox1" children="Controls">
<Property name="Location">353, 77</Property>
<Property name="Size">100, 21</Property>
<Property name="Name">CTextBox1</Property>
<Property name="TableName">2</Property>
<Property name="FieldName" />
<Property name="TabIndex">2</Property>
</Object>
- <Object type="System.Windows.Forms.Button, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" name="Button1" children="Controls">
<Property name="TabIndex">1</Property>
<Property name=&quo
相关问答:
txt 和XML 格式相应
不借助DataSet
导入读取TXT文件
然后直接写入XML(同一文件,不同数据,递增原数据没有被覆盖情况下增加数据.)
教个要点或最好是有个代码提示的
过路好汉 帮个忙撒^^
不会,帮楼主 ......
已知文件1.xml和数据文件db.xml,如何用java编写程序,得出2.xml文件?
1.已知xml文件 1.xml结构如下:
<cs>
<cs name="cs1" details="This is cs1" country="China&q ......
采用DOM 进行解析xml。要求将xml字串插入指定节点作为其子节点
比如:
原xml
<root>
</root>
要插入的xml字串
<a>test</a>
目的xml:
<root>
<a> ......
我在编写一个wince5.0的程序,想实现把PDA上的一个LIST <STRING>类型的数据序列化为XML,然后在PC上的一个webservice拿到这个XML,转化为Dataset,更新PC上的数据库,我想问怎么把XML传给webservice的呢?
......
xml := CreateOleObject('Microsoft.XMLHTTP');
xml.Open('GET','http://www.google.com', False);
xml.Send;
xml.responseText;
使用xml.responseText可以获取网页源码,但是再次 ......