Handbook
Glossary
instruction
XML data types
ยป
XML data classes
Prev:
comment
Next:
unescaped
Vocabulary
xml
.
data
Class description
Represents an XML instruction, such as
<?xsl stylesheet='foo.xml'?>
. Contains one slot,
text
, which contains the string between the question marks.
See also
<instruction>
Definition
USING:
strings
;
IN:
xml.data
TUPLE:
instruction
{
text
string
initial:
""
}
;
Methods
USING:
accessors
io
xml.data
xml.writer
;
M:
instruction
write-xml
"<?"
write
text>>
write
"?>"
write
;