Generic-user-small Nivaldo Fern... 1 post

Hi there,

The book-info function may return the empty sequence. Therefore, the code as downloaded need to change from
define function book-info ($book as element(book)) as element(bookinfo)
to
define function book-info ($book as element(book)) as element(bookinfo)?

This code lives in file bookinfo-module.xqy.

Thanks,
Nivaldo

1 post, 1 voice