commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Strachan" <james_strac...@yahoo.co.uk>
Subject Re: [jelly] How does context inheritance work?
Date Mon, 13 Jan 2003 16:21:56 GMT
From: "Thomas Nichols" <nx10mail@yahoo.co.uk>
> Hi James,
> 
> > > This is all driven using a modified EmbeddedJelly.java,
> 
> I'd love to see some standard "runners" as Paul suggests, using 
> EmbeddedJelly involved copy&paste and is therefore clearly loathsome and 
> abhorrent to mankind.

How about just using JellyContext?

Writer someWriter = new FileWriter( "output.xml" );
XMLOutput output = XMLOutput.createXMLOutput( someWriter );

JellyContext context = new JellyContext();
context.runScript( "foo.jelly", output );

James
-------
http://radio.weblogs.com/0112098/
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

Mime
View raw message