Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 926 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 926 Bytes

XQuery notebook

An experimental XQuery notebook for VSCode.

image

Requirements

Requires access to a running BaseX server. The connection uses the Client API. Settings

Usage

create a notebook

  • file>new file>xquery notebook
  • cmd quobook new
  • Explorer new file. Extension .xqbk (prefered), or .xq-notebook

add XQuery cells

Adding a code cell defaults to type xquery. Javascript cells are also supported.

Header cells

Before executing a XQuery cell, preceding XQuery cells are examined for content starting with '(:<:)' The first such cell, if any, found searching towards the first cell is prefixed to the current cell before execution. If no declare base-uri is present in the header then a declare base-uri .. statement with the file based notebook url is prepended to the code.

mime-type