Hi,

I've got problems with the cocoon-protocol used inside the document-function, e.g.:

<xsl:variable
  name="show-cover"
  select="document('cocoon:/config')/config/cover/@show"
/>

The intention is to fetch a dynamically produced configuration-parameter generated by the following pipeline:

    <map:pipeline>
      <map:match pattern="config">
        <map:generate src="config/cv_config_default.xml"/>
        <map:transform src="stylesheets/config.xsl">
          <map:parameter name="use-request-parameters" value="true"/>
        </map:transform>
        <map:serialize/>
      </map:match>
    </map:pipeline>

The strange thing is, that the construction works on one implementation (cocoon 2.1.3 on tomcat 4.1) and doesn't work on a parallel testserver (cocoon 2.1.7 on tomcat 5.0.27). The url is - as shown above - relative, and there are no changes to the sitemap, affected files etc. nor to the directory structure around the affected sitemap.

The above config-pipeline itself works, but when invoked from inside the document-function doesn't produce any results - or maybe isn't found at all.

Has anyone an idea what causes the problem?

Thank you

Jens Reufsteck
--
Hobsons GmbH
Wildunger Straße 6
60487 Frankfurt am Main
Deutschland

Tel: +49 (69) 255 37-140
Fax: +49 (69) 255 37-159

http://www.hobsons.de
http://www.hobsons.ch

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to