title: How to get xml attribute with plsql?
body: <pre><code>create table xtest01(col1 xmltype);
  insert into xtest01 values ('&lt;car&gt;&lt;model&gt;Audi TT&lt;/model&gt;&lt;/car&gt;');
  insert into xtest01 values ('&lt;car model="BMW X5"/&gt;');
  </code></pre>
  
  <p>-- I know how to get Audi TT:</p>
  
  <pre><code>select x.col1.extract('//car/model/text()').getStringVal() from xtest01 x;
  </code></pre>
  
  <p>-- But how to get BMW X5?</p>