1/29/2024 0 Comments Indesign data merge labels![]() If you create custom Character Styles with the exact name (caution: it is case-sensitive) for each tag, you can automatically map those styles to the tags. After you have created the Character Styles based on your design, go to the Tags window and click the Additional Options button. We added a line break before each Plant tag. We have added labels before each of the Plant tags. ![]() (This can also be done on the InDesign page.) Let’s put line breaks between each element. Next, we’ll add labels for each of the data points. After we have our rough structure in place, we can start to add text styles. ![]() In the Story Editor, you can start to alter the layout and view the tags which come from the Plant child elements. InDesign XML Story Editor with one Plant node’s tags shown. Select that text by clicking on it, then right-click to bring up the menu and select “Edit” in Story Editor. The non-styled data in the InDesign document.Īt this point, you should see the non-styled data listed on the page. In the top left, you’ll find the structure pane with our catalog of data.įind your way to the structure pane or use “View > Structure.” This will show the visual tree of data in your XML file. Expand the root element (Catalog) to view all the Plant child nodes. You will then select and delete all of the Plant nodes except the first. Then click and drag the root Catalog node to the page. Delete elements, frames, and content that do not match imported XML.Do not import contents of whitespace-only elements.Import the XML file into a new InDesign file using “Choose File > Import XML.” Then use the file browser to navigate to your XML file.Ĭlick “Show XML Import Options” and select “Merge Content.” Then press OK to bring up the import options.įrom these options, you will likely want to select: The first thing we want to do is create a new file for the catalog size specifications you want. The template will allow you to easily and repeatedly import your data into the layout you have created. This step is time-consuming, but it will pay off down the road. It took a ton of time piecing together a number of blog posts and experiments to find a repeatable process that worked for me. So here is my solution, combining InDesign and XML.įor this example, we will be creating a catalog of plants using this sample XML file of plants from W3School.Ī catalog of plants we will use as an example. I knew there must be a way to do a majority of the design work and then “data merge” the content to the style, but it sure wasn’t easy to figure out. The catalog content was constantly being updated, but each entry needed to have the same visual style. My task for a recent project was creating a print catalog.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |