6.7 XForms Functions at a Glance


We conclude this chapter with a summary of the various XForms functions defined in this chapter; see Table 6.3. For each function, we give its argument type, return type, and a brief description.

Table 6.3. XForms Functions at a Glance

Function

Argument

Return

Description

avg

node-set

number

Average

boolean-from-string

string

boolean

Type coercion

count-non-empty

node-set

number

Count nodes

days-from-date

string

number

Days in epoch

if

boolean, string, string

string

Conditional

index

string

number

Repeat index

instance

string

node-set

Locate instance

max

node-set

number

Maximum

min

node-set

number

Minimum

months

string

number

Months

now

 

string

Current time

property

string

string

Feature value

seconds

string

number

Seconds

seconds-from-dateTime

string

number

Seconds



XForms. XML Powered Web Forms with CD
XForms. XML Powered Web Forms with CD
ISBN: N/A
EAN: N/A
Year: 2003
Pages: 94

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net