Re: [xsl] XSLT 2.0 empty string: Summary?

Subject: Re: [xsl] XSLT 2.0 empty string: Summary?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 2 Mar 2005 10:15:38 GMT
  If I can get past the DC math filter without reprimand, 

sorry not today...

  I think his point that the {}  empty set is a member of 
  any set was the Ah-ha moment for me.
  That's what  allows the as="xs:string?" to succeed rather than
  report the error.
 
The empty set isn't a _member_ of every set.
{} isn't a member of {1,2,3} for example.
It is a member of {{}} though (the set with one member, the empty set)
It is a _subset_ of every set.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread