[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 <davidc@nag.co.uk>
- To: craig.patterson@police.wa.gov.au
- 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.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered
through the MessageLabs Virus Control Centre. For further information visit
http://www.star.net.uk/stats.asp