B.1. Card Markup Language (.cml)

Card Markup Language is an XML based file format. This format is fully supported by Flash Card Master.

If you would like to manually edit the CML files, a document type definition has been written in RelaxNG, available at http://flashcardmaster.sourceforge.net/cardml/1.0/relaxng. If you prefer an XSD schema is also available at http://flashcardmaster.sourceforge.net/cardml/1.0/schema.

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<CardDeck xsi:noNamespaceSchemaLocation="http://flashcardmaster.sourceforge.net/cardml/1.0/schema" 
        <Field index="0" name="Key" type="Key" side="Front" position="Center" />
        <Field index="1" name="Answer" type="Answer" side="Back" position="Center" />
        <Card learned="NotLearned">
            <CardField name="Key">Key</CardField>
            <CardField name="Answer">Answer</CardField>

Example B.1. A sample CML file