Oops. I am working on the patched 9.2.

As discussed before I need those xquery implemented functions available in xpath.

Will try 9.3 later.

Thanks a lot for looking this issue.

Malix

On Fri, Feb 11, 2011 at 3:20 AM, Michael Kay <mike@saxonica.com> wrote:
On 11/02/2011 05:53, Malix Ren wrote:
> import schema "http://www.xbrl.org/2003/instance";
> declare namespace xbrli="http://www.xbrl.org/2003/instance";
>
> //*[. instance of schema-element(xbrli:item) or . instance of
> schema-element(xbrli:tuple)]

It works for me in XQuery as well. I am using 9.3.0.4. Which version are
you using?

This is my output from your query:

<?xml version="1.0" encoding="UTF-8"?><concept:d1
Michael Kay
Saxonica

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxon-help