Part 1 - XFA Stitching
Most LiveCycle/AEM form developers know that the source code for an XFA form template is XML. Many experienced form developers regularly inspect the XML source and modify it directly either via the XML Source tab in LiveCycle Designer or by opening the XDP in their favorite editor. Some things can be done a lot quicker this way: batch changes, text tweaks, etc. Also, sometimes debugging tasks can be helped greatly by going directly to the source. Of course, since the source is XML, we can do much more to it: transform it with XSLT, load it into a DOM and manipulate it – delete nodes, move nodes, and add nodes, etc., - anything that we normally do with XML data.