protected function addDocumentation($documentation, \SimpleXMLElement $xsdParentNode)
    {
        $xsdAnnotation = $xsdParentNode->addChild('xsd:annotation');
        $this->addChildWithCData($xsdAnnotation, 'xsd:documentation', $documentation);
    }
protected function addDocumentation($documentation, \SimpleXMLElement $xsdParentNode)
    {
        $xsdAnnotation = $xsdParentNode->addChild('xsd:annotation');
        $this->addChildWithCData($xsdAnnotation, 'xsd:documentation', $documentation);
    }
protected function addDocumentation ( $ documentation , \ SimpleXMLElement $ xsdParentNode ) { $ xsdAnnotation = $ xsdParentNode -> addChild ( 'xsd:annotation' ) ; $ this -> addChildWithCData ( $ xsdAnnotation , 'xsd:documentation' , $ documentation ) ; }
Add documentation XSD to a given XML node

@param string $documentation Documentation string to add.
@param \SimpleXMLElement $xsdParentNode Node to add the documentation to
@return void
Add documentation XSD to a given XML node