Adding a Domain

A domain represents a type of data such as name, address, and phone number data. It consists of a pattern that represents a sequence of one or more tokens in your input data that you commonly need to parse and that you associate with one or more cultures.

This topic describes how to add a domain in Domain Editor when defining a culture-specific parsing grammar.

  1. In Enterprise Designer, go to Tools > Open Parser Domain Editor.
  2. Click the Domains tab.
  3. Click Add.
  4. Type a domain name in the Name field.
  5. Type a description of the domain name in the Description field.
  6. If you want to create a new, empty domain, click OK. If you want to create a new domain based on another domain, do the following:
    1. Select Use another domain as a template if you want to create a new domain based on another domain.
    2. Select a domain from the list. When you click OK in the next step, the new domain will be created. The new domain will contain all of the culture-specific parsing grammars defined in the domain template that you selected.
    3. Click OK.