<include>

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>

 

The path to the grammar file to include. A value is required.

type

public

private

public

The default setting of public retains the private/public visibility of entities in an included XML grammar (included ECR grammars, by definition of a compiled grammar, only contain public entities). Set type to private to hide the included public entities in the file that includes the grammar.