Quote:
I just started using XML as a database
Your first mistake is XML is NOT a database. It is an eXtensible Markup Language used to format data for transmission or temporary storage. It has no query capabilities at all.
Quote:
XML Database Format
Again, there's no such thing.
If you want query capability, you'll have to use either some wrapper around the XML data that implements this, such as "LINQ to XML" (Google it) or use an actual database engine and store your data in there, like SQL Server Local Db or SQL Server Express.