Hi all,

I'd like to handle the error on a "cincluded" pipeline without generating an error for the main pipeline. I mean in case the cinclude has a trouble, i still want the main thing to be rendered and just a "not available " message in replavement of what should be rendered for the cinclude. What should i do? Should be similar to portal coplets.

Regards,
Phil

Sample:
     <map:match pattern="main">
       <map:generate src="main"/>
        <map:transform src="main.xsl"/>    (inside there is a cinclude)
        <map:transform type="cinclude"/>
       <map:serialize/>
     </map:match>

   <map:match pattern="included">
<map:generate src="included.xml"/> <map:serialize/>
       <!-- NOT OK
       <map:handle-errors>
         <map:transform src="stylesheets/system/error2html.xsl"/>
         <map:serialize status-code="500"/>
</map:handle-errors>--> </map:match>

   <!-- This generates an error page globally-->
  <map:handle-errors>
       <map:generate src="notavailable.xml"/>
       <map:serialize/>
  </map:handle-errors>

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

Reply via email to