Handbook
Glossary
assure-name ( string/name -- name )
XML data types
Prev:
names-match? ( name1 name2 -- ? )
Vocabulary
xml
.
data
Inputs
string/name
a
string
or a
name
Outputs
name
a
name
Word description
Converts a string into an XML
name
, if it is not already a name.
Definition
USING:
kernel
;
IN:
xml.data
:
assure-name
( string/name -- name )
dup
name?
[
<null-name>
]
unless
;