|  | 
 | ||||
|        | |||||
|  | |||||
| Related Syntax | |||||
| modifier | of open element | ||||
Syntax
of open-element ( element-name | element-name-list)
An element qualifier that specifies either the current element or an ancestor with a particular element name. It can refer to any element currently open.
The of open element element qualifier must refer to the element by name, and will apply to the innermost element whose name matches. 
In the following XML fragment, when parsing the title element
  <manual>
    <chapter>
      <title>First Chapter</title>
      <p>Introduction paragraph</p>
      <section>
        <title>First Section</title>
        ...
      </section>
    </chapter>
  </manual>
 of open element can refer to elements title, section, chapter or  manual. 
  
do when previous of open element "section" is "p"; when open "section" element occurs after a "p" element ... done
| Related Syntax | 
Copyright © Stilo International plc, 1988-2008.