containedInElement

Answer the Element inside which this DocumentPosition resides.

Return

The Element containing this DocumentPosition.

Parameters

document

The Document containing this DocumentPosition.