here is the rss xml :
Qt Code:
  1. -<rss version="2.0">
  2. -<channel>
  3. -<item>
  4. -<description>
  5. ">or, The Ship Wreck; also A Voyage to Norway; and The Fisherman<p>Author: Agnes Strickland </p>
  6. <p>Language: English </p><p>Published: 1851 </p>
  7. -</description>
  8. -</item>
  9. -</channel>
  10. -</rss>
To copy to clipboard, switch view to plain text mode 

now I want to get the content of <p>

but in the XmlListModel{},the query role is “/rss/channel/item”,I can not using /rss/channel/item/description to get <p>

here is my code :
Qt Code:
  1. import QtQuick 1.0
  2.  
  3. XmlListModel{
  4. id:feedModel
  5. property string currentFeed: "http://www.manybooks.net/rss/ADV.xml"
  6.  
  7. source: currentFeed
  8. query: "/rss/channel/item"
  9. XmlRole { name: "title"; query: "title/string()" }
  10. XmlRole { name: "pubDate"; query: "pubDate/string()" }
  11. XmlRole { name: "cover"; query: "description/string()" }
  12. }
To copy to clipboard, switch view to plain text mode 
How can I get <p> in <description> Thank you very much!

Plaese forgive my poor English!

thanks again!