Saturday, February 9, 2013

How to execute xquery files ? (A simple approach)

Firstly,install Saxon X Query processor from Ubuntu software center or synaptic package manager.
you need to install two separate packages
  1. Saxon XSLT Processor (libsaxon-java)
  2. Saxon-B XSLT Processor (libsaxonb-java)
  • After installing both the packages,open terminal(shortcut-ctrl+alt+t) 
  • Change your directory that contains all the xml and xquery(.xqy) files.
  •  To run the xquery files,just run the below command with your sample.xqy(xquery file) in the terminal.
      $saxonb-xquery sample.xqy


thank you for reading
cheers !!!
sGk


No comments:

Post a Comment