[opencms-dev] syntax in .xsd schemata

Christoph Kukulies kuku at physik.rwth-aachen.de
Mon Nov 16 10:13:52 CET 2015


I have a .xsd schema description like
mycompany_head.xsd

and in that I have

<xsd:complexType name="OpenCmsMyCompanyHead">
         <xsd:sequence>
             <xsd:element name="Title" type="OpenCmsString" />
             <xsd:element name="Link" type="OpenCmsMyCompanyLink" 
maxOccurs="8"/>
         </xsd:sequence>
         <xsd:attribute name="language" type="OpenCmsLocale" 
use="required"/>
     </xsd:complexType>

Is OpenCmsMyCompanyLink unique to that .xsd? In other words: if I create 
a copy of that .xsd in /schemas
giving it the name other_something.xsd, does type="OpenCmsMyCompanyLink" 
then become
type="OpenCmsOtherLink"?

-- 
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de



More information about the opencms-dev mailing list