@page card_database_schema_and_parsing Card Database Schema and Parsing

# Card Database Schemas

Cockatrice uses `XML files` to store information of available cards to be used in the app (`cards.xml`).  
The token file follows the schema of the card database (`tokens.xml`), too.

Saved decks (`<deckname>.xml`) use a different schema.

- [XSD Schema for `Card Databases`](https://github.com/Cockatrice/Cockatrice/blob/master/doc/carddatabase_v4/cards.xsd) <kbd>v4</kbd>
- [XSD Schema for `Decks`](https://github.com/Cockatrice/Cockatrice/blob/master/doc/deck.xsd) <kbd>v1</kbd>


# Card Database Parsing

TODO
