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

attribute is specified

 
 

Return type: Switch
Returns:       A value of true when the attribute has a value; otherwise, false.

Syntax

attribute attribute-name element-qualifier*
  (is | isnt) specified


Purpose

An attribute test that succeeds when the referenced:

The test fails otherwise. Using isnt instead of is reverses the results.

Unlike all other attribute references, no error occurs if the specified attribute does not exist, or was not given a value (since the test does not actually use the value).

If the element-qualifier references an element that does not exist, or if the specified attribute is not declared, the is form of the test always fails, and the isnt form always succeeds.

    Related Syntax
   attribute
 
 
 

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.