On Jan 14, 5:28 am, "zohar" <[email protected]> wrote: > Hello, > I'm using Java 6's scripting ability. I understand it has Mozilla Rhino:1.6 > release 2 already "built in". > I want to use xpath evaluation on DOM documents. Does Rhino 1.6 support > xpath? If not, does a newer version support it? If so, how can I upgrade? > > Thanks, > Zohar.
The version of Rhino bundled with the JDK has XML support stripped out. You have a couple of options. You can download Rhino and use the Rhino API directly, or you could download Rhino and use the scripting API directly to work with Rhino: see https://bugzilla.mozilla.org/show_bug.cgi?id=379385 for a description of the approach (I have not attempted it). --Norris _______________________________________________ dev-tech-js-engine-rhino mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-js-engine-rhino
