Gary L Peskin <[EMAIL PROTECTED]> wrote:
> Like I said, I think the original parameter is saved off

Ah, right, I forgot about that.  Sorry, I didn't catch this in your
original message.

> Here's how it's a problem.  In my example stylesheet below, would the
> extension mechanism call Node.getNodeValue() which would be the correct
> thing to do or XNodeSet.getNodeValue() which doesn't exist.  How would
> it know which to call?

In either case, wouldn't the MethodResolver#convert/XObject.CLASS_NODESET
catch this and provide a DOM interface?  (Even if they passed XNodeSet as a
parameter).  The DOM should be the API for extensions for nodesets.  So the
answer to your question, I think, is the extension would call
Node#getNodeValue() in either case.

-scott

Reply via email to