title: ClearCase config spec selection based on element attribute
body: <p>In a ClearCase config spec, is it possible to select versions based on <b>element</b> attributres (not <b>version</b> attributes)?  For instance:</p>
  
  <pre><code>element * ...{SOME_ELEM_ATTR==SOME_VALUE&amp;&amp;lbtype(MY_LABEL1)}
  </code></pre>
  
  <p>This doesn't work because the last part of the "element" spec is a <i>version-selector</i>, which only looks at version attributes.</p>
  
  <p>What I'm trying to do is partition my files into two or more classes, and have different "element" lines apply to different classes of files.  I tried tagging all the elements in one class with an attribute, but hit a dead end with trying to base the selection on that in the config spec.  The only way I can see to do this sort of thing is to put all the files of one class in one place and use the second construct (the "pattern") to differentiate:</p>
  
  <pre><code>element .../all_class1_files/... MY_LABEL1
  </code></pre>
  
  <p>but this is really ugly because you have to move all the files of one class into one place, or have a giantic config spec listing all the individual directories and/or files.</p>
  
  <p>Thanks in advance...</p>
  
  <p>Ray</p>