cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Lowery <Jeff.Low...@creo.com>
Subject RE: Python Generator example
Date Thu, 24 Apr 2003 17:03:08 GMT
Okay, I think I found where the 'hello.py' script is handled in the main
Cocoon sitemap:

 <map:match pattern="scripts/*">
    <map:generate src="docs/samples/scripts/{1}" type="script"/>
    <map:transform src="stylesheets/page/simple-page2html.xsl"/>
    <map:serialize type="html"/>
 </map:match>

It's still not clear to me, though, how the extension ".py" is mapped to the
Jython interpreter.  Is it a built-in extension? There is no language
mapping that I have found in the xmap files.


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message