Hi,
Is it possible to handle error when an external resource is not available? This is what i tried for now without success:
<map:match pattern="foo">
<map:act type="resource-exists">
<map:parameter name="url" value="http://www.foo.org"/>
<map:generate type="html" src="http://www.foo.org">
<map:serialize type="xhtml"/> </map:act>
<map:generate src="notavailable.xml"/>
<map:serialize type="xml"/> </map:match>
.....
<map:handle-errors>
<map:transform src="common/style/xsl/html/error2html.xsl"/>
<map:serialize type="html" status-code="500"/>
</map:handle-errors>
Regards,
Phil
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
