, ,

xquery email validation

July 10, 2014

Part of the basic validation is to check if the email entered by the user is on a valid format. This can easily done by using simple regex. The below function returns a boolean value if it is valid or not.   declare function local:invalid-email-address($emailAddress as xs:string) as xs:boolean {[...]