|
|||||
operator |
status is |
Return type: Switch
Returns: True or false.
Syntax
Status of last subelement? element-qualifier* (is | isnt) (proper | inclusion)
This operator determines why an element was allowed in a document. If the specified element doesn't exist, the test fails.
If the status of the specified element is:
proper
, the element indicated by the element-qualifiers is either the document element or a proper subelement.
inclusion
, the element has been permitted by an inclusion exception.
If the of last subelement
phrase is included, then the test is performed on the last sub-element of the specified element. Otherwise, the test is performed on the specified element itself.
If the specified element does not exist, the test fails. This is not an error.
Copyright © Stilo International plc, 1988-2008.