swirl
Guide to OmniMark 9   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
 
 
 

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

OmniMark 9.1.0 Documentation Generated: September 2, 2010 at 1:51:21 pm
If you have any comments about this section of the documentation, please use this form.

Copyright © Stilo International plc, 1988-2010.