...
By way of example, the JCR browser is provided with a list of preprogrammed pre-programmed XPath and SQL queries. To this list, you can add your own queries. Your queries are saved and you can edit them afterwardsat a later time. To execute a query, you just select one from the list, make some adaptations if you like modify it and then execute it.
Creating or Editing a Query
- Select the JCR Queries tab.
- From the Queries pull-down menu, select ‘New query’, or an existing query. Notice that you cannot edit preprogrammed queries.
- Enter or change the name of the query.
- Select the query syntax type ‘Xpath’ or ‘SQL’"Xpath" or "SQL".
- Enter or change the actual query. See also: Query examples: SQL versus XPath)Press
- Click [Apply] to save the query on the list.
...
- Select the JCR Queries tab.
- From the Queries pull-down menu, select the query you want to delete. Notice that you cannot delete pre-programmed queries.
- Press Click [Delete query]. The query is removed from the list.
...
- Select the JCR Browser tab.
- Press the Click [More] button. The ‘Query execution’ dialog is added to the screen.From the pull-down menu, select "Query execution" section appears.
- Select the query, for instance ‘MyNodeTypes XPath’.If desired, adapt "MyNodeTypes XPath", from the drop-down list.
- Modify the query to your needs.
- Press the Click [Execute query] button. The results appear on the Query results tab.
...