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.

Featured Replies

  • Newbies

I am using Martin’s example that shows how XSLT can retrieve data from a password protected Filemaker database.

It works great and returns the XML data into a variable called xmltree.

My question is – how the heck can I transform this information into something that is formatted for display?

I have tried using the xsl:value-of select="fmrs:field[@name...", etc. But, the HTML returned contains no field data (though I can see it unstructured if I use “copy-of select=$xmltree”)

Even after many hours, I am still not able to crack this. Can anyone help?

Thanks,

George

Use

e.g. for the first record in $xmltree

Or if you need do loop through the records:

Or if you need to check if something went wrong when you called the data with document():o

Something went wrong! Error .

Do something else ...

  • Author
  • Newbies

Thanks so much, Martin.

The only thing I was missing was the [1] after fmrs:record. What does the [1] signify?

Thanks again for your help.

=George

The numbers in brackets specify the position. So record[1] would be the 1st record. BTW, XML is not zero-indexed like JavaScript (thankfully).

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.