I think Brenda K Hamilton wrote:
> The call to nodetype should return an integer and ELEMENT_NODE is a
> short.  I thought the '=' would be correct.


Ah. In Jess, org.w3c.node.Node.ELEMENT_NODE is just a symbol (an "ATOM",
as the error message says.) You want the ELEMENT_NODE member of the
org.w3c.node.Node class, which you can write as

(get-member org.w3c.node.Node ELEMENT_NODE)

You can use (import) to make that class name shorter, of course.



---------------------------------------------------------
Ernest Friedman-Hill  
Science and Engineering PSEs        Phone: (925) 294-2154
Sandia National Labs                FAX:   (925) 294-2234
PO Box 969, MS 9012                 [EMAIL PROTECTED]
Livermore, CA 94550         http://herzberg.ca.sandia.gov

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to