Cardinality

I

Istvan

Hello

Maybe somebody know how to construct the cardinality functions of
required for XPath 2.0, XQuery 1.0 and XSLT 2.0 ?

there are three functions normally,

fn:zero-or-one(item,item,...) Returns the argument if it contains
zero or one items, otherwise it raises an error
fn:eek:ne-or-more(item,item,...) Returns the argument if it contains one
or more items, otherwise it raises an error
fn:exactly-one(item,item,...) Returns the argument if it contains
exactly one item, otherwise it raises an error

How could I construct them with coding them ?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top