Handbook
Glossary
<tag> ( name attrs children -- tag )
XML data types
ยป
XML data constructors
Prev:
<xml-chunk> ( seq -- xml-chunk )
Next:
<name> ( space main url -- name )
Vocabulary
xml
.
data
Inputs
name
an XML tag
name
attrs
an alist of names to strings
children
a
sequence
Outputs
tag
a
tag
Word description
Constructs an XML
tag
with the
name
(not a string) and tag attributes specified in the given
attrs
and
children
.
See also
tag
,
contained-tag
,
<contained-tag>
,
open-tag
Definition
USING:
assocs
kernel
;
IN:
xml.data
:
<tag>
( name attrs children -- tag )
[
assure-name
]
[
T{
attrs
}
assoc-like
]
[
]
tri*
tag
boa
;