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.

indenting XML exported file

Featured Replies

  • Newbies

I have FMP 8.5 and I need to export records to XML to use in a Flash interface. It exports fine and everything, but the text is all jumbled together and not very readable. Is there a way to get it to indent properly? Right now I'm using some XML s/w called Oxygen and it has a button that does this, but I'm not sure it's worth buying just to format XML that is written by FMP. Is there another way?

If you're using an xsl stylesheet, and I imagine you are, there is an attribute to indent. It's a top-level tag, to use just after


  • Author
  • Newbies

I haven't delved into xsl stylesheets yet. Is there a quick/painless way to do this?

No, there is no quick way, and no painless way; not if you don't know xsl. Perhaps if you posted some files we could help. What we would need would be an exact raw XML export from FileMaker, of the fields you want, in FMPXMLRESULT grammar (the default choice). And also the exact XML you would need for Flash. And some way for us to know which fields went with which elements in Flash, if they are not named the same as the FileMaker fields.

Both of these should be xml text files, zipped, attached to a post. That seems to work better than trying to paste it here into a post. We may not absolutely need the FileMaker file, but that could be included also. If you're trying to get data from multiple tables, then the FileMaker file may be needed, as one has to decide which table to export from.

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.