Re: FMPexperts Digest, Vol 113, Issue 23

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: FMPexperts Digest, Vol 113, Issue 23

Philip A. Femano, Ph.D.

Beverly and Richard.

Yes, Beverly, that xml export step does not produce the tags that are similar to what the original xml file contains. I tried it and it failed. I only need to update the data that’s already in an existing data file, which is what I based my own script on, but even though they “look” identical, the char codes differ.

Thanks, Richard, I’ll try the utliity table next...

- Phil.



From: BEVERLY VOTH <[hidden email]>
Subject: Re: XML and Unicode "OD" (carriage return)
Date: July 21, 2017 at 6:09:50 PM EDT
To: [hidden email]
Reply-To: [hidden email]


Update on that. The Script Step still has "problems", thus these articles:
(before 16 and several methods):
* https://filemakerhacks.com/2012/09/23/export-field-contents-as-utf-8/
(16 new function to "fix"):
* https://filemakerhacks.com/2017/05/09/export-field-contents-update-for-fm-16/
Beverly

> On Jul 21, 2017, at 5:28 PM, Karsten Wolf <[hidden email]> wrote:
>
> "Export Field Contents" exports a text field as UTF-16. See:
>
> https://fmhelp.filemaker.com/help/15/fmp/en/#page/FMP_Help%2Fexport-field-contents.html%23
>
> And there is always the "normal" way to produce XML: XML-export with a stylesheet.
>
>
> -karsten
>
>
>> Am 21.07.2017 um 22:36 schrieb Philip A. Femano <[hidden email]>:
>>
>> I need to script the building of a .xml file, but the resulting file keeps generating an error when I publish it, apparently because char(13) gets converted to “OB” instead of “OD” in the resulting xml file. How can Filemaker generate a true character “OD” within a script so that the xml file works properly? The standard paragraph operator doesn’t code properly either. Thanks!
>>
>> - Phil.
>> _______________________________________________
>> FMPexperts mailing list
>> [hidden email]
>> http://lists.ironclad.net.au/listinfo.cgi/fmpexperts-ironclad.net.au
>
> _______________________________________________
> FMPexperts mailing list
> [hidden email]
> http://lists.ironclad.net.au/listinfo.cgi/fmpexperts-ironclad.net.au




_______________________________________________
FMPexperts mailing list
[hidden email]
http://lists.ironclad.net.au/listinfo.cgi/fmpexperts-ironclad.net.au

_______________________________________________
FMPexperts mailing list
[hidden email]
http://lists.ironclad.net.au/listinfo.cgi/fmpexperts-ironclad.net.au
Loading...