/**
  * @param string $content
  * @param IdmlElement $element
  * @param IdmlVisitor $producer
  * @param int $depth
  */
 private function nestTabNode($content, $element, $producer, $depth = 0)
 {
     // Increment numFound if delimiter matches the nested style
     if ($this->delimType == 'node') {
         $this->numFound++;
     }
     if ($this->numFound < $this->numTimes || $this->numFound == $this->numTimes && $this->inclusive) {
         $producer->addPageElement('<span class="' . $this->charStyle . '">', $depth);
         $producer->processTab($element, $content, $depth);
         $producer->addPageElement('</span>', $depth);
     } else {
         $producer->processTab($element, $content, $depth);
     }
 }