MULTEXT - Document MQL2. SgmlQL reference/Operators.
Element constructor

The element construction operator constructs an element with generic identifier name. Optionally, the element may have the attributes atvset and a content list. Note that list is passed through the shrink() operator before being incorporated as the content of the element.

Prototype

element <-- elementname
[ attr: atvset ]
[ content: list ]

Examples

  • element CNT content: count(top DATE within file $myfile);
  • <CNT>
    11
    </CNT>
  • element CNT
  •   attr:
      {
        TYPE = "DATE",
        N    = count(top DATE within file $myfile)
      }
    ;
    <CNT TYPE="DATE" N="11"></CNT>
    




    | Top | Next | SgmlQL reference | LPL/CNRS | MULTEXT

    Copyright © Centre National de la Recherche Scientifique, 1997.