11/28/2023 0 Comments Url for oxygen xml editor2.1.4 Configure New Transformation ScenarioĪccess Database Resources Preparations.Download one of the BaseX distributions.Create a BaseX database, if necessary (see Databases).In oXygen, go to menu Options → Preferences → Data Sources.In the Connections panel (in the lower half of the screen), click the New button ( +).Enter "BaseX WebDAV" as connection name.Select "WebDAV (S)FTP" in the Data Source dropdown box.Fill in the appropriate connection details as follows.Set the username to admin and enter your password.Now press OK, and your Data Source is ready for use.Perform Queries One-Time Setup Preparations You can then access your database file(s) via the Data Source Explorer: Window → Show View → Data Source Explorer.Download one of the complete BaseX distributions (ZIP, EXE), if necessary.Note: Charles Foster's XQJ implementation provides a default (client/server) and a local driver. If you want to use the first flavor, you need to start a BaseX Server instance. You can easily access the Dashboard at any time while editing documents by simply clicking the Oxygen XML Web Author icon at the top-left corner of the screen.In oXygen, select Options → Preferences → Data Sources.Add the following JAR files (downloaded in Preparations procedure) with the Add Files Button.Enter "BaseX" as name and select XQuery API for Java(XQJ) from the Type dropdown box.In the Data Sources panel, add a new data source using the New button ( +). BaseXXQDataSource.Under "Driver class", choose the preferred driver class.basex/BaseX.jar, if you want to use BaseX embedded.The versions of the JAR files may differ. In the Connections section (in the lower half of the Data Source dialog), click New ( +).Embedded use (standalone). Click OK to complete the scenario configuration.Īfter the one-time setup steps are complete, you can execute your query using the new transformation scenario.Choose "BaseX XQJ" as Transformer from the combo box.If you specify an XML document in the XML URL field, you can query its content using.To access your database, you can use the following function from the BaseX Database Module in your XQuery URL file: If you would like to query the BaseX database you connected to via WebDAV, leave the XML URL field empty.Specify an optional XML and XQuery URL.Enter a name for your transformation, e.g.In the Transformation Scenarios panel, click + and select XQuery transformation in the lower part of the dropdown list.Select Window → Show View → Transformation Scenarios.Click OK again to close the Preferences dialog.Ĭonfigure New Transformation Scenario.Click OK to complete the connection configuration.If you use the default driver, enter the following values in the Connection Details section.Enter "BaseX XQJ" as name and select "BaseX" as data source. Start the transformation by clicking the red Run button ( Apply associated scenarios) in the Transformation Scenarios window, while your scenario is selected.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |