The Relationship Between XFA and XML

Although XFA scripts can be authored in such a way as to be considered well-formed XML, XFA also describes a syntax that extends XML. The reason for extending XML is to make it easier to represent expressions, which are inherently difficult to represent using traditional XML markup. The extended version of XFA can be considered a superset of XML. Although most XML proponents generally frown on the notion of extending XML, XFA does include support for converting an extended XFA script into a well-formed XML document.

Keep in mind that the only reason XFA extends XML is to make it easier to mark up script code. The following are the areas of XML syntax that are extended by XFA:

  • XFA doesn't require a single ...

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.