Indesign Import XML into Automatic Page generation, data merge












2














I've created some InDesign Pages that I want to use as templates. I've created an XML file with all the appropriate data. I want to merge the XML data with the InDesign page and have a few hundred pages automatically generated.



I've been reading online and working with InDesign's "Import XML" features without any luck. The documentation has been pretty poor for me. And Google searches haven't returned much fruitful.



Here are my present steps:




  1. I create a Master Page of my template

  2. I add a bunch of text frames where I want the imported data from the XML file to be places

  3. I open the "Tags" window and Import and XML file

  4. I mark my text frames in the Master Document with the appropriate tags

  5. I then add a lot of pages (like 200) to the document

  6. Then I use "Import XML" to try and get the data brought in and filled across all 200 pages.


This is where I fail. There's something I'm missing. It might be that InDesign doesn't work as I'm expecting...



Does anyone have any good tips for mail-merge like functionality with an XML document and auto-generation of InDesign pages?



By the way, here's an example of Adobe's great documentation for merging repeated XML elements. There's got to be more... InDesign CS4 Docs: XML->Importing XML->Working with Repeating Data



Here's some of the sample XML, notice the ITEM will repeat. I've also truncated the data in the "desc" tag:



   <output>
<item>
<user_name>taude</user_name>
<date>2009-02-21</date>
<title>Wishful Thinking</title>
<desc>Skiing up in Vermont on a beautiful day. This photo of</desc>
<thumbnail>http://www.blipfoto.com/thumbs/5371/2009/big/color/96104200949a162672e1996.15963073.jpeg</thumbnail>
</item>
<item>
<user_name>taude</user_name>
<date>2009-02-22</date>
<title>Skiing Self Portrait</title>
<desc>I was inspired by ML's self-portrait while </desc>
<thumbnail>http://www.blipfoto.com/thumbs/5371/2009/big/color/36547696749a2c5782308e0.91477014.jpeg</thumbnail>
</item>
</output>


Here's what my imported XML looks like with the InDesign Structure:



alt text










share|improve this question





























    2














    I've created some InDesign Pages that I want to use as templates. I've created an XML file with all the appropriate data. I want to merge the XML data with the InDesign page and have a few hundred pages automatically generated.



    I've been reading online and working with InDesign's "Import XML" features without any luck. The documentation has been pretty poor for me. And Google searches haven't returned much fruitful.



    Here are my present steps:




    1. I create a Master Page of my template

    2. I add a bunch of text frames where I want the imported data from the XML file to be places

    3. I open the "Tags" window and Import and XML file

    4. I mark my text frames in the Master Document with the appropriate tags

    5. I then add a lot of pages (like 200) to the document

    6. Then I use "Import XML" to try and get the data brought in and filled across all 200 pages.


    This is where I fail. There's something I'm missing. It might be that InDesign doesn't work as I'm expecting...



    Does anyone have any good tips for mail-merge like functionality with an XML document and auto-generation of InDesign pages?



    By the way, here's an example of Adobe's great documentation for merging repeated XML elements. There's got to be more... InDesign CS4 Docs: XML->Importing XML->Working with Repeating Data



    Here's some of the sample XML, notice the ITEM will repeat. I've also truncated the data in the "desc" tag:



       <output>
    <item>
    <user_name>taude</user_name>
    <date>2009-02-21</date>
    <title>Wishful Thinking</title>
    <desc>Skiing up in Vermont on a beautiful day. This photo of</desc>
    <thumbnail>http://www.blipfoto.com/thumbs/5371/2009/big/color/96104200949a162672e1996.15963073.jpeg</thumbnail>
    </item>
    <item>
    <user_name>taude</user_name>
    <date>2009-02-22</date>
    <title>Skiing Self Portrait</title>
    <desc>I was inspired by ML's self-portrait while </desc>
    <thumbnail>http://www.blipfoto.com/thumbs/5371/2009/big/color/36547696749a2c5782308e0.91477014.jpeg</thumbnail>
    </item>
    </output>


    Here's what my imported XML looks like with the InDesign Structure:



    alt text










    share|improve this question



























      2












      2








      2


      2





      I've created some InDesign Pages that I want to use as templates. I've created an XML file with all the appropriate data. I want to merge the XML data with the InDesign page and have a few hundred pages automatically generated.



      I've been reading online and working with InDesign's "Import XML" features without any luck. The documentation has been pretty poor for me. And Google searches haven't returned much fruitful.



      Here are my present steps:




      1. I create a Master Page of my template

      2. I add a bunch of text frames where I want the imported data from the XML file to be places

      3. I open the "Tags" window and Import and XML file

      4. I mark my text frames in the Master Document with the appropriate tags

      5. I then add a lot of pages (like 200) to the document

      6. Then I use "Import XML" to try and get the data brought in and filled across all 200 pages.


      This is where I fail. There's something I'm missing. It might be that InDesign doesn't work as I'm expecting...



      Does anyone have any good tips for mail-merge like functionality with an XML document and auto-generation of InDesign pages?



      By the way, here's an example of Adobe's great documentation for merging repeated XML elements. There's got to be more... InDesign CS4 Docs: XML->Importing XML->Working with Repeating Data



      Here's some of the sample XML, notice the ITEM will repeat. I've also truncated the data in the "desc" tag:



         <output>
      <item>
      <user_name>taude</user_name>
      <date>2009-02-21</date>
      <title>Wishful Thinking</title>
      <desc>Skiing up in Vermont on a beautiful day. This photo of</desc>
      <thumbnail>http://www.blipfoto.com/thumbs/5371/2009/big/color/96104200949a162672e1996.15963073.jpeg</thumbnail>
      </item>
      <item>
      <user_name>taude</user_name>
      <date>2009-02-22</date>
      <title>Skiing Self Portrait</title>
      <desc>I was inspired by ML's self-portrait while </desc>
      <thumbnail>http://www.blipfoto.com/thumbs/5371/2009/big/color/36547696749a2c5782308e0.91477014.jpeg</thumbnail>
      </item>
      </output>


      Here's what my imported XML looks like with the InDesign Structure:



      alt text










      share|improve this question















      I've created some InDesign Pages that I want to use as templates. I've created an XML file with all the appropriate data. I want to merge the XML data with the InDesign page and have a few hundred pages automatically generated.



      I've been reading online and working with InDesign's "Import XML" features without any luck. The documentation has been pretty poor for me. And Google searches haven't returned much fruitful.



      Here are my present steps:




      1. I create a Master Page of my template

      2. I add a bunch of text frames where I want the imported data from the XML file to be places

      3. I open the "Tags" window and Import and XML file

      4. I mark my text frames in the Master Document with the appropriate tags

      5. I then add a lot of pages (like 200) to the document

      6. Then I use "Import XML" to try and get the data brought in and filled across all 200 pages.


      This is where I fail. There's something I'm missing. It might be that InDesign doesn't work as I'm expecting...



      Does anyone have any good tips for mail-merge like functionality with an XML document and auto-generation of InDesign pages?



      By the way, here's an example of Adobe's great documentation for merging repeated XML elements. There's got to be more... InDesign CS4 Docs: XML->Importing XML->Working with Repeating Data



      Here's some of the sample XML, notice the ITEM will repeat. I've also truncated the data in the "desc" tag:



         <output>
      <item>
      <user_name>taude</user_name>
      <date>2009-02-21</date>
      <title>Wishful Thinking</title>
      <desc>Skiing up in Vermont on a beautiful day. This photo of</desc>
      <thumbnail>http://www.blipfoto.com/thumbs/5371/2009/big/color/96104200949a162672e1996.15963073.jpeg</thumbnail>
      </item>
      <item>
      <user_name>taude</user_name>
      <date>2009-02-22</date>
      <title>Skiing Self Portrait</title>
      <desc>I was inspired by ML's self-portrait while </desc>
      <thumbnail>http://www.blipfoto.com/thumbs/5371/2009/big/color/36547696749a2c5782308e0.91477014.jpeg</thumbnail>
      </item>
      </output>


      Here's what my imported XML looks like with the InDesign Structure:



      alt text







      import xml adobe-indesign






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 20 '11 at 4:15









      3498DB

      15.7k114762




      15.7k114762










      asked Jan 3 '10 at 4:50









      taudep

      111128




      111128






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I work with XML and inDesign.



          Indesign layout must be created strictly to your XML file, tagged frames is not enough.



          Can you post few lines of your XML file so I can help you to adjust your layout?



          EDIT:



          Ok, you're right.



          If all the items are identical delete all but first item.



          Then press Ctrl+Shift and click on the first page to override master text frame.



          Drag your root node (output) from structure panel into the text frame.



          Now the template is ready.



          Try to import XML file and let me know.






          share|improve this answer






















            protected by Community Sep 12 '14 at 1:03



            Thank you for your interest in this question.
            Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



            Would you like to answer one of these unanswered questions instead?














            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I work with XML and inDesign.



            Indesign layout must be created strictly to your XML file, tagged frames is not enough.



            Can you post few lines of your XML file so I can help you to adjust your layout?



            EDIT:



            Ok, you're right.



            If all the items are identical delete all but first item.



            Then press Ctrl+Shift and click on the first page to override master text frame.



            Drag your root node (output) from structure panel into the text frame.



            Now the template is ready.



            Try to import XML file and let me know.






            share|improve this answer




























              0














              I work with XML and inDesign.



              Indesign layout must be created strictly to your XML file, tagged frames is not enough.



              Can you post few lines of your XML file so I can help you to adjust your layout?



              EDIT:



              Ok, you're right.



              If all the items are identical delete all but first item.



              Then press Ctrl+Shift and click on the first page to override master text frame.



              Drag your root node (output) from structure panel into the text frame.



              Now the template is ready.



              Try to import XML file and let me know.






              share|improve this answer


























                0












                0








                0






                I work with XML and inDesign.



                Indesign layout must be created strictly to your XML file, tagged frames is not enough.



                Can you post few lines of your XML file so I can help you to adjust your layout?



                EDIT:



                Ok, you're right.



                If all the items are identical delete all but first item.



                Then press Ctrl+Shift and click on the first page to override master text frame.



                Drag your root node (output) from structure panel into the text frame.



                Now the template is ready.



                Try to import XML file and let me know.






                share|improve this answer














                I work with XML and inDesign.



                Indesign layout must be created strictly to your XML file, tagged frames is not enough.



                Can you post few lines of your XML file so I can help you to adjust your layout?



                EDIT:



                Ok, you're right.



                If all the items are identical delete all but first item.



                Then press Ctrl+Shift and click on the first page to override master text frame.



                Drag your root node (output) from structure panel into the text frame.



                Now the template is ready.



                Try to import XML file and let me know.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Feb 5 '15 at 17:32









                Excellll

                11k74162




                11k74162










                answered Jan 3 '10 at 20:47







                user23504
























                    protected by Community Sep 12 '14 at 1:03



                    Thank you for your interest in this question.
                    Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



                    Would you like to answer one of these unanswered questions instead?



                    Popular posts from this blog

                    Сан-Квентин

                    8-я гвардейская общевойсковая армия

                    Алькесар