How three separate and independent descriptors
are presented as one
The AME presents the Field Counts and OIA
descriptor as one descriptor (see Description tab).
However, in fact each of the three parts of the Field Counts and OIA
descriptor on the Description tab corresponds
to a separate and independent descriptor in the underlying XML macro
language. Specifically:
The Number of Fields setting is
stored as a <numfields> descriptor.
The Number of Input Fields setting
is stored as a <numinputfields> descriptor.
The Wait for OIA to Become Uninhibited setting
is stored as an <oia> descriptor.
Table 1. Three types of <description>
element descriptors
Type of descriptor:
Number of this type of descriptor
allowed per macro screen (that is, per <description> element):
<oia>
1 (required)
<numfields>
1 (optional)
<numinputfields>
1 (optional)
As Three types of <description>
element descriptorsshows,
only one of each type of these descriptors can occur in a <description>
element. The <oia> descriptor is required, but the <numfields>
descriptor and the <numinputfields> descriptor are optional. The
macro editor enforces these rules.
For example, look at a Field Counts and OIA
descriptor first as it appears on the Description tab
of the AME and then in the source view. Description tab shows a Field Counts and OIA descriptor
on the Description tab. The settings
of the three parts of the Field Counts and OIA descriptor are set
as follows:
Number of Fields: 80
Number of Input fields: 3
Wait for OIA to Become Uninhibited: true
But if you look at
the corresponding <description> element in the source view, you
see the following:
Figure 1. A <description> element with
three descriptors
The XML code fragment in A <description> element with
three descriptors shows
that the <description> element contains three separate and independent
descriptors, each corresponding to one of the three parts of the Field
Counts and OIA descriptor.
Suppose that you change the Field Counts and
OIA descriptor settings to be as follows:
Number of Fields: (blank)
Number of Input fields: (blank)
Wait for OIA to Become Uninhibited: true
Setting the first two
fields to blank tells the AME that these items
are not to be included in the script. If you look again at the corresponding <description>
element in the source view you now see:
The XML code fragment above shows that the <description>
element now contains only one descriptor, an <oia> descriptor corresponding
to the Wait for OIA to Become Uninhibited setting in the Field Counts
and OIA descriptor.
Have feedback?
Google Analytics is used to store comments and ratings. To provide a comment or rating for a topic, click Accept All Cookies or Allow All in Cookie Preferences in the footer of this page.