Changes

Jump to navigation Jump to search
40 bytes added ,  07:35, 22 September 2011
no edit summary
<p>This tutorial is part of the [[Getting Started]] Section.It describes how to use the BaseX [[XQuery]] Processor
to execute queries in the [http://www.oxygenxml.com oXygen XML Editor].
You can access the [[database|databases]] from BaseX within oXygen
and work with the results as XML.</p>
==Required Downloads==
===Data Source===
#Start oXygen and go to ''Options'' → ''Preferences'' → ''Data Sources''. #Add a new Data Source with the ''New'' button. #Enter Name "BaseX" and choose ''XQuery API for Java(XQJ)'' as type. #Add the three JAR files with the ''Add'' Button. #Now press ''OK'', and your Data Source is ready.
===Connection===
#Now press ''New'' in the Connection Panel (located in ''Data Sources''). #Enter Name "BaseXConnection" and select "BaseX" in the Data Source box. #Now press ''OK'', and your connection is ready.
==Usage==
<p>The query execution works as follows:</p>
# Configure a new transformation scenario in ''Window'' → ''Show View'' → ''Transformation Scenarios''.
# Press ''OK'', and your scenario is ready. Now you can start the transformation.
# The results should immediately occur in the result panel.
 
[[Category:Instructions]]
Bureaucrats, editor, reviewer, Administrators
13,554

edits

Navigation menu