Name

property( ) — returns the value of a given XForms property

Synopsis

Defined in: XForms 1.0
Parameters: string propname (required)
Return type: string

XForms specifies certain property strings that can be retrieved with this function:

  • version returns the XForms version number

  • conformance-level returns the XForms conformance level, either “basic” or “full”

This example returns 1.0, assuming the processing environment claims to be XForms 1.0 compliant:

property("version")

Get XForms Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.