[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using XSLT to verify the existence of a URL
- From: David Carlisle <firstname.lastname@example.org>
- To: email@example.com
- Date: Fri, 06 Apr 2001 08:58:10 +0100
> Is this possible in XSLT?
unfortunately not in general.
If an XML document can't be located at the URI then an XSL processor is
_allowed_ to return an empty node set, which is good as you can test for
that. But it is also allowed to raise an error (which isn't so
good). Some processors (eg saxon) have options to control how they
behave in response to these errors where the XSLT spec says that
recovery is possible.
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit