PwgSmRev1-185 - W3CDTF

complexType W3CDTF
diagram PwgSmRev1-185_p2805.png
namespace http://purl.org/dc/terms/
type restriction of SimpleLiteral
properties
base dc:SimpleLiteral
attributes
Name  Type  Use  Default  Fixed  Annotation
xml:lang  derived by: xs:language  prohibited      
documentation
<div>
<h3>lang (as an attribute name)</h3>
<p>
       denotes an attribute whose value
       is a language code for the natural language of the content of
       any element; its value is inherited.  This name is reserved
       by virtue of its definition in the XML specification.</p>
</div>
<div>
<h4>Notes</h4>
<p>
      Attempting to install the relevant ISO 2- and 3-letter
      codes as the enumerated possible values is probably never
      going to be a realistic possibility. 
     </p>
<p>
      See BCP 47 at <a href="http://www.rfc-editor.org/rfc/bcp/bcp47.txt">
       http://www.rfc-editor.org/rfc/bcp/bcp47.txt</a>
      and the IANA language subtag registry at
      <a href="http://www.iana.org/assignments/language-subtag-registry">
       http://www.iana.org/assignments/language-subtag-registry</a>
      for further information.
     </p>
<p>
      The union allows for the 'un-declaration' of xml:lang with
      the empty string.
     </p>
</div>
source <xs:complexType name="W3CDTF">
 
<xs:simpleContent>
   
<xs:restriction base="dc:SimpleLiteral">
     
<xs:simpleType>
       
<xs:union memberTypes="xs:gYear xs:gYearMonth xs:date xs:dateTime"/>
     
</xs:simpleType>
     
<xs:attribute ref="xml:lang" use="prohibited"/>
   
</xs:restriction>
 
</xs:simpleContent>
</xs:complexType>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy