Page 1 of 1

XQuery outlinr and input pans

Posted: Thu Dec 23, 2010 6:21 pm
by psimonovsk
Hi.
I have started to use Xquery features. At documentation of Oxygen, I see , that when I am editing Xquery file I have to see my xquery structure in outline pan and structure of queried XML documents in Xquery input pan... Nothing of this happens... Even if I open sample project supplied with Oxygen, and open query files included on it, both pans remains empty
Version 11.2 XP service pack 2

Re: XQuery outlinr and input pans

Posted: Fri Dec 24, 2010 11:50 am
by adrian
Hello,

The XQuery Outliner shows only the global structure(declarations) of the document:
imports, namespaces, global variables, functions
Image
http://www.oxygenxml.com/xquery_editor.html

Most of the XQuery samples in Oxygen have simple monolithic blocks and no imports, namespaces or functions. That's why the Outliner is blank.

Add a simple variable declaration and it will be shown in the outliner.
e.g.
declare variable $oxygenVersion as xs:integer := 12;

Regards,
Adrian