<Contents>
<Section Code="" Name="username" DisplayName="用户名">
<Text/>
<Values/>
</Section>
<Section Code="" Name="password" IntID="" EntyID="" DisplayName="">
<Text>数据1</Text>
<Values/>
</Section>
……
</Contents>
将节点名称Section改为Entity
<Contents>
<Entity Code="" Name="username" DisplayName="用户名">
<Text/>
<Values/>
</Entity>
<Entity Code="" Name="password" IntID="" EntyID="" DisplayName="">
<Text>数据1</Text>
<Values/>
</Entity>
……
</Contents>
偶的sql很马马虎虎,查了很久。得到的结论是
“只能先插入Entity节点,把数值和属性从Section复制过了,再删除Section点。”不知道对不对,还有各位能不能写个小例子参考参考,先谢谢啦
继续等。。哎搞C#的还得兼职搞SQL 瓜西西的
直接Replace一下就可以了o(∩_∩)o 哈哈
xml的字串一般30k 。replace不行。提示没缓存区 - -、这个借助java的ssh框架实现了。 哎 SQL都不用写。