Construct a long
value from an item value.
The following construct(s) refer to this construct:
xs:long(item $value) => long
This is a constructor function that takes an item value as argument and
returns a value of type xs:long
. If the argument is a literal,
then the literal must be a valid lexical form of its type.
As specified in the respective section of the W3C recommendation
XML
Schema Part 2: Datatypes, xs:byte
is a subtype derived
from xs:integer
. Please refer to the section Derived
built-in data types in the Tamino XML Schema User
Guide for information about the supported range of
values.
$value |
item value |
---|
The following queries construct valid values of type
xs:long
:
xs:long(9223372036854775807)
xs:long(-23)
The following query results in an error, since the specified numerical value is out of range:
xs:long(9223372036854775808)