Subject: Re: [xsl] XSLT 2.0 empty string From: David Carlisle <davidc@xxxxxxxxx> Date: Mon, 28 Feb 2005 15:53:18 GMT |
How should we read the '?' in this case? Convert to string if you can, else don't bother? no it should be read the way ? is read in regex or dtd syntax as 0-or-1 you could also use + or * there, again with their regex or dtd meanings of 0-or-more or 1-or-more. a type of xs:string requires a value that is a string. a type of xs:string? requires a value that is a sequence of 0 or more strings. (as always though, there is no difference between a single string and a sequence of length 1 that contains a string) 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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] XSLT 2.0 empty string, Pawson, David | Thread | RE: [xsl] XSLT 2.0 empty string, Michael Kay |
RE: [xsl] XSLT 2.0 empty string, Pawson, David | Date | RE: [xsl] XSLT 2.0 empty string, Michael Kay |
Month |