急急~~~~怎么把2个XML合并为一个?
在VS2008里,怎么把2个XML,XML1.XML和XML2.XML合并为一个Userxml?XML1.XML<?xmlversion="1.0"encoding="U...
在VS2008里,怎么把2个XML,XML1.XML和XML2.XML合并为一个Userxml? XML1.XML <?xml version="1.0" encoding="UTF-8"?> <pets> <pet name="Maximillian" type="pot bellied pig" age="3"> <friend name = "Augustus"/> <frined name = "Nigel"/> </pet> <pet name="Augustus" type="goat" age="2"> <friend name = "Maximillian"/> </pet> <pet name="Nigel" type="chipmunk" age="2"> <friend name = "Maximillian"/> </pet> <pets> XML2.XML <?xml version="1.0" encoding="UTF-8"?> <cat> <cat name="Chader" type="pot bellied pig" age="3"> <partner name = "Lucky"/> <partner name = "Nisom"/> </cat> <cat name="Yamilia" type="chipmunk" age="2"> <partner name = "Chader"/> </cat> <cat name="Suili" type="goat" age="2"> <partner name = "Chader"/> </cat> <cat> 代码应该怎么写呢?要写在哪里的呢?请说下具体的步骤,还有到底应该把代码写道哪里去?谢谢哦~~~ 如有可能,请加453183901,需详细请教。 合并之后,怎么把Userxml保存到oracle的数据库?
展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询