Home
Download
Wiki
Demo
Open Source Native XML Database
About Us
Who we are
Acknowledgements
Documentation
Quick Start
Function Library
Extension Modules
Main Documentation
Feature Sheet
XQuery Wikibook
Examples
XQuery Sandbox
XML Acronyms
Bibliographic
All Examples
Community
Mailing List/IRC
Development
Javadocs
ChangeLog
Bug Tracker
Subversion
Submit Patches
Administration
Admin
Server Status
Webstart Client
A RESTful browser for eXist Java-Based Function Modules
Modules
>
xpath-functions
>
zero-or-one
http://www.w3.org/2005/xpath-functions
A module with the XQuery/XPath Core Library Functions
zero-or-one
zero-or-one($arg as item()*) item()?
Returns the argument sequence $arg if it contains zero or one items. Otherwise, raises an error.
$arg
The sequence to be tested for cardinality
Returns the input sequence if it contains zero or one items.
Return to list of all modules