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.
我有一个可以打开和解析的文件,其中一些类别可以修改。我想知道如何使用新值更新原始 Xml 文件。
我假设 XML 文件是一个普通的顺序文件。如果是这样,您可以尝试只更新一个标签,但重写整个文件会更容易、更安全。