3.1.4.1.3.48 mce:ResourceNameType Complex Type

The ResourceNameType complex type specifies a localized name for a classification rule. <41>

 <xs:complexType name="ResourceNameType">
   <xs:simpleContent>
     <xs:extension base="xs:string">
       <xs:attribute name="default" type="xs:boolean" default="false"/>
       <xs:attribute name="langcode" type="mce:LangType" use="required"/>
     </xs:extension>
   </xs:simpleContent>
 </xs:complexType>

The following table lists the attributes of the ResourceNameType complex type.

Attribute

Type

Description

default

xs:boolean ([XMLSCHEMA2] section 3.2.1)

Specifies whether this is the default resource name. A text value of "true" indicates that this is the default resource name. The default value is "false".

langcode

mce:LangType (section 3.1.4.1.4.2)

Specifies the language code that represents the localized name of a classification rule. The langcode attribute value of all Name elements (section 3.1.4.1.3.49) MUST be unique per Resource element (section 3.1.4.1.3.25). This attribute MUST be present.