MULTEXT - Document MQL2. SgmlQL reference/Operators.

Replace... within

The operator replace... within returns a copy of the SGML element given as argument in which all the sub-elements corresponding to selection have been replaced by query.

Prototype:

list <-- replace selection within element by query

list
<-- replace selection as varname within element by query [ where boolean ]

The second variant returns only elements for which boolean is TRUE. Varname is a variable which is mapped to each visited node, and which can be used in boolean.

Selection follows the syntax and specifications explained for the within operator.

Examples:




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

Copyright © Centre National de la Recherche Scientifique, 1997.