Mariusz Posted March 17, 2004 Posted March 17, 2004 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
Mariusz Posted March 18, 2004 Author Posted March 18, 2004 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
Fenton Posted March 18, 2004 Posted March 18, 2004 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.
Fenton Posted March 18, 2004 Posted March 18, 2004 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?)
Mariusz Posted March 18, 2004 Author Posted March 18, 2004 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now