OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using XSLT to verify the existence of a URL

> 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