Using tohtml to translate &
Brian K. White
brian at aljex.com
Mon Jun 27 23:10:40 PDT 2011
On 6/24/2011 5:09 PM, Mike Schwartz wrote:
>>> I have to read some incoming XML files that are encoded with&,
>>> >, etcetera. filePro 5.0.14 doesn't have a "FROMHTML()" function
>> available.
>
> Ok, I *ALMOST* have the following edit working to un-unicode a field.
> I just have a problem with how to quote the< and> character:
I don't see any unicode anywhere in here.
> ununi °{ {!" "!} @ | !&!<&> | !<!<"<"> | !>!<"<"> | *}
>
> This string works OK for 1 or more "&" strings. It removes the
> "&", replaces it with an "&" and closes up the extra spaces.
>
> However, with a "test< test" string, it gives leaves me with a
> string looking like "test< test" and with "test> test" it gives me a
> syntax error.
>
> The following string seems to work:
>
> ununi °{ {!" "!} @ | !&!<&> | !<!<z> | !>!<q> | *}
>
> any suggestions?
--
bkw
More information about the Filepro-list
mailing list