style

style info, which may include CDATA sections

Element Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
dir restriction of xs:token optional
id xs:ID optional
lang LanguageCode optional
media MediaDesc optional
title Text optional
type ContentType required
xml:lang union of(xs:language, restriction of xs:string) optional
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.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.

         The union allows for the 'un-declaration' of xml:lang with
         the empty string.
xml:space restriction of xs:NCName preserve optional

Used By

Element Group head.misc

Source

<xs:element name="style">
  <xs:annotation>
    <xs:documentation>style info, which may include CDATA sections</xs:documentation>
  </xs:annotation>
  <xs:complexType mixed="true">
    <xs:attributeGroup ref="i18n"/>
    <xs:attribute name="id" type="xs:ID"/>
    <xs:attribute name="type" use="required" type="ContentType"/>
    <xs:attribute name="media" type="MediaDesc"/>
    <xs:attribute name="title" type="Text"/>
    <xs:attribute ref="xml:space" fixed="preserve"/>
  </xs:complexType>
</xs:element>

Sample