Qt XmlListModel
Utilice el tipo XmlListModel para crear un modelo de sólo lectura a partir de datos XML. Puede utilizarse como fuente de datos para elementos de vista (como ListView, PathView o GridView) y otros elementos que interactúan con datos del modelo (como Repeater).
Nota: Este modelo no soporta consultas XPath. Soporta simples rutas separadas por barras y, opcionalmente, un atributo para cada elemento.
Para utilizar los tipos de este módulo, impórtelo con la siguiente línea:
import QtQml.XmlListModel
Referencia API
Licencias
Qt Qml XmlListModel está disponible bajo licencias comerciales de The Qt Company. Además, está disponible bajo la Licencia Pública General Reducida de GNU, versión 3, o bajo la Licencia Pública General de GNU, versión 2. Ver Licencias Qt para más detalles.
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.