public function startValueElement($name, $value, $attributes = array())
{
$this->checkStartValueElement($name);
$this->xmlWriter->startElement($name);
foreach ($attributes as $attributeName => $attributeValue) {
$this->xmlWriter->startAttribute($attributeName);
$this->xmlWriter->text($attributeValue);
$this->xmlWriter->endAttribute();
}
$this->xmlWriter->text($value);
}