Please enable JavaScript to view this site.

Altova RaptorXML+XBRL Server 2021

The xqueryupdate command takes an XQuery file as its single argument and executes it with an optional input file to produce an updated output file. The input and output files are specified as options.


raptorxmlxbrl xqueryupdate [options] XQuery-File


The argument XQuery-File is the path and name of the XQuery file to be executed.

You can specify whether XQuery Update 1.0 or 3.0 should be used. By default XQuery Update 3.0 is used.



Examples of the xqueryupdate command:


raptorxmlxbrl xqueryupdate --output=c:\Output.xml c:\TestQuery.xq

raptorxmlxbrl xqueryupdate --input=c:\Input.xml --output=c:\Output.xml  --param=company:"Altova" --p=date:"2006-01-01" c:\TestQuery.xq

raptorxmlxbrl xqueryupdate --input=c:\Input.xml --output=c:\Output.xml  --param=source:" doc( 'c:\test\books.xml' )//book " c:\TestQuery.xq

raptorxmlxbrl xqueryupdate --output=c:\Output.xml --omit-xml-declaration=false --output-encoding=ASCII c:\TestQuery.xq




Options are listed in short form (if available) and long form. You can use one or two dashes for both short and long forms. An option may or may not take a value. If it takes a value, it is written like this: --option=value. Values can be specified without quotes except in two cases: (i) when the value string contains spaces, or (ii) when explicitly stated in the description of the option that quotes are required. If an option takes a Boolean value and no value is specified, then the option's default value is TRUE. Use the --h, --help option to display information about the command.




© 2015-2021 Altova GmbH