MULTEXT - Document MQL2. SgmlQL reference/Operators.
Attribute-value set

The operator attr() returns the attribute-value set associated with an element.

Prototype

atvset <-- attr( element )

Example

  • attr(first LANGUAGE within file $myfile);
  • ID="EN"ISO639="en"

    Value of an attribute

    The operator -> returns the value associated with a given attribute of an element.

    Prototype

    atvset <-- element -> name

    Example

  • (first TEXT within file $myfile)->LANG;
  • en
  • (first TEXT within file $myfile)->#FROM;
  • 1.2
  • (first #PCDATA within
    (first DISTRIBUTOR within file $myfile)
    )->#FROM;
  • 1.1.1.2.1.1\1


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

    Copyright © Centre National de la Recherche Scientifique, 1997.