Jump to content
Sign in to follow this  
dpmnyc

Using XSL file to format FMPro 9.0 Report

Recommended Posts

Hello and thank you in advance,

I am using FM 9.0 on a Mac.

I have been wrestling with a problem for a number of weeks and cannot figure out how to resolve what I think is a simple problem.

I am using a XSL file to format a FMPro report to output a fixed-width .txt file with a CR LF at the end of each record (one record per line). It seems as if it is working for the "Body" of the report, but not with the HEADER record. I know I am missing something simple as my experience with XML/XSL is EXTREMELY limited.

I have uploaded the XSL file (as text) and the calculation I am using for my report. I am sure there is a simple solution (I think it is something like I am not using the correct character in the XSL file to identify where the CRLF should go).

Any help is greatly appreciated!

Best,

dp

CALC.txt

XSL.txt

Edited by Guest

Share this post


Link to post
Share on other sites

It's not quite clear to me what you are doing, esp. why do you need a calculation, when it can be all done within the stylesheet.

I suggest you look at the fixed-width export stylesheet in Filemaker's examples, and here:

http://fmforums.com/forum/showpost.php?post/315596/

Share this post


Link to post
Share on other sites

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
Sign in to follow this  

×

Important Information

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