XForms Functions at a Glance





XForms Functions at a Glance

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

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


     Python   SQL   Java   php   Perl 
     game development   web development   internet   *nix   graphics   hardware 
     telecommunications   C++ 
     Flash   Active Directory   Windows