The Purchase Order Dynamic.xdp sample form uses fragments to configure the footer to display the correct address, depending on the data being merged with the form. When the sample form is merged with the Purchase Order Canada.xml file, the FooterCanada fragment is instantiated; however, when the form is merged with the Purchase Order US.xml file, the FooterUS is instantiated.
2. In the Data File field, click the Browse button and select the Purchase Order US.xml data file located in EN\Samples\Forms\Purchase Order\Form Fragments\Data.
4.
6. In the Data File field, click the Browse button and select the Purchase Order Canada.xml data file located in EN\Samples\Forms\Purchase Order\Form Fragments\Data.
8. Click the Preview PDF tab in the Layout Editor. Notice that the corporate address in the footer now shows a Canadian address.