Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7555 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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

Posted

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.

Posted

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?)

Posted

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

This topic is 7555 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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