Command xtype


Name

xtype Prints the XDM type of each argument

Synopsis

xtype [ serialization options ] [-v] arg [arg ...]


Options

Supports the standard [ serialization options ]


xtype prints the XDM type of each argument using functx:sequence-type
If the -v option is given then the argument is used as a variable name and its type is printed.

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
There are no comments on this page.
Valid XHTML :: Valid CSS: :: Powered by WikkaWiki