我有一个包含字典数组的文件。如何将其读回以将其用作在我的代码中包含这些字典的常规数组?
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>elem1</key>
<string>Hello world</string>
<key>elem2</key>
<string>This is some string</string>
</dict>
</array>
</plist>