attribute lang

attribute {http://www.w3.org/XML/1998/namespace}lang

Target Namespacehttp://www.w3.org/XML/1998/namespace
Declared Namespacesxmlns:xs=http://www.w3.org/2001/XMLSchema


Source

<xs:attribute name="lang">
    <
xs:annotation>
        <
xs:documentation>
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.
        
</xs:documentation>
    </
xs:annotation>
    <
xs:simpleType>
        <
xs:union memberTypes="xs:language">
            <
xs:simpleType>
                <
xs:restriction base="xs:string">
                    <
xs:enumeration value=""/>
                </
xs:restriction>
            </
xs:simpleType>
        </
xs:union>
    </
xs:simpleType>
</
xs:attribute>


Documentation

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.


attribute lang


Stylus Studio XML Schema Library Home
Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio®, a product from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2006 All Rights Reserved.