edktool Command-Line Tool > Eduction Parameters > EntityComponentFieldN

EntityComponentFieldN
A comma-separated list of entity components that you want to return as fields.
To use this option you must:
*
set OutputSimpleMatch to false for edktool.
*
set EnableComponents to true for edktool.
*
You configure EntityComponentFieldN in the same was as EntityFieldN. Specify a comma-separated list of entity components that you want to return as fields.
For example, for the following configuration:
Entity0=testgrammar/testentity
EntityField0=FIELD0
EntityComponentField0=Name,Age
And the following data:
name age
geoff 45
jane 54
An entity with the following pattern:
<grammar name="testgrammar">
<entity name="testentity" type="public">
<pattern>name\s+age(\n(?A=Name:\w+)\s+(?A=Age:\d+)){1,}</pattern>
</entity>
</grammar>
Returns the following values as fields:
#DREFIELD Name="geoff"
#DREFIELD Age="45"
#DREFIELD Name="jane"
#DREFIELD Age="54"