xsl-list
[Top] [All Lists]

RE: XSLT 2.0 empty string

2005-02-28 09:06:26

Is the error XT0570?

[ERR XT0570] It is a type error if the supplied value of a 
variable cannot be converted to the required type.

Yes. 

How should we read the '?' in this case?
 Convert to string if you can, else don't bother?

The ? is part of the type. It means that the value (after atomization) must
either be a string, or nothing (an empty sequence).

Michael Kay
http://www.saxonica.com/



--~------------------------------------------------------------------
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>