Changes between Version 15 and Version 16 of Doc/panc/dml/functions


Ignore:
Timestamp:
May 15, 2007, 2:34:50 PM (17 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Charles Loomis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/panc/dml/functions

    v15 v16  
    138138
    139139This function checks if the ”variable expression” (see delete function) corresponds to an existing
    140 element.  ''''Note that this function processes its argument in a non-standard way.  The function only checks to see if the element identified by the variable expression exists.  It does not check the actual value of the element.  Consequently, this function will return true for any element including 'null' and 'undef' values.''''
     140element.  ''Note that this function processes its argument in a non-standard way.  The function only checks to see if the element identified by the variable expression exists.  It does not check the actual value of the element.  Consequently, this function will return true for any element including 'null' and 'undef' values.''
    141141
    142142=== exists( path:string ) : boolean ===
    143143
    144 This function checks if the path corresponds to an existing element.  ''''Note that if the argument is a variable expression it will be interpreted as a call to exists( arg:variable) and will not read the value of the variable.''''  For example, the following DML code:
     144This function checks if the path corresponds to an existing element.  ''Note that if the argument is a variable expression it will be interpreted as a call to exists( arg:variable) and will not read the value of the variable.''  For example, the following DML code:
    145145{{{
    146146v = '/some/absolute/path';
     
    156156=== exists( template:string ) : boolean ===
    157157
    158 This function checks if the given template exists.  ''''Note that this function processes its arguments in a non-standard way.  The argument must be a bare template name; the template must not be specified by a string.''''
     158This function checks if the given template exists.  ''Note that this function processes its arguments in a non-standard way.  The argument must be a bare template name; the template must not be specified by a string.''
    159159
    160160=== first( arg:resource, key:identifier, value:identifier ) : boolean ===