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

preparent is

 
 

Return type: Switch
Returns:       Returns true if the given preparent is an ancestor of the element, false otherwise. Replacing is with isnt will reverse the results.

Syntax

preparent element-qualifier* (is | isnt) namespace-modifier? (element-name | element-name-list)


Purpose

A test that checks to see whether a specified element has a preparent (ancestor of a parent) with a given element-name. In other words, it answers the question: Is the given preparent an ancestor of the specified element?

In OmniMark 8, you can specify the name dynamically by using the identity operator (~) followed by a string expression.

    Related Syntax
   ancestor is
   element
   parent 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.