title: XPath query for list of UML class attributes that are not associations
body: <p>I have a UML model developed with Rational Software Architect v9.1.2. I'm crafting a BIRT report with which I would like to show all of the class attributes that are NOT associations. I have the following XPath query:</p>
  
  <pre><code>resolveURI($classURI)/ownedAttribute[not(@association)]
  </code></pre>
  
  <p>This query returns all (2) of the attributes on the sample class <em>EmailAddress</em>, screen shot and xmi model fragment attached.</p>
  
  <p><a href="https://i.stack.imgur.com/yV3wt.png" rel="nofollow"><img src="https://i.stack.imgur.com/yV3wt.png" alt="Diagram Fragment"></a></p>
  
  <p><a href="https://i.stack.imgur.com/z7efz.jpg" rel="nofollow"><img src="https://i.stack.imgur.com/z7efz.jpg" alt="Model XMI fragment"></a></p>
  
  <p>It seems that the association attribute is not recognized. This might be a namespace issue, but I'm not sure. Can anyone offer help?</p>