
MarkLogic 10 Product Documentation
fn functions (Context)
The context built-in functions are XQuery functions defined to obtain information from the dynamic context.
They are defined in
XQuery 1.0
and XPath 2.0 Functions and Operators.
6 functions
	    
	    
	  
	    
	      | Function name | 
	      Description | 
	    
	  
	    
	      | fn.currentDate | 
	      Returns xs:date(fn:current-dateTime()). | 
	    
	    
	      | fn.currentDateTime | 
	      Returns the current dateTime value (with timezone) from the dynamic context. | 
	    
	    
	      | fn.currentTime | 
	      Returns xs:time(fn:current-dateTime()). | 
	    
	    
	      | fn.defaultCollation | 
	      Returns the value of the default collation property from the static context. | 
	    
	    
	      | fn.implicitTimezone | 
	      Returns the value of the implicit timezone property from the dynamic context. | 
	    
	    
	      | fn.staticBaseUri | 
	      Returns the value of the base-uri property from the static context. |