[oXygen-user] Showing the XQuery input perspective

Sorin Ristache
Tue Nov 10 07:27:55 CST 2009


Hello,

The XSLT/XQuery Input view displays the structure of the XML document 
that will be processed by the XSLT or the XQuery under development. The 
XML document comes from the transformation scenario associated with the 
edited XSLT stylesheet or XQuery file. In case of XQuery if the 
transformation scenario does not specify an XML document in the XML URL 
field the XML document can come also from a doc() function call used in 
the XQuery file. So if your XQuery does not call the doc() function you 
should set an XML document in your scenario.

You use the structure of the XML document as the source of drag and drop 
operations for composing XPath expressions. The target of drag and drop 
is the XSLT editor or the XQuery editor. There is a video demonstration 
that shows that in action:

http://www.oxygenxml.com/demo/XslEditing/XSLEditing.html


Regards,
Sorin


Lee, David wrote:
> 
> 
> I have an XQuery file, and have configured a Transformation Scenerio, 
> but when I use Perspective -> Show View -> XSLT/XQuery input,
> 
> I get this note:
> 
>  
> 
> *To have a better content completion over the values of 'match', 
> 'select', and 'test' attributes, please create a scenario for this 
> stylesheet. The input document must be XML wellformed. *
> 
>  
> 
> Whats the magic trick to get the XSLT/XQuery input to show ?
> 
> Thanks for any suggestions !



More information about the oXygen-user mailing list