James Strachan wrote:

[snip]

though I'm
still having an issue with variables set in the body's script not being
visible to the parent script.



One thing I missed off is the context should be passed into the XMLParser. So

   XMLParser parser = new XMLParser();
   parser.setContext(context);
   ...

should do the trick?

BTW have you also got a JDOM tag library? If so do you fancy submitting it
for inclusion in the Jelly project?

James
-------
http://radio.weblogs.com/0112098/
[snip]

It doesn't seem to, but I'm still investigating, it might well be something I'm doing that's wonky.
One question, should the script need to be compiled before it's run?


As far as a JDOM tag lib, I've got an extremly simple tag that fires sax events down the XMLOutput chain. I've no problem submitting it, should you want to use it for a building block for any further support. I can easily add support for rendering a Document instead and setting in into a var.


- Sean


- Sean

Reply via email to