Skip to main content Skip to complementary content

Creating a Route Resource


  1. From the repository tree view, right-click the Resources node and select Create Resource from the context menu.
  2. The New Route Resource wizard opens. In the Name field, type in a name for the Resource, for example, SampleXquery. Click Finish to close the wizard.
  3. Enter the following code in the editor to extract the firstName and lastName of all the person elements.
    declare namespace ns0="";
    for $p in /people//person
  4. Press Ctrl+S to save your Route Resource.

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!