XML Template issues
Learn / Forums / General InDesign Topics / XML Template issues
Tagged: indentation, template, XML
- This topic has 2 replies, 2 voices, and was last updated 5 years ago by Daniel Richter.
-
AuthorPosts
-
-
March 27, 2019 at 8:14 pm #115608Daniel RichterMember
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., USAIt 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., USADo 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,
DanielPS: I feel bad for even posting this because it seems so figureoutable, but I have been struggling with it for a while now.
-
March 28, 2019 at 7:07 am #115619David BlatnerKeymaster
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.
-
March 28, 2019 at 5:38 pm #115645Daniel RichterMember
Haha that’s good to know, David! I just stacked up my medicine cabinet and I will now try to tackle it again :)
-
-
AuthorPosts
- You must be logged in to reply to this topic.