5

I'm going to design a fairly large festival programme and wish to make use of XML to ease the process.

But I need to be able to make column break after each entry, and also add spacing after certain XML tags.

I know how to make the XML tags connect to specific styles. But there seems to be no option other than Search and Find as to adding invisible characters.

I used the method of search and replace styles last year and the big drawback is that once you have done it, there is no going back – if you were to find out you did a mistake. Which is why I want to make use of XML to be able to make alterations to the structure afterwards.

Has anyone got any experience in this matter?

5
  • Also - it would be gret to be able to add labels to specific elements? Is that possible? Feb 2, 2015 at 11:01
  • 1
    You can use regular expressions (GREP) in find/replace. Would that help you?
    – Voxwoman
    Feb 2, 2015 at 13:51
  • also if you save your work under a different name before you do your destructive search/replace, you will be able to "go back" if you discover you made a mistake.
    – Voxwoman
    Feb 2, 2015 at 13:53
  • That's the method I've been using so far. But I was hoping to find a way for the authors to correct spelling and grammar mistake and so forth using the xml file instead of me doing the tedious work in indesign. Feb 2, 2015 at 15:48
  • Are grep styles useful here?
    – Wildcard
    Jun 22, 2017 at 16:52

1 Answer 1

1

But I need to be able to make column break after each entry, and also add spacing after certain XML tags.

"Column Break" can be set in the Keep Options, and Space After in the Indents and Spacing section of the paragraph styles assigned to these tags.

3
  • But it is not possible to add an line-break after the first as such though, right? The "line break" needs to be part of the xml-doc in the first place as far as I can tell. Maybe if I make the stucture as an template, and add the breaks and labels I want for an entry? I gonna try this out. Feb 2, 2015 at 15:54
  • Problem is - what if certain tags are empty. The labels would still be represented. Hmm. Probably needs some scripting skills. Feb 2, 2015 at 15:54
  • @Jakob You can choose when you import the XML whether or not to include empty tags. Sep 30, 2015 at 19:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.