XmlListModel and Xml Role problem.
-
Hai, I have work out with XmlRoleModel before and it running well.
But I have change the query path to suite my Xml file, but it close unexpectedly finished.
My file is as below :
Xml :
<plist version="1.0">
<dict>
<key>Kuala Lumpur</key>
<key>Penang</key>
<key>Selangor</key>
<key>Kelantan</key>
</dict>
</plist>XmlListModel {
id: model1
property bool loading: status == XmlListModel.Loadingsource: "http://appsfactory.my/client/canonmsia2/android/fws/academy.php"
query: "/plist/dict/key"
XmlRole { name: "location"; query:"string()" }
}In this case, I would like to get all key data but it close unexpected.
May I know is there any solution to solve it?? -
-
May I ask what is the point of kaspersky related to my post??
-
@wilson_chan as I said in previous posts what I did is : click on the link of your post and then Kaspersky AntiVirus, reported that there was a trojan installed, the trojan was deleted and started scanning etc.. also kaspersky found phising urls which I will not post here.