Generate

This command generates an uncompiled XML source file from a plain text file.

The plain text file must contain a list of headwords that you want to use to create a single entity. You cannot include patterns, synonyms, scoring, and so on in the plain text file.

The generate command creates a headword from each line in the plain text file. It ignores whitespace and blank lines. You can include comment lines (a line beginning with //). Edktool skips these comment lines when it generates the XML grammar.

edktool g -i <inputfile>

The following table describes the parameters for this command.

-i <inputfile>

The plaintext grammar file to process. This file must contain one potential match on each line.

-e <entity>

The name of the entity to create (the resulting XML grammar file contains a single entity). If you do not specify a name, the entity is given a default name based on the name of the input file.

You can use wildcard expressions in this parameter. See Wildcard Expressions in edktool.

-o <outputfile>

The output file name.