我有一个包含 4 个不同字符串的 XML 文件,但我无法反序列化该文件。有人可以帮我解决这个问题吗?
我在网上寻找答案,但没有一个有效,我不知道该怎么办。
这是我试图反序列化的 XML 文件:
<?xml version="1.0" encoding="utf-8"?>
<saveData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<strFolder1>1st Location</strFolder1>
<strFolder2>2nd Location</strFolder2>
<strTabName>newTab0</strTabName>
<strTabText>Main</strTabText>
</saveData>