protected function appendMarkupForFieldToContainer($fieldName, $result, $container, $prepend = '', $append = '')
    {
        $span = null;
        $fieldContent = $result['md-' . $fieldName][0]['values'][0];

        if ($fieldContent && $container) {
            $span = $this->doc->createElement('span');
            $span->setAttribute('class', 'pz2-' . $fieldName);
            $span->appendChild($this->doc->createTextNode($fieldContent));

            if ($prepend != '') {
                $container->appendChild($this->doc->createTextNode($prepend));
            }

            $container->appendChild($span);

            if ($append != '') {
                $container->appendChild($this->doc->createTextNode($append));
            }
        }

        return $span;
    }