element-decl
XML data types > XML data classes
Prev:unescaped
Next:attlist-decl


Vocabulary
xml.data

Class description
Describes the class of element declarations, like <!ELEMENT greeting (#PCDATA)>.

Definition
USING: strings ;

IN: xml.data

TUPLE: element-decl < directive
{ name string initial: "" }
{ content-spec string initial: "" } ;


Methods
USING: accessors xml.data xml.writer xml.writer.private ;

M: element-decl write-xml
"ELEMENT" [ content-spec>> ] write-decl ;