Classes/Console/Service/XsdGenerator.php
public function generateXsd($viewHelperNamespace, $xsdNamespace)
    {
        $viewHelperNamespace = rtrim($viewHelperNamespace, '_\\') . $this->getDelimiterFromNamespace($viewHelperNamespace);
        $classNames = $this->getClassNamesInNamespace($viewHelperNamespace);
        if (count($classNames) === 0) {
            throw new Exception(sprintf('No ViewHelpers found in namespace "%s"', $viewHelperNamespace), 1330029328);
        }

        return $this->generateXsdFromClassNames($classNames, $xsdNamespace);
    }
public function generateXsd($viewHelperNamespace, $xsdNamespace)
    {
        $viewHelperNamespace = rtrim($viewHelperNamespace, '_\\') . $this->getDelimiterFromNamespace($viewHelperNamespace);
        $classNames = $this->getClassNamesInNamespace($viewHelperNamespace);
        if (count($classNames) === 0) {
            throw new Exception(sprintf('No ViewHelpers found in namespace "%s"', $viewHelperNamespace), 1330029328);
        }

        return $this->generateXsdFromClassNames($classNames, $xsdNamespace);
    }
Generate the XML Schema definition for a given namespace.
It will generate an XSD file for all view helpers in this namespace.

@param string $viewHelperNamespace Namespace identifier to generate the XSD for, without leading Backslash.
@param string $xsdNamespace $xsdNamespace unique target namespace used in the XSD schema (for example "http://yourdomain.org/ns/viewhelpers")
@throws Exception
@return string XML Schema definition