XQuery outlinr and input pans

Having trouble installing Oxygen? Got a bug to report? Post it all here.
psimonovsk
Posts: 1
Joined: Thu Dec 23, 2010 6:15 pm

XQuery outlinr and input pans

Post 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
adrian
Posts: 2855
Joined: Tue May 17, 2005 4:01 pm

Re: XQuery outlinr and input pans

Post 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
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Post Reply