xs:Name

Converts $string-var to the Name data type.

If the value of $string-var is the empty sequence the empty sequence is returned. The empty sequence is a sequence containing zero items (), which is similar to null in SQL.

Signatures

xs:Name(xs:string $string-var) —> xs:Name

Arguments

Data Type
Argument
Description

xs:string

$string-var

Represents the string to convert.

Returns

Returns the $string-var converted to the Name data type.

Related Topics

W3C Name data type description