filter

5reg

filter

Replaced by different elements for different filter types

Content Model
    filter ::= (type-specific content)
The contents of a `filter` element depend upon the particular type of filter (such as combination filter or filter by basic properties). The specific content model for each filter type is documented on its own reference page; see below for details.
Attributes
Name | Type
`type` | `CDATA`
`typeid` | `NUMBER` (required)

&eltdepver;7.0

## Description

In ®ina; 6.0.1 and earlier, the &xml-filter; element was used to store different types of normal surface filters, and was held within an enclosing &xml-packet-surfacefilter; element. Since ®ina; 7.0, each type of filter now has its own &xml; element, which also serves as the &xml; element for the filter packet. This &xml-filter; element is no longer used.

A &xml-filter; element represents a normal surface filter, used to filter desirable surfaces from a large list.

Different types of filter are available, and the precise &xml-filter; content model differs between filter types. These type-specific content models are individually documented on the following reference pages.

- &xml-filter-combination;

- &xml-filter-properties;

### Parents

The following elements contain `filter`:

- &xml-packet-surfacefilter;

.

### Children

The elements occurring in `filter` depend upon the specific filter type; these are documented on separate reference pages for each filter type (see above).

## Attributes

`type`

- The filter type expressed as a human-readable string. Example types are `Combination filter` and `Filter by basic properties`.

`typeid`

- The filter type expressed as an internal identification code. This will be a non-negative integer.