Function: soap-sample-value-for-xs-basic-type
soap-sample-value-for-xs-basic-type is a byte-compiled function
defined in soap-inspect.el.gz.
Signature
(soap-sample-value-for-xs-basic-type TYPE)
Documentation
Provide a sample value for TYPE, an xs-basic-type.
This is a specialization of soap-sample-value for xs-basic-type
objects.
Source Code
;; Defined in /usr/src/emacs/lisp/net/soap-inspect.el.gz
(defun soap-sample-value-for-xs-basic-type (type)
"Provide a sample value for TYPE, an xs-basic-type.
This is a specialization of `soap-sample-value' for xs-basic-type
objects."
(cl-case (soap-xs-basic-type-kind type)
(string "a string")
(anyURI "an URI")
(QName "a QName")
(dateTime "a time-value-p or string")
(boolean "t or nil")
((long int integer byte unsignedInt) 42)
((float double) 3.14)
(base64Binary "a string")
(t (format "%s" (soap-xs-basic-type-kind type)))))