Wiki source for CommandXtype
=====Command xtype=====
====Name====
**xtype** Prints the XDM type of each argument
====Synopsis====
xtype [ [[SerializationOptions serialization options]] ] arg [arg ...]
====Options====
Supports the standard [ [[SerializationOptions serialization options]] ]
xtype prints the XDM type of each argument using [[http://www.xqueryfunctions.com/xq/functx_sequence-type.html functx:sequence-type ]]
Example:
%%
xtype "hi" <[ 1.2 ]> there <[ 1,2,3 ]> <[ <foo/> ]> <[ document{ <bar/> } ]>
%%
Result
%%
xs:string
xs:decimal
xs:string
xs:integer+
element()
document-node()
%%
----
[[Commands]]
[[CategoryCommands]]
====Name====
**xtype** Prints the XDM type of each argument
====Synopsis====
xtype [ [[SerializationOptions serialization options]] ] arg [arg ...]
====Options====
Supports the standard [ [[SerializationOptions serialization options]] ]
xtype prints the XDM type of each argument using [[http://www.xqueryfunctions.com/xq/functx_sequence-type.html functx:sequence-type ]]
Example:
%%
xtype "hi" <[ 1.2 ]> there <[ 1,2,3 ]> <[ <foo/> ]> <[ document{ <bar/> } ]>
%%
Result
%%
xs:string
xs:decimal
xs:string
xs:integer+
element()
document-node()
%%
----
[[Commands]]
[[CategoryCommands]]