simpleType localeType

simpleType {http://java.sun.com/xml/ns/j2ee}localeType

Type Heirarchy
{http://www.w3.org/2001/XMLSchema}string (by restriction)
 {http://java.sun.com/xml/ns/j2ee}localeType
Target Namespacehttp://java.sun.com/xml/ns/j2ee
Declared Namespacesxmlns:xsd=http://www.w3.org/2001/XMLSchema
xmlns:j2ee=http://java.sun.com/xml/ns/j2ee
xmlns=http://www.w3.org/2001/XMLSchema


Source

<xsd:simpleType name="localeType">
    <
xsd:annotation>
        <
xsd:documentation>
The localeType defines valid locale defined by ISO-639-1
and ISO-3166.
        
</xsd:documentation>
    </
xsd:annotation>
    <
xsd:restriction base="xsd:string">
        <
xsd:pattern value="[a-z]{2}(_|-)?([\p{L}\-\p{Nd}]{2})?"/>
    </
xsd:restriction>
</
xsd:simpleType>


Documentation

	The localeType defines valid locale defined by ISO-639-1
	and ISO-3166.


simpleType localeType


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.