xsl-list
[Top] [All Lists]

Re: XSLT 2.0 empty string

2005-02-28 08:53:18

  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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>