Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Line break problem persists with FMP6.0v4


This topic is 7146 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

I'm relatively new to XML export from FMP, but I'm not able to control well the 0D or 0A characters I insert in the [text] output. When I request 0D;, I'll get the one 0D output as expected. When I request 0A, I'll get 3 characters output (0D-0D-0A). This is causing problems (too many blank lines) when I import the resulting [tagged] text into InDesign CS. [The 0A is important for one section to hold separate lines of a paragraph together as a unit in InDesign.]

I'm using WinXP, FMP 6.0v4.

With MacX everything works as expected (6.0v4 FMP).

[note: when I say 0D or 0A I mean an entity as #x0D or #x0A]

Any suggestions?

  • Newbies
Posted

The character insertion is during the transformation from FMP to a text file via my XSL. I then read the text file as hex in TextEdit. The workflow is to transform the FMP to text output for InDesign. InDesign plunks in a paragraph break when it encounters a Od and a forced line break when it encounters a 0a. So I see extra paragraph breaks after import when I use a Windows-only platform workflow.

On the Mac platform the text file that results from FMP transformed has single 0d and single 0a characters where I expect them (per my XSL file) as observed via a hex dump using BBedit. No extra 0d's exist as they do with Windows.

I've attached a sample of my XSL code, really excerpts of the overall file I'm using to export as InDesign tagged text.

Excerpt_XSL.txt

Posted

Hmmm. What data is in fmp:COL[16] ?

How do you control the number of recursions, what's the exit criterion?

You could export once the XML tree with the XSLT stylesheet and check the contents of your field fmp:COL[16]. I guess that you may have some carriage returns in it.

Could you also check the <xsl:output ... line in your XSLT?

This topic is 7146 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.