Xport pcdata: pcdata overview

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.

xhtml_pcdata's type aliases.
  • pcdata - xhtml strict, narrow character (default).
  • wpcdata - xhtml strict, wide character
  • tpcdata - xhtml transitional, narrow character
  • wtpcdata - xhtml transitional, wide character
  • fpcdata - xhtml frameset, narrow character
  • wfpcdata - xhtml frameset, wide character

There are only a few operations that are relevant to call on pcdata, which are listed below.

Work Time Studio

Datasoft Solutions is proud to present their landmark product, Work Time Studio. Utilizing the tree container library, Work Time Studio provides unparalleled features in personal time, project and task management software. If you're looking for a way to increase your productivity, visit Work Time Studio's product website, and start being more productive today.