Name
SPVM::Eg::Node::DocumentType - DocumentType in JavaScript
Description
The Eg::Node::DocumentType class in SPVM represents a node containing a doctype.
This class is a port of DocumentType in JavaScript.
Usage
my
$dt
= Eg->document->implementation->create_document_type(
"svg:svg"
,
"-//W3C//DTD SVG 1.1//EN"
,
);
my
$name
=
$dt
->name;
Inheritance
Fields
name
has name : ro string;
Retunrs the type of the document.
For details, see DocumentType.name in JavaScript.
public_id
has public_id : ro string;
Retunrs a formal identifier of the document.
For details, see DocumentType.publicId in JavaScript.
system_id
has system_id : ro string;
Retunrs the URL of the associated DTD.
For details, see DocumentType.systemId in JavaScript.
Copyright & License
Copyright (c) 2024 Yuki Kimoto
MIT License