Xport Interface: markup::write

Writes the markup object, including any children and descendants, to a file or stream.

virtual void markup::write(
  const formatter& fmtr
);

Parameters

fmtr

A formatter object, which determines the output file or stream, and how the xhtml output will be formatted.

Returns

Nothing.

Remarks

This operation is used to write the markup object to a file or stream. If the markup object is an element, the beginning and ending tags of the element will be written, and also any and all content that the element may contain.

This operation is used internally when calling document::write(). To use this operation, you must first create a formatter object. When creating a formatter object, you specify the output file or stream, and any format options for the output.

Complexity

Constant

Example

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.