title: 'XPath' not 'dsig-xpath:XPath'?
body: <p>How to get 'XPath' not 'dsig-xpath:XPath'  ?</p>
  
  <pre><code>      &lt;ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" Id="SigFrs"&gt;
  &lt;ds:SignedInfo&gt;
    &lt;ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/&gt;
    &lt;ds:SignatureMethod Algorithm="http://www.w3.org/2001/04/xmldsig-more#rsa-sha256"/&gt;
    &lt;s:Reference Id="signatureId" URI=""&gt;
      &lt;ds:Transforms&gt;
        &lt;ds:Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2"&gt;
          &lt;dsig-xpath:XPath xmlns:dsig-xpath="http://www.w3.org/2002/06/xmldsig-filter2" Filter="intersect"&gt;/Root/Element1&lt;/XPath&gt;
          &lt;dsig-xpath:XPath xmlns:dsig-xpath="http://www.w3.org/2002/06/xmldsig-filter2" Filter="intersect"&gt;/Root/Element2&lt;/XPath&gt;
        &lt;/ds:Transform&gt;
      &lt;/ds:Transforms&gt;
      &lt;ds:DigestMethod Algorithm="http://www.w3.org/2001/04/xmlenc#sha256"/&gt;
      &lt;ds:DigestValue&gt;6D+1WZjC....vGidMqCX5uCL1rw=&lt;/ds:DigestValue&gt;
    &lt;/ds:Reference&gt;
  &lt;/ds:SignedInfo&gt;
  </code></pre>
  
  <p>to get like this :</p>
  
  <pre><code>    &lt;ds:Transforms&gt;
        &lt;ds:Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2"&gt;
          &lt;XPath xmlns="http://www.w3.org/2002/06/xmldsig-filter2" Filter="intersect"&gt;/Root/Element1&lt;/XPath&gt;
          &lt;XPath xmlns="http://www.w3.org/2002/06/xmldsig-filter2" Filter="intersect"&gt;/Root/Element2&lt;/XPath&gt;
        &lt;/ds:Transform&gt;
      &lt;/ds:Transforms&gt;
  </code></pre>
  
  <p>This may look like the .jar I imported (xmlsec-2.1.0.jar) ?</p>