[xquery-talk] filter function

Michael Kay mhk at mhk.me.uk
Fri Jun 30 11:33:25 PDT 2006


> 
> i mean this piece of code does not return paths from the file 
> oredr.xml which satisfy my condition it returns <hh>
> filter()
> </hh>

The filter() function is your own function, I assume. There is no function
of that name in the XQuery specs or in Saxon. You can't expect us to tell
you why it isn't working unless you show us the source code. 

Here's a guess, though: You wrote

<hh>filter()</hh>

when you meant

<hh>{filter()}</hh>

Michael Kay
http://www.saxonica.com/




More information about the talk mailing list