Name

SPVM::Eg::Node::ProcessingInstruction - ProcessingInstruction in JavaScript

Description

The Eg::Node::ProcessingInstruction class in SPVM represents a node containing a doctype.

This class is a port of ProcessingInstruction in JavaScript.

Usage

my $pi = Eg->document->implementation->create_processing_instruction(
  "xml-stylesheet",
  'href="mycss.css"',
);

my $target = $pi->target;

Inheritance

Eg::Node

Fields

target

has target : ro string;

Returns the application to which the ProcessingInstruction is targeted.

For details, see ProcessingInstruction.target in JavaScript.

Copyright & License

Copyright (c) 2024 Yuki Kimoto

MIT License