[xsl] document() function - friendly error message when load fails

Subject: [xsl] document() function - friendly error message when load fails
From: Ovidiu Cotarlea <ovidiucotarlea@xxxxxxxxx>
Date: Mon, 15 Jan 2007 15:42:28 +0100 (CET)
1. Hi, Is there any way to catch the error that the
xslt function 
document() it's throwing when the resource specified
by the uri is not 
found?
My XML is rendered into HTML directly by Internet
Explorer 6 (MSXML 
3.0).
It seems that the MSXML 3.0 in this case is not
returnig an empty 
node-set and it prefers the error message.

2. Did anyone tried to use <msxsl:script>   
</msxsl:script> to check 
if the resource is available?

Thanks,
Coti




		
___________________________________________________________ 
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de

Current Thread