When the data set is larger, the SQLiteDatabasebest option. CRUD operations performed in a database will be much faster than parsing XML files to recover data.
To be more specific, a database has the advantage of SQL as a query language, relational theory as its foundation, and years of supplier optimization.
XML is a bit more than a data format that contains metadata with it. You can serialize it to and from disk, parse it in memory using standard parsers and query using XPath, but it is not configurable or optimized to the same extent as SQL.
XML can be useful as a configuration format or wired protocol or as a simple serialization to disk, but it is not a complete storage technology.
NoSQL (JasDB), . XML .
, XML . , .