spell:is-correct( $uri as xs:string*, $word as xs:string ) as xs:boolean
Returns true()
if the specified word is spelled correctly,
otherwise returns false()
. A word is considered to be spelled
correctly if it is in the specified dictionary.
Parameters | |
---|---|
uri | The URIs of the dictionaries to use. |
word | The word to check. |
spell:is-correct
function is a built-in function and
does not require the import module
statement in the XQuery
prolog.
spell:is-correct("en-utf8.xml","occasionally") => true()