|
Xport's pcdata
type alias, (and other aliases typed from
xhtml_pcdata), encapsulates xhtml PCDATA, or parsable character data.
Like element
, comment
, and procinstr
, pcdata
type is derived from markup. Although it's possible to call many of markup's
operations on a pcdata
object,
most of those operations in markup
apply only to element
, and calling them on pcdata
will not perform any
action.
pcdata's
constructor allows you to specify the text content. More text can be added to the pcdata
object using pcdata's
<<
operation.
The type alias that you use for your pcdata
depends on two factors. The document type you wish to use, and the character type you wish to use.
The list below reveals the available type aliases for Xport's
pcdata
.
There are only a few operations that are relevant to call on pcdata
, which are listed below.