Copy link to clipboard
Copied
I'm inserting some data using XML into a table in an InDesign frame.
As part of the text, I'd like to put some carriage returns so that the text has a line break where I'd like it rather than have InDesign do its best guess as to how to split up the lines.
I've tried putting ↵ and <br/>in the text, but that didn't do what I hoped it might.
Any suggestions?
Thanks!
Hello Urban, try this:

Roland
Copy link to clipboard
Copied
I use:
"\u000D" - Carriage return
"\u000A" - Line feed
Brett
Copy link to clipboard
Copied
Thanks for the suggestion.
I put it in, but the InDesign table after I imported the XML just came back with those codes as text.
Here's my tag pair:
<TableTitleText aid:table="cell" aid:ccolwidth= "477">Would you say \u000D\u000Ayou get this moderate physical activity at work or outside work?</TableTitleText>
Is there some other way I need to enter that (or some other) code?
Thanks again.
Urban
Copy link to clipboard
Copied
Hello Urban, try this:

Roland
Copy link to clipboard
Copied
Roland: Thank you SO MUCH. It works just like how I want it to.
I never saw that code documented anywhere. How do you figure that out?
Copy link to clipboard
Copied
urbanl28974291 wrote:
Roland: Thank you SO MUCH. It works just like how I want it to.
I never saw that code documented anywhere. How do you figure that out?
That's standard XML encoding. You can also use I'm not sure about or 

Copy link to clipboard
Copied
That's weird, I haven't had an issue with this myself... lucky Roland came to the rescue!