Handbook
Glossary
entity-decl
XML data types
ยป
XML data classes
Prev:
attlist-decl
Next:
system-id
Vocabulary
xml
.
data
Class description
Describes the class of element declarations, like
<!ENTITY foo 'bar'>
.
See also
<entity-decl>
Definition
USING:
kernel
strings
;
IN:
xml.data
TUPLE:
entity-decl
<
directive
{
name
string
initial:
""
}
{
def
string
initial:
""
}
{
pe?
boolean
initial:
f
}
;
Methods
USING:
accessors
io
kernel
namespaces
xml.data
xml.writer
xml.writer.private
;
M:
entity-decl
write-xml
"<!ENTITY "
write
[
pe?>>
[
" % "
write
]
when
]
[
name>>
write
" \""
write
]
[
def>>
f
xml-pprint?
[
write-xml
]
with-variable
"\">"
write
]
tri
;