[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] is () a node or an atomic?


Subject: [xsl] is () a node or an atomic?
From: Andrew Welch <andrew.j.welch@xxxxxxxxx>
Date: Mon, 3 Oct 2011 11:40:42 +0100

More empty sequence 'fun':

What is the base type of (), is it a node or an atomic, or something else?

I can specify empty-sequence() as the sequence type:

<xs:variable name="foo" select="()" as="empty-sequence()"/>

...but its not mentioned in the type hierarchy:

http://www.w3.org/TR/xquery-operators/#datatypes



-- 
Andrew Welch
http://andrewjwelch.com


Current Thread