swirl
Guide to OmniMark 9   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesLegacy LibrariesErrors
 
  Related Syntax   Related Concepts  
operator  

attribute is defaulted

 
 

Return type: Switch
Returns:       A value of true when the attribute is not specified and has its default value; otherwise, false.

Syntax

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


Purpose

An attribute test that succeeds when:

Otherwise, the test fails. Using isnt instead of is reverses the results.

Unlike most other attribute references, no error is generated if the specified attribute does not exist, or was not given a value (since the test doesn't actually use the value).

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

    Related Syntax
 
Related Concepts
 
 

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.