I'm 200% sure this doesnt exist but incase I'm off by 2.01x ...
There is no object of type 'type' is there ?
Suppose I wanted to write a function like this
declare function x:check( $expr , $type , $error )
{
if( $expr instance of $type ) then () else $error
};
called like
x:check( "test" , xs:string , "Should be a string" )
No go right ?
Just checking ...
XQuery reflection would be a really nice thing ...
that with XSD querying ...
----------------------------------------
David A. Lee
[email protected]<mailto:[email protected]>
http://www.xmlsh.org
_______________________________________________
[email protected]
http://x-query.com/mailman/listinfo/talk