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.


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 Which version are
you using?

This is my output from your query:

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

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.
saxon-help mailing list archived at http://saxon.markmail.org/