Xport Interface: document::body

Returns a pointer to the body element, if present.

markup* document::body();1st Variety
const markup* document::body() const;2nd Variety

Parameters

none

Returns

A pointer to the body element, if present. If the body element isn't present, returns NULL.

Remarks

This operation is one of the more common operations in document. This operation returns a pointer to the body element, if present in the document, which provides a very convienient way to access markup objects in the body of the document, and to add markup to the body as well. This function can also be called to check or verify that the body element exists.

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.