[xquery-talk] XQuery user defined function

Michael Kay mhk at mhk.me.uk
Tue Mar 8 23:28:14 PST 2005


If my understanding is correct, these days the datatypes of input/ output
parameters of a user defined XQuery function are only allowed to be the
generic datatypes as defined in XQuery Data Model - so that today one can't
use such datatypes as "charstring", "statement", ListOfStatement" etc.  

 
No, you can use any user-defined type that's defined in an imported schema,
provided your XQuery processor is schema-aware.
 
The rules about how types are defined and imported have been greatly
clarified over the last couple of years.
 
Michael Kay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xquery.com/pipermail/talk/attachments/20050308/ae065403/attachment.htm


More information about the talk mailing list