Yes, that's the way it should work. Are you sure you have it declared as in 2.0.4 it was not added by default. Furthermore XSLTC must be configured in cocoon.xconf. Search for XSLTC in recent 2.0 cocoon.xconf:
http://cvs.apache.org/viewcvs.cgi/*checkout*/cocoon-2.0/src/webapp/WEB-INF/cocoon.xconf?content-type=text%2Fplain&rev=1.5
and copy this component declaration.


Joerg

On 08.01.2004 11:44, [EMAIL PROTECTED] wrote:

Hi,
(I'm running cocoon-2.0.4)
can't I declare new components in a sub-sitemap and use a default component from the main sitemap? Just like in :


  <!-- sub sitemap -->
  <map:sitemap xmlns:...>
    <map:components>
      <map:transformers default="xsltc">
       <map:transformer name="cinclude" src="..."/>
      </map:transformers>
      ...
    </map:components>
    ...
  </map:sitemap>

where "xsltc" generator has been declared in the main sitemap.
the error is : "ComponentSelector could not access the Component for hint [xsltc]


thanks


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



Reply via email to