Xport Interface: procinstr overview

Xport's procinstr type alias, (and other aliases typed from xhtml_processing_instruction), encapsulates an xhtml processing instruction.

Like element, pcdata, and comment, procinstr is derived from markup. Although it's possible to call many of markup's operations on a procinstr object, most of those operations in markup apply only to element, and calling them on procinstr will not perform any action.

procinstr's constructor allows you to specify the processing instruction's text content. More text can be added to the procinstr object using procinstr's << operation.

The type alias that you use for your procinstr 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 procinstr.

xhtml_procinstr's type aliases.
  • procinstr - xhtml strict, narrow character (default).
  • wprocinstr - xhtml strict, wide character
  • tprocinstr - xhtml transitional, narrow character
  • wtprocinstr - xhtml transitional, wide character
  • fprocinstr - xhtml frameset, narrow character
  • wfprocinstr - xhtml frameset, wide character

There are only a few operations that are relevant to call on procinstr, 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.