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

Web Service Links

Namespace Children of ::wsdb::types::address::zipPlusFour

Namespace Code for ::wsdb::types::address::zipPlusFour

namespace eval ::wsdb::types::address::zipPlusFour {
    variable base xsd::string
    variable pattern {[0-9]{5}(-[0-9]{4})?}
    variable validate ::wsdb::types::address::zipPlusFour::validate

}

Procedures in ::wsdb::types::address::zipPlusFour


proc ::wsdb::types::address::zipPlusFour::validate {
    value
} {
        variable base
        variable pattern
        if {[::wsdb::types::${base}::validate $value] && [regexp $pattern $value]} {
            return 1
        } else {
            return 0
     }}