Subj : Re: constructing XML properties for host object To : netscape.public.mozilla.jseng From : andrei Date : Thu Dec 30 2004 11:46 am On a similar note. To get Node object out of XML property ScriptableObject xml = (ScriptableObject)this.get( "xml", this ); Function getXmlObject = (Function)xml.getPrototype().get( "getXmlObject", xml ); Object xmlObject = getXmlObject.call( cx, this, xml, new Object[0]); org.w3c.dom.Node node = ((XmlObject)((NativeJavaObject)xmlObject).unwrap()).getDomNode(); Is it right? Andrei .