Handbook
Glossary
public-id
XML data types
ยป
XML data classes
Prev:
system-id
Next:
doctype-decl
Vocabulary
xml
.
data
Class description
Describes the class of public identifiers within an XML DTD directive, such as
<!DOCTYPE open-hatch
PUBLIC '-//Textuality//TEXT Standard open-hatch boilerplate//EN' 'http://www.textuality.com/boilerplate/OpenHatch.xml'
>
See also
<public-id>
Definition
USING:
strings
;
IN:
xml.data
TUPLE:
public-id
{
pubid-literal
string
initial:
""
}
{
system-literal
string
initial:
""
}
;
Methods
USING:
accessors
io
kernel
xml.data
xml.writer
xml.writer.private
;
M:
public-id
write-xml
"PUBLIC"
write
bl
[
pubid-literal>>
write-quoted
bl
]
[
system-literal>>
write-quoted
]
bi
;