2 Replies Latest reply on Oct 5, 2016 8:36 AM by Loic.Aigon

    XML importing If/Then logic. Can InDesign do this?

    alisonr13604932

      Hi all,

       

      So I've got an XML document I'm importing into my indesign template through the InDesign SOAP web service and JSX script files.

       

      However i want certain text to be hidden/displayed if the XML tags contain certain values.

       

      For example. If the XML is <PaymentFrequency>Yearly</PaymentFrequency> then I want the following text to be rendered on the PDF outputted.

       

      "You've chosen to pay yearly!"

       

      I can't see to see this functionality anywhere.

       

      Any ideas?

       

      Thanks! :-)