O'Reilly logo

XForms: XML Powered Web Forms by T.V. Raman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. XForms Functions

Introduction

The previous chapter showed how XPath expressions can be used in calculating the values of certain form fields. When writing such expressions, it is useful to have a standard set of utility functions for performing common computations. As explained in Section 2.2, XPath expressions can use functions that are defined in the XPath specification. In addition, XPath makes it possible to define extension functions for use in languages that adopt XPath as the base expression language. XForms 1.0 defines a handful of such extension functions, and these will be described in the rest of this chapter along with motivating examples for each. We refer to this collection of functions as the XForms core function library. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required