title: How to look up date from a URL with parameters?
body: <p>I am using XSLT to look up data in an external document, which is an XML file from a DSpace URL (<a href="http://papaya.testes.iphan.gov.br/xmlui/search-filter?field=author&amp;rpp=100000&amp;XML" rel="nofollow">link</a>). But I cannot use an URL with parameters in document().</p>
  
  <p>This is my code:</p>
  
  <pre><code>&lt;xsl:param name="myurl"&gt;
    &lt;xsl:text&gt;cocoon://search-filter?field=author&amp;amp;rpp=100000&amp;amp;XML&lt;/xsl:text&gt;
  &lt;/xsl:param&gt;
  &lt;xsl:value-of select="document($myurl)//dri:metadata[@element='contextPath'][not(@qualifier)]"/&gt;
  &lt;xsl:value-of select="document($myurl)//metadata[@element='contextPath'][not(@qualifier)]"/&gt;
  </code></pre>
  
  <p>The log file shows this:</p>
  
  <pre><code>WARN  org.apache.cocoon.components.xslt.TraxErrorListener  - Can not load requested doc: unknown protocol: cocoon at file:///dados-teste/webapps/xmlui/themes/Papaya/lib/xsl/papaya/navigation.xsl:245:78
  </code></pre>
  
  <p>If I use a different URL (without parameters), it does work! For example:</p>
  
  <pre><code>&lt;xsl:param name="myurl"&gt;
    &lt;xsl:text&gt;cocoon://metadata/handle/123456789/1261/mets.xml&lt;/xsl:text&gt;
  &lt;/xsl:param&gt;
  </code></pre>