Skip to main content
Urban L
Known Participant
November 17, 2015
Answered

including carriage return with XML table data

  • November 17, 2015
  • 1 reply
  • 1576 views

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 &#8629; and <br/>in the text, but that didn't do what I hoped it might.

Any suggestions?

Thanks!

This topic has been closed for replies.
Correct answer Roland Dreger

Hello Urban, try this:

&#x0d;

Roland

1 reply

Inspiring
November 17, 2015

I use:

"\u000D" - Carriage return

"\u000A" - Line feed

Brett

Urban L
Urban LAuthor
Known Participant
November 17, 2015

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

Roland DregerCorrect answer
Inspiring
November 17, 2015

Hello Urban, try this:

&#x0d;

Roland