title: ITS rule to translate a XML attribute using namespace
body: <p>I'm trying to use itstool to translate some attributes from a XML file like this one:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;!DOCTYPE dlg:window PUBLIC "-//OpenOffice.org//DTD OfficeDocument1.0//EN" "dialog.dtd"&gt;
  &lt;dlg:window xmlns:dlg="http://openoffice.org/2000/dialog" xmlns:script="http://openoffice.org/2000/script" dlg:id="settings" dlg:left="106" dlg:top="80" dlg:width="283" dlg:height="214" dlg:closeable="true" dlg:moveable="true" dlg:withtitlebar="false"&gt;
  &lt;dlg:bulletinboard&gt;
  &lt;dlg:textfield dlg:id="token" dlg:tab-index="9" dlg:left="48" dlg:top="42" dlg:width="216" dlg:height="40" dlg:multiline="true"/&gt;
  &lt;dlg:text dlg:id="label1" dlg:tab-index="0" dlg:left="5" dlg:top="25" dlg:width="40" dlg:height="14" dlg:value="Save path" dlg:align="right" dlg:valign="center"/&gt;
  &lt;dlg:text dlg:id="label5" dlg:tab-index="7" dlg:left="5" dlg:top="190" dlg:width="40" dlg:height="14" dlg:value="URL" dlg:align="right" dlg:valign="center"/&gt;
  &lt;/dlg:bulletinboard&gt;
  &lt;/dlg:window&gt;
  </code></pre>
  
  <p>The translatable part here is <code>dlg:value</code>.</p>
  
  <p>For now, the rule I tried, that doesn't select any sentence to translate is:</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;its:rules xmlns:its="http://www.w3.org/2005/11/its" version="1.0"&gt;
    &lt;its:translateRule selector="//dlg:text/@value" translate="yes"/&gt;
  &lt;/its:rules&gt;
  </code></pre>
  
  <p>Seems my xpath selector is incorrect here.</p>
  
  <p><strong>EDIT</strong>: The problem seems to come from the namespace <code>dlg</code> here.</p>