I have some issues to get the value (true) of the Apple Plist.
I am able to get the string “Authentication” but what ever i tried there is no way to get the boolean of “SettingsValid”. It would be great if you have some tips for me.
q1 := xmlpath.MustCompile("/plist/dict/key[text()='Authentication']/following-sibling::string[1]/text()"
// My XML Demo Data
<?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">
<dict>
<key>FirstKey</key>
<true/>
<key>Authentication</key>
<string>disallowed</string>
<key>SettingsValid</key>
<true/>
</dict>
</plist>