I am very new to the ALC designer and have only worked in a limited range to create fields and map those fields directly to an element in the schema.
My xml instance looks like the below
<person>
<PersonAddress>
<AddressType>Home</AddressType>
<Address>123 Street, Sandiego, California</Address>
</PersonAddress>
<PersonAddress>
<AddressType>Mailing</AddressType>
<Address>123 Street, Sandiego, California</Address>
</PersonAddress>
<PersonAddress>
<AddressType>Employer</AddressType>
<Address>123 Street, Sandiego, California</Address>
</PersonAddress>
<person>
The Address information does not need to come in the same order as above and in some instances one of the addres might not be there.
I have an existing PDF which has been imported as an artwork. It has 3 checkboxes, EmployerAddress Checkbox, Mailing Addres Checkbox and Home Address Checkbox
I would like the checkboxes to be turned on if the corresponding Address type is present in the instance. Moreover there is a text area next to each checkboxes for the related addresses.
What is the easiest way to acheive this without doing an xslt to transform the existing instance into another.
Thanks is advance for your comments/responses.