The following operations are supported. For a formal definition, please review the Service Description.

Web Service Links

Namespace Children of ::wsdb::types::address::stateCode

Namespace Code for ::wsdb::types::address::stateCode

namespace eval ::wsdb::types::address::stateCode {
    variable base xsd::string
    variable validate ::wsdb::types::address::stateCode::validate

}

Procedures in ::wsdb::types::address::stateCode


proc ::wsdb::types::address::stateCode::validate {
    value
} {
       variable base
       if {[::wsdb::types::${base}::validate "$value"] && [lsearch -exact {AL AZ CA LA MA MS NM TX WA} "$value"] > -1} {
           return 1
       } else {
           return 0
         }
}