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.

XSL newbie question?

Featured Replies

I am unable to generate a html output using a stylesheet with the following request .../fmpro?-db=XML&-lay=web&-format=-dso_xml&-styletype=text/xsl&-stylehref=new.xsl&-findall.

However, using the export as XML option in FMP with the same stylesheet, generates the correct output.

Please guide me.

Mariusz

Version: v6.x

Platform: Mac OS X Jaguar

  • Author

I would like to add, that when I 'view source' of the result returned to the browser, whats returned is XML document with the stylesheet instruction.

Thanks

It is probably that Mac Browsers in general don't have great support for rendering XML. They just show you the code in source view.

But I wouldn't bother with them. Download this free program, TestXSLT:

http://www.versiontracker.com/dyn/moreinfo/macosx/9892&mode=feedback

The guy is a genius. Not only can it transform XML with XSL, it can render it using the Safari web core, as a web page.

If you have BBEdit you can tie into your open XML and XSL documents, updating as you edit. Which is good, 'cause TestXSLT is a transformation tool, not a XML editor. It has no color syntax support.

Oops, I forgot that you're trying to render from Web Companion. My suggestion would only work if you wanted to test your XSL stylesheet, using an exported XML file from FileMaker. I don't know whether an OS X browser can render from WC. Maybe Mozilla? Anyone know the answer to this obvious question?

(I used to be able to do this with I.E. in OS 9. But only really simple XSL, no real template support. But in OS X, on a stand-alone computer, even simple XSL will crash. Probably works if you have server, but how do you test?)

  • Author

Thanks for reply Fenton,

I've tried sending a request from a PC browser(if thats what you ment), and received the same result.

Mariusz

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.