xml-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Ruby" <ru...@nc.rr.com>
Subject Re: Is it possible to use server-side scripts with Cocoon?
Date Sun, 15 Oct 2000 19:11:48 GMT
Marek Peca wrote:

> <li> Is it possible to pass CGI-like script produced XML code to Cocoon
> XSLT mechanism? For example, to XSL transform an output of Perl prog?

If the language is callable from Java, it should be possible to write a
generator to do this.  One of the building blocks could be the Bean
Scripting Framework

> <li> Is it possible to do this with PHP output? I know PHP has some XSLT
> support, but it would be great to use Cocoon features.

I did write a generator to do this with Cocoon 2, but that code base has
been undergoing rapid development.  Now that it appears to be quieting down,
I need to go back and ensure that this still works.

> <li> Can I leave XML files untouched (not XSLTed) for certain user-agents,
> such as XML-capable browsers and XML indexing robots?

Depends on the browser.  See http://www.xslt.com/resources_browsers.htm for
more details.

> <li> Is it possible to explicitly request wanted XSLT style from an
> user-agent side? E.g. if the default style for newer JavaScripted graphic
> browsers is rich designed one, but user prefers to view textual-only page.

I'm not sure, but I think that this would depend on the particular server

By the way, I think a better place to ask these questions might be one of
the cocoon mailing lists.

View raw message