Element: include
Child Elements: publish
Description: References another Eduction grammar file for inclusion.
Example: <include path="winter_names.ecr" type="private"/>
Attribute |
Value |
Default |
Description |
---|---|---|---|
path
|
<path to the grammar file> |
A value is required. |
|
type
|
public private |
public |
The default setting of public allows entities in included XML grammars to retain their private/public visibility. (Included ECR grammars, by definition of a compiled grammar, only contain public entities.) Setting the type attribute to private hides the included public entities from being visible in the file that includes the grammar. |
|