0 Replies Latest reply on Apr 2, 2012 12:05 PM by danielecatalanotto

    Is it possible to use an XML file with differents childs?

    danielecatalanotto

      Hello,

      I'm working to create an automated indesign file using XML. In this indesign file I have to show a list of events.

      But in this list there are two types of events:

      1. normal ones: majority of the events, they use a same style.
      2. Highlighted ones: little part of the events, they should use a different style.

       

      Therefor I think the XML file should be like this:

      <normal>

           <title></title>

           <date</date>

      </normal>

      <higlighted>

           <title></title>

           <date</date>

      </higlighted>

      <normal>

           <title></title>

           <date</date>

      </normal>

       

      Is it possible to use this kind of structure?

      (I have already used repetitiv structures with XML and indesign, but never structures with higlighted items and wasn't able to get it work.)

      Or is there an other/better way to have higlighted items?

       

      Sorry for asking this, it's certainly quiet obvious but I didn't find the answer in the book I have about XML/indesign and in other forums.

       

      Thanks a lot for your help :-)