The XFA Vocabulary

XFA is implemented as an XML vocabulary, which means that creating an XFA script is much like creating any XML document. The first step is to learn the element set (tag set) for the vocabulary, and then you'll learn how to use the elements together to create meaningful scripts. All XFA elements are contained in the XFA namespace, which is defined as having the prefix xfa. This means that all XFA tags begin with the prefix xfa:. The following are the elements that make up the XFA vocabulary:

  • xfa:val

  • xfa:block

  • xfa:function

  • xfa:use

  • xfa:if

  • xfa:orif

  • xfa:else

  • xfa:for

  • xfa:while

  • xfa:string

  • xfa:break

  • xfa:let

  • xfa:data

  • xfa:tag

  • xfa:ref

  • xfa:form

  • xfa:note

The next several sections explain how each of these elements is used in XFA scripts.

In addition to ...

Get XML Unleashed 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.