QML XmlListView connect 2 Xml files
-
Hi,
I need to connect 2 xml files to produce an XMLListView. The first xml file (users.xml) contains users and language codes (like eng for english) that they are learning. It looks like this:
@
<xml>
<user language="eng">name1</user>
<user language="fra">name2</user>
</xml>@
The second xml file (languages.xml) contains more data on those languages. It looks something like this:
@<xml>
<language code="eng">English</language>
<language code="fra">French</language>
</xml>@
Now in my XmlListView, I would like to show information connecting both these 2 files. In the listview, it would show the user and the name of the language, not its code. But I have no idea how/whether this is possible in QML/Javascript. Can someone help me? Thanks in advance.