Hi Martin,

> > Martin Honnen:
> > > It depends on the DOM implementation you use, if that is Mozilla 1.8
> > > respectively Firefox 1.5 then you have full support for the W3C DOM
> > > Level 3 XPath specification
> > >   <http://www.w3.org/TR/DOM-Level-3-XPath/>

> --- Cameron McCormack <[EMAIL PROTECTED]> wrote:

> > As does Batik SVN. 

Martin Honnen wrote:

> Does the Batik SVG viewer from Apache support the W3C DOM Level 3
> XPath API?

   Yes, but the DOM Level 3 support for Batik is only in SVN currently, 
it hasn't been put in an official release yet.

> Does it expose that to script (ECMAScript), implementing the ECMAScrit
> binding?

   Well, yes and no...

> Then there should be a method named evaluate on the document object
> but at least with Batik 1.6 the test case at
> <http://home.arcor.de/martin.honnen/svg/test2006013001.svg>
> does not find the method.

   This doesn't work because Batik currently doesn't wrap the 
JS function object into an 'XPathNSResolver' so the call fails. 
Since I don't really know these API's I don't know how 
fundamental the need to provide 'callback' functions is, I 
suspect that none will currently be supported in the ECMAScript 
binding.

> Or are you using Java with Batik and make use of the XPath support in
> Java 1.5 (which is not the DOM Level 3 XPath API but a different API)?

   No, this will run with Java versions >= 1.3




-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to