[Solved] Filtering data in XMLListModel
QML and Qt Quick
4
Posts
2
Posters
3.8k
Views
1
Watching
-
Hello,
I want to know how can we filter data in XMLListModel.
Let's say I've following XML file:
@<root>
<file>image1.jpeg<file>
<file>tune.mp3<file>
<file>image2.jpeg<file>
</root>@and I want to fetch all file names which have ".jpeg" extension. XPath defines contains() function to compare strings; is it supported by QML ?