XML Schema Standard Type Library 1.0.0 review

Download
by rbytes.net on

XML Schema Standard Type Library, in short XSSTL, is a collection of universally-useful data types defined in the W3C XML Schema lang

License: BSD License
File size: 11K
Developer: Boris Kolpackov
0 stars award from rbytes.net

XML Schema Standard Type Library, in short XSSTL, is a collection of universally-useful data types defined in the W3C XML Schema language. The provided types describe concepts such as email address, IP address, phone number, country code, US states, etc.

To make all the types from XSSTL available in your schema simply add the following import directive:

< import namespace="http://www.codesynthesis.com/xmlns/xsstl"
schemaLocation="xsstl.xsd"/ >


And the following namespace-to-prefix mapping to your schema root:

xmlns:stl="http://www.codesynthesis.com/xmlns/xsstl"

Alternatively, you can import individual types:

< import namespace="http://www.codesynthesis.com/xmlns/xsstl"
schemaLocation="xsstl/email-address.xsd"/ >

< import namespace="http://www.codesynthesis.com/xmlns/xsstl"
schemaLocation="xsstl/phone-number.xsd"/ >

What's New in This Release:
This initial version includes the following data types: EmailAddress, IPv4Address, Port, IPv4Endpoint, IPv4EndpointStruct, ISO3166CountyCode, Percentage, PhoneNumber, PhoneCountryCode, PhoneAreaCode, PhoneSubscriberNumber, PhoneExtensionNumber, PhoneNumberStruct, RFC822DateTime, USStateTerritoryCode, USStateCode, USTerritoryCode, USContinentalStateCode, and USContiguousStateCode.

XML Schema Standard Type Library 1.0.0 keywords