Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个XslCompiledTransform用于转换 XML 片段的对象。转换工作正常并将新内容输出到StringBuilder对象。
XslCompiledTransform
StringBuilder
XmlNode用内容创建新内容的最佳方式是什么StringBuilder?
XmlNode
XmlDocument doc = new XmlDocument(); <-- This is an XmlNode doc.LoadXml(sb.ToString());
应该这样做。