Adding a new pattern You can add a new pattern to an XMLIN configuration in two ways: • Pick the pattern from an XML document sample. • Add the pattern manually. To pick the pattern from a sample 1 Right-click the sample and select Pattern Tool. 2 In the sample, click the node you want to map as pattern. The pattern is added to the Message view. 3 Edit the pattern properties. See Pattern properties. The default match criterion for the pattern depends on the type of node. Elements will have the path to the node as default match criteria. Text nodes, attribute values, comments and processing instructions will also include a condition (predicate) in the match criterion, To add a pattern manually 1 In the Message view, right-click the Message node and select New > Pattern. The pattern is added to the Message view. 2 Edit the pattern properties. See Pattern properties.