一.使用最原始的javax.xml.parsers,标准的jdk api // 字符串转XML String xmlStr = \"......\"; StringReader sr = new StringReader(xmlStr); InputSource is = new InputSource(sr); DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance(); DocumentBuilder
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace stringConvertClass { class test { public void Method() { Console.WriteLine("调用成功!"); } public void Method