public function ezodfFetchOONode( $getParams, $getOptions, $postParams, $postOptions )
    {
        $nodeID = $getParams['nodeID'];
        $languageCode = $getOptions['languageCode'];

        // Alex 2008/04/16 - Added format argument: 'odt' (default), 'doc'
        $format = $getOptions['format'];

        $node = eZContentObjectTreeNode::fetch( $nodeID, $languageCode );

        if ( !$node )
        {
            throw new Exception( 'Could not fetch node: ' . $nodeID );
        }

        $domDocument = new DOMDocument( '1.0', 'utf-8' );
        $ooElement = $domDocument->createElement( 'OONode' );

        // Add node information.
        $ooElement->appendChild( $this->createTreeNodeDOMElement( $domDocument, $node ) );

        // Add binary data element.
        // Alex 2008/04/16 - Added format argument: 'odt' (default), 'doc'
        switch ( $format )
        {
            case 'doc':
                $ooElement->appendChild( $this->createDocDOMElement( $domDocument, $node ) );
                break;

            case 'odt':
                $ooElement->appendChild( $this->createOODOMElement( $domDocument, $node ) );
                break;
        }

        return $ooElement;
    }