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

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.