protected function addDocumentation($documentation, \SimpleXMLElement $xsdParentNode) { $xsdAnnotation = $xsdParentNode->addChild('xsd:annotation'); $this->addChildWithCData($xsdAnnotation, 'xsd:documentation', $documentation); }