occurrence
Full Description
swirl
Syntax
  occurrence element-qualifier*


Purpose

Returns the number of consecutive subelements of the parent of the current element, that have the same element name as the current element. If occurrence is followed by an element qualifier, the specified element is tested instead of the current one.

Inclusions are counted as well as proper subelements.

The following subelements will always have an occurrence of 1:

  • the first subelement of a parent
  • any subelement not of the same element type as its previous sibling
  • a subelement that immediately follows data content.

Copyright © OmniMark Technologies Corporation, 1988-1998.