Hi,

I have been asked to pick up a project started by a colleague who has gone swanning of on holiday for a week.

Basically he is using Perl to create a summary of an XML document and output it in RTF format. He is using XSL and Sablotron to generate the RTF. All his code has been done and tested on windows.

The XML repository is on a Linux server, when I have done a batch of RTF's they look ok when you view the source, but appear without formatting when you open them in Word, but the examples built on his Windows machine look OK

Methinks it must be a compatability issue twixt Linux and Windows \n's and the like???? When I view my versions and his in a text editor they look identical.

Anybody got any quick advice, it would be greatly appreciated. I know it's not a 100% Perl question but if theres some sort of file conversion I can do

Stew

In reply to Windows incompatability problems by stew

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.