Off the top of my head, I don't totally remember if that's the best
way to get XML on the input link. I don't know if it helps, but I
think there's also a RHS function that does the same thing. If that's
an option you could do it in a setup production.
Otherwise, I'd suggest stilcking with the JavaScript scripting
support. It's the most baked and doesn't have any external
dependencies (jython, etc). For the most part, the code translation is
very straightforward. You can fully qualify a class name like this:
Packages.google.common.io.Files.toString(...)
or shorten things:
var gio = Packages.google.common.io;
gio.Files.toString(...);
None of the script interfaces really provides any more convenience of
the code you have though since they're WME support is focused on the
native data structures of the language, not yucky xml :)
Hope this helps,
Dave
> --
> You received this message because you are subscribed to the Google Groups
> "jsoar-user" group.
> To post to this group, send email to jsoar...@googlegroups.com.
> To unsubscribe from this group, send email to
> jsoar-user+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/jsoar-user?hl=en.