Xport Interface: element::write

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

virtual void element::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 element object to a file or stream. The beginning and ending tags of the element will be written, and also any and all content that the element may contain, including nested elements.

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.