parent is
Full Description
swirl
Syntax
  parent element-qualifier* (is | isnt) (element-name | element-name-list)


Purpose

A test that checks whether the parent of the qualified element has the specified element-name. Replacing is with isnt will reverse these results.

If no element qualifiers are present, the test always applies to the current element.

The test allows the programmer to specify a parenthesized list of element-names separated by or or |, instead of a single element name. The test succeeds if the reference element is identified by any of the names in this element-name-list.

Copyright © OmniMark Technologies Corporation, 1988-1998.