Changes

Jump to navigation Jump to search
2 bytes removed ,  14:40, 28 August 2012
no edit summary
* Values can be changed with the [[Commands#SET|SET]] command and requested with the [[Commands#GET|GET]] command. All values are ''statically bound'' to a database session; they stay valid until they are changed once again by another operation. If an option is of type boolean, and if no value is specified, its existing value will be inverted.
 
* {{Version|7.4}}: Initial values for options can now be specified via system properties, which can e.g. be passed on with the [http://docs.oracle.com/javase/1.4.2/docs/tooldocs/windows/java.html#options -D flag] on command line, or using [http://docs.oracle.com/javase/6/docs/api/java/lang/System.html#setProperty(java.lang.String, java.lang.String) System.setProperty()] before creating a BaseX instance.
* Options can also be set in the prolog of XQuery expressions. In the option declaration, keys need to be prefixed with {{Code|db:}}. All values will be reset after the evaluation of a query:
(# db:chop false #) { parse-xml('<xml> hi </xml>') }
</pre>
 
* {{Version|7.4}}: Initial values for options can now be specified via system properties, which can e.g. be passed on with the [http://docs.oracle.com/javase/1.4.2/docs/tooldocs/windows/java.html#options option -D] on command line, or using [http://docs.oracle.com/javase/6/docs/api/java/lang/System.html#setProperty(java.lang.String, java.lang.String) System.setProperty()] before creating a BaseX instance.
If options are implicitly changed by operations in the [[GUI]], the underlying commands will be listed in the [[GUI#Visualizations|Info View]].<br/><br/>
Bureaucrats, editor, reviewer, Administrators
13,550

edits

Navigation menu