Problem while retrieve data from XML

Currently the XmlListModel is the only element available for reading XML data. This is useful for creating a model from XML data, but does not work well for nested XML list data (since this requires using nested XmlListModels) and also doesn't fit the task if the application only requires some piece of data from the XML, and not a complete model.

so i have a XML File and i want to view it in sequences when the user click the first sub_category just show the item for the first sub_category not for all etc.... for all sub_category ?

Please don't forget to highlight your code blocks with @ tags.
You can do it with mbrasser's suggestion, but I don't think you should stick to QML. in C++-way it will be much more flexible and with better performance (especially if you will have huge xmls).