XML Template issues

Learn / Forums / General InDesign Topics / XML Template issues

Viewing 2 reply threads
  • Author
    Posts
    • #115608

      Hello!

      I’m new here but have been reading this forum for a while now to help me with a bigger project I’m currently working on. There is so much invaluable information here, I love it!

      But there is one thing I could not find a satisfactory answer to: I’m creating a commencement book for a big university, with 1,000s of graduates – each with their own names, cities, titles, degrees, prior degrees etc.
      I do have a template that is working reasonably well with the XML data and in combination with some clean-up scripts it is doing everything I want it to do. Except one thing: I can’t figure out how to apply a right-indent-tab to the [City], [State], [Country] cluster after a line break. It sounds easy enough (right?) but it is not working for me.

      So as an example, let’s say I have an entry like this:

      Lorem Maria Ipsum, (Harp Performance and Public Policy Studies) …»… Lumberton, N.J., USA

      The ” …»… ” is the right indent tab that right aligns the location info. It’s all working well if the location and the name are in the same line.

      However, after a line break it looks like this:
      Lorem Maria Ipsum, (Harp Performance and Public Policy Studies) ………….»…………..
      Lumberton, N.J., USA

      It makes total sense why it does that, but I want it to look like this:
      Lorem Maria Ipsum, (Harp Performance and Public Policy Studies) ………….»…………..
      ……………………………………………………………….»………………………………………………………………. Lumberton, N.J., USA

      Do you have an idea how to easily accomplish that? Any help would be greatly appreciated :)
      This is the first time I’m flowing XML data into an Indesign document, so I hope that this is actually trivial to you guys.

      Thanks in advance,
      Daniel

      PS: I feel bad for even posting this because it seems so figureoutable, but I have been struggling with it for a while now.

    • #115619
      David Blatner
      Keymaster

      There is nothing trivial or figureoutable (great word) about XML, especially when it comes to InDesign. I don’t have an answer for you, unfortunately, but I just want you to know that XML is designed primarily as a way to encourage more sales of ibuprofen and other headache medicines.

      One option: do a find/change after you place to clean it up.

    • #115645

      Haha that’s good to know, David! I just stacked up my medicine cabinet and I will now try to tackle it again :)

Viewing 2 reply threads
  • You must be logged in to reply to this topic.
>