xsl-list
[Top] [All Lists]

Re: [xsl] how to assign a NULL to a variable?

2007-07-26 08:20:54
In XSLT 1.0 you have 4 datatypes: number, boolean, string and nodeset.

actually there is another, and that is the type that will be returned in
this case (with an xsl:variable with eleemnt content). 
result tree fragment.


Well, yes.  Forgot about that in 1.0 but how would the OP test for a result
tree fragment
for the purposes of signifying "nil" or "null" without incurring a runtime
error, given that the operations
permitted on a result tree fragment are a subset of those permitted on a
node-set?

Justin Johansson

*** A horse with no name is called Lambda ***

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