swirl
Guide to OmniMark 8   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax    
operator  

open element is

 
 

Return type: Switch
Returns:       Returns true if the element is opened in the set of opened elements, and false otherwise. Replacing is with isnt will reverse the results.

Syntax

open element element-qualifier* (is | isnt) (element-name | element-name-list)


Purpose

An element test that succeeds if a specified element is opened in the set of opened elements. It is equivalent to, but more efficient than, ancestor is combined with the element is test.

Replacing is with isnt will reverse the 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 by a single element name. The test succeeds any of the names in this element-name-list are in the set of opened elements.

    Related Syntax
   ancestor is
   parent is
   preparent is
   element is
 
 
 

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ LEGACY LIBRARIES ] [ ERRORS ]

OmniMark 8.2.0 Documentation Generated: March 13, 2008 at 3:33:48 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2008.