cleaning comment and test
[qwp] / qml / qwp / content / ParseModel.qml
diff --git a/qml/qwp/content/ParseModel.qml b/qml/qwp/content/ParseModel.qml
new file mode 100644 (file)
index 0000000..dca051d
--- /dev/null
@@ -0,0 +1,12 @@
+import QtQuick 1.0
+
+XmlListModel {
+
+    source: "http://"+schModel.from+".wikipedia.org/w/api.php?action=parse&page="+innerTxt.text
+    +"&format=xml"
+    query: "/api/parse"
+
+    XmlRole { name: "article"; query: "text/string()" }
+
+
+}