Skip 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.

Stylesheet

Featured Replies

I am trying to create a stylesheet for an xml file. I have never done this before, so, I reduced the xml file down to one field to see if I could write the stylesheet. I am encountering one error message on the import and cannot figure out what it is. Can anyone help me? Thanks.

xml.zip

Well, you generally only get 1 error message, but unfortunately there were several smallish errors.

1. In the stylesheet tag, you should use the proper namespace URL for xsl.

2. You forgot the element (pretty important :)-)

3. The template match should likely be on the root "/", yours was on "csxmlfeed", which may be a file name, but has little to do with this.

4. While were on the subject of file names, you forgot the period before "xslt"

5. You can't just say:

because it doesn't take into account the root element,

works

Or you could use "/newsclip" as the template match (it would be in #3 above). But I tend to just use "/", and add the root element later.

6. You can get the value of the via just:

Because you've specified as the element which determines the FileMaker s (records), and you're already in the node at this point.

7. You had "xls:for-each", it should be "xsl:for-each" (xls is an Excel extension :-)

csl.xslt.zip

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.