public function marshall($usePreamble = true)
    {
        $out = "";
        $attributes = $this->getAttributes();
        if ($usePreamble) {
            $out .= "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n";
        }
        $out .= "<object classname=\"" . static::$m__sClassName . "\">\n";
        foreach ($attributes as $attribute) {

            $attributeName = $attribute->getName();

            if (MWebfile::isSimpleDatatype($attributeName)) {
                $attribute->setAccessible(true);
                $attributeFieldName = static::getSimplifiedAttributeName($attributeName);
                $out .= "\t<" . $attributeFieldName . "><![CDATA[" . $attribute->getValue($this) . "]]></" . $attributeFieldName . ">\n";
            }
        }
        $out .= "</object>";

        return $out;
    }