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.

Exporting XML Data

Featured Replies

Is it possible to use an external schema when exporting data from filemaker in xml type.

At the moment I use this command 'fmpro?-db=dbase.fp5&-format=-dso_xml_dtd&-find'

The data needs to be exported using a certain schema - is this possible?

TIA

  • 1 month later...
  • Newbies

iain,

I'm working on a project that sounds similar to yours. I submit information to the FM db over the web using HTML forms. What I get back is XML. Now, take this next bit of advice with the warning that I'm learning this as I go. The XML response from the FM web companion server needs to be formatted with XSL or XSLT. To this point, I have been receiving the raw XML response and interpreting the error codes. I am just now getting down to teaching myself XSL/XSLT. But from what I've read, it seems the way to go. -RM

Hi,

Do you know a way to export data from FileMaker in order to create an XML file?

Many thanks, Guy

  • 2 weeks later...

My answer assumes you have a Schema or DTD from which you can create your header.

You can use FMP to Export XML.

1. You need to setup a header(see the DTD or schema to get the right format) in a global field and a footer in another.

2. Create a field to hold you data. Create 2 dummy records and paste the header in you data field of one and the footer in the data field of the other.

3. Set up a calc in each record that displays your data in XML format and put it in the data field

To display a field called idNumber:

"<idNumber>"&idNumber&"</idNumber>"

4. Sort your database so the header goes to the top and the footer goes to the bottom and then export as cvs.

It worked great for my database. Let me know if have not explained it clearly.

Thanks,

Graham

[ February 12, 2002, 07:18 AM: Message edited by: spragueg ]

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.