Removing extra codes

From: Hal Vaughan (hal@thresholddigital.com)
Date: Sun Nov 17 2002 - 23:50:06 EST

  • Next message: Mark Gilbert: "Re: 2 quick questions"

    I'm using AbiWord in an unusual way. I use it to convert .doc files from
    clients into AbiWord's XML, so I can manipulate the files with a short Perl
    mailmerge script. (For example, I define fields with markings like:
    [#FirstName#], then I use the Perl script to search and replace the fields
    with the merge data.)

    Everything has been working perfectly until recently. Now I'm finding
    extraneous formatting codes that show up in the middle of my merge fields,
    for instance, in the sample above, I might find that </c><c {other format
    data}> has somehow crept in between two letters in the merge field. I figure
    this has happened because I (or my client, working with a Word file)
    accidently highlighted half the word when making a formatting change.

    These fields do not have a format change in the middle of the text. Any
    formatting codes that have crept in seem to be repitition or restatement of
    the currently valid formatting conditions.

    Is there any way I can use to remove these extra codes?

    Thanks!

    Hal
    -----------------------------------------------
    To unsubscribe from this list, send a message to
    abiword-user-request@abisource.com with the word
    unsubscribe in the message body.



    This archive was generated by hypermail 2.1.4 : Sun Nov 17 2002 - 23:51:38 EST