Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

AppleScript causing FMP XML output errors

Featured Replies

  • Newbies

Hi all:

I have an AppleScript that pulls data from a Canto Cumulus db and transfers it to a FMP 6.0 db. I am then using PHP and a class called FX to query the FMP db and display the results through a web browsers. (FX queries the FMP db, gets the results and parses the XML and then returns it to PHP in a multidimensional array - very cool). When I query a hand coded db it works fine, when I query a db that was created with AppleScript I get an XML error - invalid token.

I don't think it is the db per say because I took the one that was giving me the error, purged it off all records created by AppleScript, added a new record, queried it from my web page and it worked fine.

My Mac Tech guy thought it might have to do with AS not properly closing the db file - you know how when you write to a file using AS you also have to close that file. Any help would be appreciated.

Thanks

  • 2 weeks later...

I believe this being rather a problem with invisible characters in the data.

btw, how do you create a db with applescript?

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.