title: DB2 Selecting a specific XML content with XMLQUERY
body: <p>This is a sample XML. In this XML i want to select the name "Marc Intes" but i am having problems with it.</p>
  
  <pre><code>&lt;Person Name="Marc Intes"&gt;
  </code></pre>
  
  <p>Here is how i did my query, this XML document is under the column named GUEST.</p>
  
  <pre><code>XMLQUERY('$GUEST/Person@Name')
  </code></pre>
  
  <p>But it is giving me an error saying:</p>
  
  <pre><code>SQL16002N  An XQuery expression has an unexpected token "@" following 
  "ST/Person". Expected tokens may include: "". Error QName=err:XPST0003.  
  SQLSTATE=10505
  </code></pre>
  
  <p>Where did i go wrong? I am really confused right now.</p>